From 721e6d442ca01e59c645a7556a7b0dea30272e5c Mon Sep 17 00:00:00 2001 From: David Bomba Date: Thu, 23 Sep 2021 10:54:24 +1000 Subject: [PATCH] Turning on token billing for PayFast --- app/PaymentDrivers/PayFast/Token.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/PaymentDrivers/PayFast/Token.php b/app/PaymentDrivers/PayFast/Token.php index a6b6bac5be77..56a144bd3a04 100644 --- a/app/PaymentDrivers/PayFast/Token.php +++ b/app/PaymentDrivers/PayFast/Token.php @@ -91,8 +91,8 @@ 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->genSig($body); + $header['signature'] = $this->genSig(array_merge($header, $body)); + // $header['signature'] = $this->genSig($body); nlog($this->payfast->company_gateway->getConfigField('merchantId'));