Merge pull request #6618 from turbo124/v5-develop

Fixes for payfast
This commit is contained in:
David Bomba 2021-09-10 21:46:38 +10:00 committed by GitHub
commit 00c21e766e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;