From 24b8233a2f557954462686ea2a6059022727902a Mon Sep 17 00:00:00 2001 From: David Bomba Date: Sat, 10 Jul 2021 16:48:20 +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 a7397cdddd52..68e942c7b5ae 100644 --- a/app/PaymentDrivers/PayFast/Token.php +++ b/app/PaymentDrivers/PayFast/Token.php @@ -163,7 +163,7 @@ class Token ]); try { - $response = $client->post("https://sandbox.payfast.co.za/subscriptions/{$token}/adhoc",[ + $response = $client->post("https://api.payfast.co.za/subscriptions/{$token}/adhoc?testing=true",[ RequestOptions::JSON => ['body' => $body], RequestOptions::ALLOW_REDIRECTS => false ]);