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