From d774e81ca040c0847e6a4ee12f96e9909a7e88f2 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Sat, 10 Jul 2021 16:34:44 +1000 Subject: [PATCH] Minor fixes for Payfast --- app/PaymentDrivers/PayFast/Token.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/PaymentDrivers/PayFast/Token.php b/app/PaymentDrivers/PayFast/Token.php index 9f48644ec..d1557b9d6 100644 --- a/app/PaymentDrivers/PayFast/Token.php +++ b/app/PaymentDrivers/PayFast/Token.php @@ -78,7 +78,7 @@ class Token $amount = round(($amount * pow(10, $this->payfast->client->currency()->precision)),0); $header =[ - 'merchant-id' => $this->payfast->company_gateway->getConfigField('merchantId'), + 'merchant_id' => $this->payfast->company_gateway->getConfigField('merchantId'), 'timestamp' => now()->format('c'), 'version' => 'v1', ];