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:
parent
812b2450ee
commit
a6494a68c2
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user