Completed
Pull Request — master (#1042)
by Radoslav
02:32
created
includes/class-wc-stripe-webhook-handler.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@
 block discarded – undo
83 83
 	 * @version 4.0.0
84 84
 	 * @param string $request_headers The request headers from Stripe.
85 85
 	 * @param string $request_body The request body from Stripe.
86
-	 * @return bool
86
+	 * @return null|boolean
87 87
 	 */
88 88
 	public function is_valid_request( $request_headers = null, $request_body = null ) {
89 89
 		if ( null === $request_headers || null === $request_body ) {
Please login to merge, or discard this patch.
includes/class-wc-gateway-stripe.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -884,7 +884,7 @@
 block discarded – undo
884 884
 		}
885 885
 
886 886
 		if ( 'requires_payment_method' === $intent->status && isset( $intent->last_payment_error )
887
-		     && 'authentication_required' === $intent->last_payment_error->code ) {
887
+			 && 'authentication_required' === $intent->last_payment_error->code ) {
888 888
 			$intent = WC_Stripe_API::request( array(
889 889
 				'payment_method' => $intent->last_payment_error->source->id,
890 890
 			), 'payment_intents/' . $intent->id . '/confirm' );
Please login to merge, or discard this patch.