mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-24 02:14:21 -04:00
Clean up
This commit is contained in:
parent
2f7e01c5a4
commit
9eaa136cc3
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user