Turning on token billing for PayFast

This commit is contained in:
David Bomba 2021-09-23 15:06:47 +10:00
parent 1947b0a63b
commit 64711d99be

View File

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