Minor fixes for Payfast
This commit is contained in:
parent
fd136a93ab
commit
f5c927db1a
1 changed files with 3 additions and 1 deletions
|
|
@ -85,7 +85,7 @@ class PayFastPaymentDriver extends BaseDriver
|
|||
} catch(Exception $e) {
|
||||
|
||||
echo '##PAYFAST## There was an exception: '.$e->getMessage();
|
||||
|
||||
|
||||
}
|
||||
|
||||
return $this;
|
||||
|
|
@ -125,6 +125,8 @@ class PayFastPaymentDriver extends BaseDriver
|
|||
|
||||
public function tokenBilling(ClientGatewayToken $cgt, PaymentHash $payment_hash)
|
||||
{
|
||||
$this->init();
|
||||
|
||||
return (new Token($this))->tokenBilling($cgt, $payment_hash);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue