Turning on token billing for PayFast

This commit is contained in:
David Bomba 2021-09-23 11:03:27 +10:00
parent 875b4fc2f6
commit 307dbdcb07

View File

@ -91,7 +91,7 @@ class Token
'item_description' => ctrans('texts.invoices') . ': ' . collect($payment_hash->invoices())->pluck('invoice_number'),
];
$header['signature'] = $this->genSig(array_merge($header, $body));
$header['signature'] = $this->payfast->generateSignature(array_merge($header, $body));
// $header['signature'] = $this->genSig($body);
nlog($this->payfast->company_gateway->getConfigField('merchantId'));