Allow ZAR and USD using PayFast

This commit is contained in:
= 2021-09-10 21:45:13 +10:00
parent 42b3272920
commit ca807a447c

View File

@ -49,7 +49,7 @@ class PayFastPaymentDriver extends BaseDriver
{ {
$types = []; $types = [];
if($this->client->currency()->code == 'ZAR') if($this->client->currency()->code == 'ZAR' || $this->client->currency()->code == 'USD')
$types[] = GatewayType::CREDIT_CARD; $types[] = GatewayType::CREDIT_CARD;
return $types; return $types;