1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-20 00:11:35 +02:00

Update RotessaPaymentDriver.php

Remove until proper testing can be done.

Signed-off-by: Kendall Arneaud <kendall.arneaud@gmail.com>
This commit is contained in:
Kendall Arneaud 2024-07-28 19:33:03 -04:00 committed by GitHub
parent ddfafc5418
commit 321322401e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -65,13 +65,15 @@ class RotessaPaymentDriver extends BaseDriver
{
$types = [];
if ($this->client
/*
// TODO: needs to test with US test account
if ($this->client
&& $this->client->currency()
&& in_array($this->client->currency()->code, ['USD'])
&& isset($this->client->country)
&& in_array($this->client->country->iso_3166_2, ['US'])) {
$types[] = GatewayType::BANK_TRANSFER;
}
}*/
if ($this->client
&& $this->client->currency()