#eartho_

1 messages · Page 1 of 1 (latest)

placid craneBOT
neat sigil
#

What country are you seeing it locked to?

#

And does your request pattern look like the example there?

wooden spindle
#

yes , in my case its united states

#

because our server there

#

we do accounts.create from our server so it default to USA

#

it destroyed our user base which all stuck on USA

#

any quick solutions? our managers extermely stressed about it

#

we are going to give them option to pick country in our website and then it will create new account for them and will duplicate it

#

but its sad you cant do it by yourself

neat sigil
#

Yea, so the issue is that when you override the default capabilities being requested you need to specify the country, or it defaults to your platform country

#

Instead of overriding the capabilities, consider changing the defaults for the countries in your connect settings

#

If there's a specific reason you need to override, then you need to also specify the country

wooden spindle
#

mmm.. let me check

#

so you mean from

const stripeAccount = await stripe.accounts.create({
type: 'express',
email: userData.email,
//country: country,
capabilities: {
card_payments: { requested: true },
transfers: { requested: true },
},
});

#

change to

const stripeAccount = await stripe.accounts.create({
type: 'express',
email: userData.email,
});

placid craneBOT
wooden spindle
#

sounds weird but lets try

neat sigil
#

Right, the issue is capabilities without country

#

You can specify those, but the behaviour is that capabilities alone will force country to be your paltform country

#

then those will apply when the user selects their country

wooden spindle
#

ok thanks, it worked

#

please improve the docs so other will not need to deal with this