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:
parent
86b88114f8
commit
2869ee2590
@ -93,11 +93,10 @@ class Token
|
|||||||
// $header['signature'] = md5( $this->generate_parameter_string(array_merge($header, $body), false) );
|
// $header['signature'] = md5( $this->generate_parameter_string(array_merge($header, $body), false) );
|
||||||
|
|
||||||
// $result = $this->send($header, $body, $cgt->token);
|
// $result = $this->send($header, $body, $cgt->token);
|
||||||
$api = new \PayFast\PayFastPayment(
|
$api = new \PayFast\PayFastApi(
|
||||||
[
|
[
|
||||||
'merchantId' => $this->payfast->company_gateway->getConfigField('merchantId'),
|
'merchantId' => $this->payfast->company_gateway->getConfigField('merchantId'),
|
||||||
'passPhrase' => $this->payfast->company_gateway->getConfigField('passPhrase'),
|
'passPhrase' => $this->payfast->company_gateway->getConfigField('passPhrase'),
|
||||||
'merchantKey' => $this->payfast->company_gateway->getConfigField('merchantKey'),
|
|
||||||
'testMode' => $this->payfast->company_gateway->getConfigField('testMode')
|
'testMode' => $this->payfast->company_gateway->getConfigField('testMode')
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user