From 321322401ec0759829ea8ce8b9fd63a3e623dc02 Mon Sep 17 00:00:00 2001 From: Kendall Arneaud Date: Sun, 28 Jul 2024 19:33:03 -0400 Subject: [PATCH] Update RotessaPaymentDriver.php Remove until proper testing can be done. Signed-off-by: Kendall Arneaud --- app/PaymentDrivers/RotessaPaymentDriver.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/PaymentDrivers/RotessaPaymentDriver.php b/app/PaymentDrivers/RotessaPaymentDriver.php index bb014bc9a3..f04412f4e2 100644 --- a/app/PaymentDrivers/RotessaPaymentDriver.php +++ b/app/PaymentDrivers/RotessaPaymentDriver.php @@ -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()