Completed
Pull Request — master (#1365)
by
unknown
01:49
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.
includes/class-wc-stripe-apple-pay-registration.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -328,8 +328,11 @@
 block discarded – undo
328 328
 		<div class="error stripe-apple-pay-message">
329 329
 			<?php if ( $empty_notice ) : ?>
330 330
 				<p><?php echo esc_html( $verification_failed_without_error ); ?></p>
331
-			<?php else : ?>
332
-				<p><?php echo esc_html( $verification_failed_with_error ); ?></p>
331
+			<?php else {
332
+	: ?>
333
+				<p><?php echo esc_html( $verification_failed_with_error );
334
+}
335
+?></p>
333 336
 				<p><i><?php echo wp_kses( make_clickable( esc_html( $this->apple_pay_verify_notice ) ), $allowed_html ); ?></i></p>
334 337
 			<?php endif; ?>
335 338
 			<p><?php echo $check_log_text; ?></p>
Please login to merge, or discard this patch.