mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-06 06:44:36 -04:00
Added more allowed states
This commit is contained in:
parent
e48a5fe8c4
commit
36a6211146
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user