From 9eaa136cc36f7fd556c2a5ecd972e49d92d72ffe Mon Sep 17 00:00:00 2001 From: David Bomba Date: Fri, 11 Sep 2020 10:14:51 +1000 Subject: [PATCH] Clean up --- app/PaymentDrivers/CheckoutComPaymentDriver.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/PaymentDrivers/CheckoutComPaymentDriver.php b/app/PaymentDrivers/CheckoutComPaymentDriver.php index 7893318e54..0f1deac573 100644 --- a/app/PaymentDrivers/CheckoutComPaymentDriver.php +++ b/app/PaymentDrivers/CheckoutComPaymentDriver.php @@ -182,12 +182,14 @@ class CheckoutComPaymentDriver extends BaseDriver $state['payment_response'] = $response; if ($response->status === 'Authorized') { + $this->confirmGatewayFee($request); return $this->processSuccessfulPayment($state); } if ($response->status === 'Pending') { + $this->confirmGatewayFee($request); return $this->processPendingPayment($state);