Add Stripe support for Norway

This commit is contained in:
Jenni Nurmi 2018-12-05 15:08:19 +02:00
parent d98d5d8f62
commit fe0102034a
3 changed files with 15 additions and 0 deletions

View file

@ -156,6 +156,7 @@ export const mapInputsToStripeAccountKeys = (country, values) => {
case 'ES':
case 'SE':
case 'CH':
case 'NO':
return { account_number: cleanedString(values[IBAN]) };
case 'NZ':
// NZ account number is typically presented in the format xx-xxxx-xxxxxxx-xxx

View file

@ -260,6 +260,19 @@ const stripeSupportedCountries = [
accountNumber: true,
},
},
{
// Norway
code: 'NO',
currency: 'EUR',
addressConfig: {
addressLine: true,
city: true,
postalCode: true,
},
accountConfig: {
iban: true,
},
},
{
// Portugal
code: 'PT',

View file

@ -481,6 +481,7 @@
"PayoutDetailsForm.countryNames.LU": "Luxembourg",
"PayoutDetailsForm.countryNames.NL": "Netherlands",
"PayoutDetailsForm.countryNames.NZ": "New Zealand",
"PayoutDetailsForm.countryNames.NO": "Norway",
"PayoutDetailsForm.countryNames.PT": "Portugal",
"PayoutDetailsForm.countryNames.SE": "Sweden",
"PayoutDetailsForm.countryNames.US": "United States",