diff --git a/app/PaymentDrivers/GoCardlessPaymentDriver.php b/app/PaymentDrivers/GoCardlessPaymentDriver.php index 0c325bb477bf..f445ec14b22d 100644 --- a/app/PaymentDrivers/GoCardlessPaymentDriver.php +++ b/app/PaymentDrivers/GoCardlessPaymentDriver.php @@ -50,9 +50,17 @@ class GoCardlessPaymentDriver extends BaseDriver public function gatewayTypes(): array { - return [ - GatewayType::BANK_TRANSFER, - ]; + $types = []; + + if ( + $this->client + && isset($this->client->country) + && in_array($this->client->country->iso_3166_3, ['USA']) + ) { + $types[] = GatewayType::BANK_TRANSFER; + } + + return $types; } public function authorizeView(array $data)