mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-03 03:34:34 -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;
|
$state['payment_response'] = $response;
|
||||||
|
|
||||||
if ($response->status === 'Authorized') {
|
if ($response->status === 'Authorized') {
|
||||||
|
|
||||||
$this->confirmGatewayFee($request);
|
$this->confirmGatewayFee($request);
|
||||||
|
|
||||||
return $this->processSuccessfulPayment($state);
|
return $this->processSuccessfulPayment($state);
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($response->status === 'Pending') {
|
if ($response->status === 'Pending') {
|
||||||
|
|
||||||
$this->confirmGatewayFee($request);
|
$this->confirmGatewayFee($request);
|
||||||
|
|
||||||
return $this->processPendingPayment($state);
|
return $this->processPendingPayment($state);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user