diff --git a/app/PaymentDrivers/CheckoutComPaymentDriver.php b/app/PaymentDrivers/CheckoutComPaymentDriver.php index 7893318e545e..0f1deac57357 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);