Allow BECS to show only for clients in Australia

This commit is contained in:
Benjamin Beganović 2021-10-26 16:41:42 +02:00
parent a24c705ffc
commit 461e0059bd

View File

@ -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