Added more allowed states

This commit is contained in:
Lars Kusch 2021-10-04 18:09:10 +02:00
parent e48a5fe8c4
commit 36a6211146

View File

@ -149,7 +149,7 @@ class StripePaymentDriver extends BaseDriver
if ($this->client if ($this->client
&& isset($this->client->country) && isset($this->client->country)
&& in_array($this->client->country->iso_3166_3, ['DEU', 'USA'])) { && in_array($this->client->country->iso_3166_3, ['AUS', 'DNK', 'DEU', 'ITA', 'LUX', 'NOR', 'SVN', 'GBR', 'EST', 'GRC', 'JPN', 'PRT', 'ESP', 'USA', 'BEL', 'FIN'])) { // TODO: More has to be added https://stripe.com/docs/payments/sepa-debit
$types[] = GateWayType::SEPA; $types[] = GateWayType::SEPA;
} }