1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-20 16:31:33 +02:00

Turning on token billing for PayFast

This commit is contained in:
David Bomba 2021-09-23 15:07:40 +10:00
parent 64711d99be
commit 8bc36a7c70

View File

@ -86,8 +86,8 @@ class Token
$body = [
'amount' => $amount,
'item_name' => 'purchase',
'item_description' => ctrans('texts.invoices') . ': ' . collect($payment_hash->invoices())->pluck('invoice_number'),
// 'm_payment_id' => $payment_hash->hash,
// 'item_description' => ctrans('texts.invoices') . ': ' . collect($payment_hash->invoices())->pluck('invoice_number'),
'm_payment_id' => $payment_hash->hash,
];
$header['signature'] = $this->generate_parameter_string(array_merge($header, $body));