#Cavalaa
1 messages · Page 1 of 1 (latest)
Every time i try to create a connected account through the stripe form, it locks my country to the UK no matter what
const createAccount = async (e) => {
var myHeaders = new Headers()
myHeaders.append('Content-Type', 'application/x-www-form-urlencoded')
myHeaders.append('Authorization', 'Bearer ' + stripeToken)
var urlencoded = new URLSearchParams()
urlencoded.append('type', 'express')
urlencoded.append('business_type', 'individual')
urlencoded.append('capabilities[card_payments][requested]', 'true')
urlencoded.append('capabilities[transfers][requested]', 'true')
urlencoded.append('email', session.user.email)
var requestOptions = {
method: 'POST',
headers: myHeaders,
body: urlencoded,
redirect: 'follow',
} here's the code
There's nothing in there specifying country, when I removed capabilities nothing changed
Could you share the connected account ID please?
Its for every single account I try to create
req_RibtAPllq3NxmA
this was the last request
Are you able to change the country as you set up/onboard the account?
Are you with me?
Are you able to pass other countries when creating an account?
There's no other options anywhere to change country
That's the first mention and it comes up as UK
I mean, when you send request.
as in from our code?
We're currently not passing any country related code but its locked to the UK
Yes
trying this now
yes I can send in a different country
Its now spain after sending spain in
but I want the user to be able to select this?
I'm afraid you will need to ask customers to set the account country on your page, before being redirected to Stripe onboarding.
i'm sure this wasnt an issue before and we were able to do this?
I believe there's something Stripe needs to do when creating an account that requires country info. That's why it's locked afterwards.
why bother having the dropdown then if its locked?
Hello 👋
What country is your platform account located in? We have restrictions based on Platform account country + service agreement types.
Not everything is supported everywhere. If you use a US platform account, you may see a diff behaviour. It purely comes down to compliance reasons.
We have a uk platform account
What restrictions is this placing because it seems like we cant even create a european account
Not something our team would know a ton about as its not our expertise.
Have you tried removing the capabilities on account creation?
@simple urchin want to make sure you saw my message above
yeah I have it didnt work
can you share the request ID?