diff --git a/includes/abstracts/abstract-wc-stripe-payment-gateway.php b/includes/abstracts/abstract-wc-stripe-payment-gateway.php index 4715f1231..12c0e80f9 100644 --- a/includes/abstracts/abstract-wc-stripe-payment-gateway.php +++ b/includes/abstracts/abstract-wc-stripe-payment-gateway.php @@ -481,8 +481,9 @@ public function generate_payment_request( $order, $prepared_payment_method ) { $metadata = [ __( 'customer_name', 'woocommerce-gateway-stripe' ) => sanitize_text_field( $billing_first_name ) . ' ' . sanitize_text_field( $billing_last_name ), __( 'customer_email', 'woocommerce-gateway-stripe' ) => sanitize_email( $billing_email ), - 'order_id' => $order->get_order_number(), - 'site_url' => esc_url( get_site_url() ), + 'order_id' => $order->get_order_number(), + 'site_url' => esc_url( get_site_url() ), + 'signature' => $this->get_order_signature( $order ), ]; if ( $this->has_subscription( $order->get_id() ) ) {