Clean up
This commit is contained in:
parent
2f7e01c5a4
commit
9eaa136cc3
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Reference in a new issue