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
c9bb97f4d0
commit
a183df8090
@ -87,12 +87,12 @@ class Token
|
|||||||
'amount' => $amount,
|
'amount' => $amount,
|
||||||
'item_name' => 'purchase',
|
'item_name' => 'purchase',
|
||||||
'm_payment_id' => $payment_hash->hash,
|
'm_payment_id' => $payment_hash->hash,
|
||||||
'item_description' => ctrans('texts.invoices') . ': ' . collect($payment_hash->invoices())->pluck('invoice_number'),
|
// 'item_description' => ctrans('texts.invoices') . ': ' . collect($payment_hash->invoices())->pluck('invoice_number'),
|
||||||
'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'));
|
||||||
|
|
||||||
|
@ -134,7 +134,7 @@ class PayFastPaymentDriver extends BaseDriver
|
|||||||
/**
|
/**
|
||||||
* Transaction Details
|
* Transaction Details
|
||||||
*/
|
*/
|
||||||
'amount', 'item_name', 'm_payment_id', 'item_description',
|
'm_payment_id', 'amount', 'item_name', 'item_description',
|
||||||
/**
|
/**
|
||||||
* Custom return data
|
* Custom return data
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user