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);