@@ -895,7 +895,7 @@ |
||
895 | 895 | } |
896 | 896 | |
897 | 897 | if ( 'requires_payment_method' === $intent->status && isset( $intent->last_payment_error ) |
898 | - && 'authentication_required' === $intent->last_payment_error->code ) { |
|
898 | + && 'authentication_required' === $intent->last_payment_error->code ) { |
|
899 | 899 | $level3_data = $this->get_level3_data_from_order( $order ); |
900 | 900 | $intent = WC_Stripe_API::request_with_level3_data( |
901 | 901 | array( |
@@ -163,7 +163,7 @@ |
||
163 | 163 | && preg_match( '/^[rs]k_test_/', $this->secret_key ); |
164 | 164 | } else { |
165 | 165 | return preg_match( '/^pk_live_/', $this->publishable_key ) |
166 | - && preg_match( '/^[rs]k_live_/', $this->secret_key ); |
|
166 | + && preg_match( '/^[rs]k_live_/', $this->secret_key ); |
|
167 | 167 | } |
168 | 168 | } |
169 | 169 |
@@ -123,10 +123,10 @@ |
||
123 | 123 | // in includes/abstracts/abstract-wc-stripe-payment-gateway.php |
124 | 124 | if ( $this->testmode ) { |
125 | 125 | return preg_match( '/^pk_test_/', $this->publishable_key ) |
126 | - && preg_match( '/^[rs]k_test_/', $this->secret_key ); |
|
126 | + && preg_match( '/^[rs]k_test_/', $this->secret_key ); |
|
127 | 127 | } else { |
128 | 128 | return preg_match( '/^pk_live_/', $this->publishable_key ) |
129 | - && preg_match( '/^[rs]k_live_/', $this->secret_key ); |
|
129 | + && preg_match( '/^[rs]k_live_/', $this->secret_key ); |
|
130 | 130 | } |
131 | 131 | } |
132 | 132 |