mirror of
https://github.com/kingomarnajjar/flex-template-web.git
synced 2026-07-26 06:47:17 +10:00
Add Stripe support for Norway
This commit is contained in:
parent
d98d5d8f62
commit
fe0102034a
3 changed files with 15 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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',
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue