PayFast API token billing
This commit is contained in:
parent
86b88114f8
commit
2869ee2590
1 changed files with 1 additions and 2 deletions
|
|
@ -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')
|
||||
]
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue