From d4a99ad64a3662301b60f6139661498e6ccc53ab Mon Sep 17 00:00:00 2001 From: Lars Kusch Date: Fri, 16 Dec 2022 14:48:33 +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 f315850d43fc..433acbf431b2 100644 --- a/app/PaymentDrivers/Stripe/BACS.php +++ b/app/PaymentDrivers/Stripe/BACS.php @@ -21,6 +21,7 @@ use App\Models\PaymentType; use App\Models\SystemLog; use App\PaymentDrivers\StripePaymentDriver; use App\PaymentDrivers\Stripe\Jobs\UpdateCustomer; +use Stripe\Checkout\Session; use Stripe\PaymentIntent; use Stripe\PaymentMethod; use App\Utils\Number; @@ -37,7 +38,7 @@ class BACS public function authorizeView(array $data) { $customer = $this->stripe->findOrCreateCustomer(); - $session = $this->stripe->Checkout->Session::create([ + $session = Session::create([ 'payment_method_types' => ['bacs_debit'], 'mode' => 'setup', 'customer' => $customer->id,