1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 13:12:50 +01:00

PayFast API token billing

This commit is contained in:
David Bomba 2021-09-23 18:09:06 +10:00
parent 86b88114f8
commit 2869ee2590

View File

@ -93,11 +93,10 @@ class Token
// $header['signature'] = md5( $this->generate_parameter_string(array_merge($header, $body), false) );
// $result = $this->send($header, $body, $cgt->token);
$api = new \PayFast\PayFastPayment(
$api = new \PayFast\PayFastApi(
[
'merchantId' => $this->payfast->company_gateway->getConfigField('merchantId'),
'passPhrase' => $this->payfast->company_gateway->getConfigField('passPhrase'),
'merchantKey' => $this->payfast->company_gateway->getConfigField('merchantKey'),
'testMode' => $this->payfast->company_gateway->getConfigField('testMode')
]
);