Payment response

This commit is contained in:
David Bomba 2021-07-05 20:47:59 +10:00
parent 552afe3374
commit 1dd4f1e379

View File

@ -199,13 +199,13 @@ class PayFastPaymentDriver extends BaseDriver
{
case 'cc_auth':
return $this->setPaymentMethod(GatewayType::CREDIT_CARD)
->authorizeResponse($request);
->authorizeResponse($request);
break;
default:
// code...
//
//otherwise we processs a payment response here
return $this->setPaymentMethod(GatewayType::CREDIT_CARD)
->processPaymentResponse($request);
break;
}