1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-13 06:32:40 +01:00

Fixes for base driver

This commit is contained in:
David Bomba 2021-07-05 14:29:38 +10:00
parent 812b2450ee
commit a6494a68c2

View File

@ -188,7 +188,7 @@ class PayFastPaymentDriver extends BaseDriver
public function processWebhookRequest(Request $request, Payment $payment = null) public function processWebhookRequest(Request $request, Payment $payment = null)
{ {
$this->init(); // $this->init();
nlog($request->all()); nlog($request->all());
$data = $request->all(); $data = $request->all();
@ -201,7 +201,7 @@ class PayFastPaymentDriver extends BaseDriver
if($hash == 'cc_auth') if($hash == 'cc_auth')
{ {
return $this->setPaymentMethod(GatewayType::CREDIT_CARD) return $this->setPaymentMethod(GatewayType::CREDIT_CARD)
->authorizeResponse($request); ->authorizeResponse($request);
} }
} }