Turning on token billing for PayFast
This commit is contained in:
parent
2d06fa200c
commit
70e08cf3f9
|
|
@ -89,13 +89,13 @@ class Token
|
|||
'amount' => $amount,
|
||||
'item_name' => 'purchase',
|
||||
'm_payment_id' => $payment_hash->hash,
|
||||
'passphrase' => $this->payfast->company_gateway->getConfigField('passphrase'),
|
||||
];
|
||||
|
||||
$header['signature'] = $this->genSig(array_merge($header, $body));
|
||||
|
||||
$body = array_merge($body,[
|
||||
'item_description' => ctrans('texts.invoices') . ': ' . collect($payment_hash->invoices())->pluck('invoice_number'),
|
||||
'passphrase' => $this->payfast->company_gateway->getConfigField('passphrase'),
|
||||
]);
|
||||
|
||||
nlog($header['signature']);
|
||||
|
|
|
|||
Loading…
Reference in New Issue