From 9b65fba1c974adb18cc6c11d37706a99753e7c14 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Wed, 29 Sep 2021 10:28:22 +1000 Subject: [PATCH] Payfast --- app/PaymentDrivers/PayFast/Token.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/PaymentDrivers/PayFast/Token.php b/app/PaymentDrivers/PayFast/Token.php index 2dcf554448d8..1b4a88d0f0ac 100644 --- a/app/PaymentDrivers/PayFast/Token.php +++ b/app/PaymentDrivers/PayFast/Token.php @@ -101,7 +101,7 @@ class Token $result = $this->send($header, $body, $cgt->token); nlog($result); - + // $api = new \PayFast\PayFastApi( // [ // 'merchantId' => $this->payfast->company_gateway->getConfigField('merchantId'), @@ -210,6 +210,8 @@ class Token } } + nlog(http_build_query($fields)); + return md5(http_build_query($fields)); }