1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-13 06:32:40 +01:00

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 = [];
if($this->client->currency()->code == 'ZAR')
if($this->client->currency()->code == 'ZAR' || $this->client->currency()->code == 'USD')
$types[] = GatewayType::CREDIT_CARD;
return $types;