mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Turning on token billing for PayFast
This commit is contained in:
parent
a183df8090
commit
a1b19b46d6
@ -84,6 +84,9 @@ class Token
|
|||||||
];
|
];
|
||||||
|
|
||||||
$body = [
|
$body = [
|
||||||
|
'merchant_id' => $this->payfast->company_gateway->getConfigField('merchantId'),
|
||||||
|
'merchant_key' => $this->company_gateway->getConfigField('merchantKey'),
|
||||||
|
'passphrase' => $this->payfast->cpayfast->ompany_gateway->getConfigField('passPhrase'),
|
||||||
'amount' => $amount,
|
'amount' => $amount,
|
||||||
'item_name' => 'purchase',
|
'item_name' => 'purchase',
|
||||||
'm_payment_id' => $payment_hash->hash,
|
'm_payment_id' => $payment_hash->hash,
|
||||||
@ -91,8 +94,8 @@ class Token
|
|||||||
// 'passphrase' => $this->payfast->company_gateway->getConfigField('passphrase'),
|
// 'passphrase' => $this->payfast->company_gateway->getConfigField('passphrase'),
|
||||||
];
|
];
|
||||||
|
|
||||||
// $header['signature'] = $this->payfast->generateSignature($body);
|
$header['signature'] = $this->payfast->generateSignature($body);
|
||||||
$header['signature'] = $this->genSig($body);
|
//$header['signature'] = $this->genSig($body);
|
||||||
|
|
||||||
nlog($this->payfast->company_gateway->getConfigField('merchantId'));
|
nlog($this->payfast->company_gateway->getConfigField('merchantId'));
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user