From ca807a447cf0b7d74daaf0bd4bd98e017034cc21 Mon Sep 17 00:00:00 2001 From: = Date: Fri, 10 Sep 2021 21:45:13 +1000 Subject: [PATCH] Allow ZAR and USD using PayFast --- app/PaymentDrivers/PayFastPaymentDriver.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/PaymentDrivers/PayFastPaymentDriver.php b/app/PaymentDrivers/PayFastPaymentDriver.php index 4a56edb8ad..6f56aebe9d 100644 --- a/app/PaymentDrivers/PayFastPaymentDriver.php +++ b/app/PaymentDrivers/PayFastPaymentDriver.php @@ -49,7 +49,7 @@ class PayFastPaymentDriver extends BaseDriver { $types = []; - if($this->client->currency()->code == 'ZAR') + if($this->client->currency()->code == 'ZAR' || $this->client->currency()->code == 'USD') $types[] = GatewayType::CREDIT_CARD; return $types;