mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 21:22:58 +01: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…
Reference in New Issue
Block a user