mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-03 04:44:33 -04:00
Turning on token billing for PayFast
This commit is contained in:
parent
307dbdcb07
commit
c9bb97f4d0
@ -87,11 +87,11 @@ class Token
|
||||
'amount' => $amount,
|
||||
'item_name' => 'purchase',
|
||||
'm_payment_id' => $payment_hash->hash,
|
||||
'passphrase' => $this->payfast->company_gateway->getConfigField('passphrase'),
|
||||
'item_description' => ctrans('texts.invoices') . ': ' . collect($payment_hash->invoices())->pluck('invoice_number'),
|
||||
'passphrase' => $this->payfast->company_gateway->getConfigField('passphrase'),
|
||||
];
|
||||
|
||||
$header['signature'] = $this->payfast->generateSignature(array_merge($header, $body));
|
||||
$header['signature'] = $this->payfast->generateSignature($body);
|
||||
// $header['signature'] = $this->genSig($body);
|
||||
|
||||
nlog($this->payfast->company_gateway->getConfigField('merchantId'));
|
||||
|
@ -134,7 +134,7 @@ class PayFastPaymentDriver extends BaseDriver
|
||||
/**
|
||||
* Transaction Details
|
||||
*/
|
||||
'm_payment_id', 'amount', 'item_name', 'item_description',
|
||||
'amount', 'item_name', 'm_payment_id', 'item_description',
|
||||
/**
|
||||
* Custom return data
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user