From 461e0059bd68c25de7ea5add36287dfa08e175b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Beganovi=C4=87?= Date: Tue, 26 Oct 2021 16:41:42 +0200 Subject: [PATCH] Allow BECS to show only for clients in Australia --- app/PaymentDrivers/StripePaymentDriver.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/PaymentDrivers/StripePaymentDriver.php b/app/PaymentDrivers/StripePaymentDriver.php index 93cc87f8cd85..6ae31452ba21 100644 --- a/app/PaymentDrivers/StripePaymentDriver.php +++ b/app/PaymentDrivers/StripePaymentDriver.php @@ -208,7 +208,7 @@ class StripePaymentDriver extends BaseDriver && $this->client->currency() && ($this->client->currency()->code == 'AUD') && isset($this->client->country) - && in_array($this->client->country->iso_3166_3, ["AUS", "DEU"])) + && in_array($this->client->country->iso_3166_3, ['AUS'])) $types[] = GatewayType::BECS; if ($this->client