From d21144f64b890f302c7b2a10ac628d905c9b0302 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Sun, 27 Nov 2022 10:47:59 +1100 Subject: [PATCH] minor fixes for type checks --- app/PaymentDrivers/Stripe/SEPA.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/PaymentDrivers/Stripe/SEPA.php b/app/PaymentDrivers/Stripe/SEPA.php index c002d08f1f9d..0b817b8146ae 100644 --- a/app/PaymentDrivers/Stripe/SEPA.php +++ b/app/PaymentDrivers/Stripe/SEPA.php @@ -84,7 +84,7 @@ class SEPA $this->stripe->payment_hash->data = array_merge((array) $this->stripe->payment_hash->data, $request->all()); $this->stripe->payment_hash->save(); - if (property_exists($gateway_response, 'status') && ($gateway_response->status == 'processing' || $gateway_response->status === 'succeeded')) { + if (property_exists($gateway_response, 'status') && ($gateway_response->status == 'processing' || $gateway_response->status == 'succeeded')) { if ($request->store_card) { $this->storePaymentMethod($gateway_response); }