Completed
Pull Request — master (#1211)
by Dwain
02:25
created
includes/class-wc-gateway-stripe.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -895,7 +895,7 @@
 block discarded – undo
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(
Please login to merge, or discard this patch.
includes/abstracts/abstract-wc-stripe-payment-gateway.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -163,7 +163,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
includes/payment-methods/class-wc-stripe-payment-request.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -123,10 +123,10 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.