From f9434c8cc10b55c89a552e3cabd82f2ea77c7982 Mon Sep 17 00:00:00 2001 From: Lars Kusch Date: Fri, 16 Dec 2022 14:52:45 +0100 Subject: [PATCH] Minor fixes --- app/PaymentDrivers/Stripe/BACS.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/PaymentDrivers/Stripe/BACS.php b/app/PaymentDrivers/Stripe/BACS.php index 433acbf431b2..b51fe4e75357 100644 --- a/app/PaymentDrivers/Stripe/BACS.php +++ b/app/PaymentDrivers/Stripe/BACS.php @@ -52,7 +52,6 @@ class BACS { return route('client.payments.response', [ 'company_gateway_id' => $this->stripe->company_gateway->id, - 'payment_hash' => $this->stripe->payment_hash->hash, 'payment_method_id' => GatewayType::BACS, ]); } @@ -61,6 +60,8 @@ class BACS { $this->stripe->init(); + $customer = $this->stripe->findOrCreateCustomer(); + $stripe_response = json_decode($request->input('gateway_response')); $stripe_method = $this->stripe->getStripePaymentMethod($stripe_response->payment_method);