1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 21:22:58 +01:00
This commit is contained in:
David Bomba 2020-09-11 10:14:51 +10:00
parent 2f7e01c5a4
commit 9eaa136cc3

View File

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