mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 05:02:36 +01: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:
parent
ddfafc5418
commit
321322401e
@ -65,13 +65,15 @@ class RotessaPaymentDriver extends BaseDriver
|
|||||||
{
|
{
|
||||||
$types = [];
|
$types = [];
|
||||||
|
|
||||||
if ($this->client
|
/*
|
||||||
|
// TODO: needs to test with US test account
|
||||||
|
if ($this->client
|
||||||
&& $this->client->currency()
|
&& $this->client->currency()
|
||||||
&& in_array($this->client->currency()->code, ['USD'])
|
&& in_array($this->client->currency()->code, ['USD'])
|
||||||
&& isset($this->client->country)
|
&& isset($this->client->country)
|
||||||
&& in_array($this->client->country->iso_3166_2, ['US'])) {
|
&& in_array($this->client->country->iso_3166_2, ['US'])) {
|
||||||
$types[] = GatewayType::BANK_TRANSFER;
|
$types[] = GatewayType::BANK_TRANSFER;
|
||||||
}
|
}*/
|
||||||
|
|
||||||
if ($this->client
|
if ($this->client
|
||||||
&& $this->client->currency()
|
&& $this->client->currency()
|
||||||
|
Loading…
Reference in New Issue
Block a user