From 8f9febe5f84a1a066af738b4d8852b5721548ac5 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Fri, 7 Jan 2022 13:39:31 +1100 Subject: [PATCH] Force ZAR for PayFast --- app/PaymentDrivers/PayFastPaymentDriver.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/PaymentDrivers/PayFastPaymentDriver.php b/app/PaymentDrivers/PayFastPaymentDriver.php index b67026eaf518..8d3ab1e6d062 100644 --- a/app/PaymentDrivers/PayFastPaymentDriver.php +++ b/app/PaymentDrivers/PayFastPaymentDriver.php @@ -49,7 +49,8 @@ class PayFastPaymentDriver extends BaseDriver { $types = []; - if($this->client->currency()->code == 'ZAR' || $this->client->currency()->code == 'USD') + // if($this->client->currency()->code == 'ZAR' || $this->client->currency()->code == 'USD') + if($this->client->currency()->code == 'ZAR') $types[] = GatewayType::CREDIT_CARD; return $types;