From 6c2ab8fff51b8421882f4697353f0b2e63c7bc6e Mon Sep 17 00:00:00 2001 From: David Bomba Date: Tue, 12 Sep 2023 10:30:42 +1000 Subject: [PATCH] Set Client on webhook return Checkout.com --- app/PaymentDrivers/CheckoutComPaymentDriver.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/PaymentDrivers/CheckoutComPaymentDriver.php b/app/PaymentDrivers/CheckoutComPaymentDriver.php index a4ca85e95032..103220c63d6d 100644 --- a/app/PaymentDrivers/CheckoutComPaymentDriver.php +++ b/app/PaymentDrivers/CheckoutComPaymentDriver.php @@ -447,6 +447,7 @@ class CheckoutComPaymentDriver extends BaseDriver //11-08-2022 check the user is authenticated if (!Auth::guard('contact')->check()) { $client = $request->getClient(); + $this->client = $client; auth()->guard('contact')->loginUsingId($client->contacts()->first()->id, true); }