#Cavalaa

1 messages · Page 1 of 1 (latest)

grim harnessBOT
vapid thorn
#

Hi! Let me help you with this.

#

What are you trying to do exactly?

simple urchin
#

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

vapid thorn
#

Could you share the connected account ID please?

simple urchin
#

Its for every single account I try to create

#

req_RibtAPllq3NxmA

#

this was the last request

vapid thorn
#

Are you able to change the country as you set up/onboard the account?

#

Are you with me?

simple urchin
#

sorry

#

no it doesnt let me

#

Just greyed out as uK

vapid thorn
#

Are you able to pass other countries when creating an account?

simple urchin
#

There's no other options anywhere to change country

#

That's the first mention and it comes up as UK

vapid thorn
#

I mean, when you send request.

simple urchin
#

as in from our code?

#

We're currently not passing any country related code but its locked to the UK

vapid thorn
simple urchin
#

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?

vapid thorn
#

I'm afraid you will need to ask customers to set the account country on your page, before being redirected to Stripe onboarding.

simple urchin
#

i'm sure this wasnt an issue before and we were able to do this?

vapid thorn
#

I believe there's something Stripe needs to do when creating an account that requires country info. That's why it's locked afterwards.

simple urchin
#

why bother having the dropdown then if its locked?

grim harnessBOT
daring cliff
#

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.

simple urchin
#

We have a uk platform account

#

What restrictions is this placing because it seems like we cant even create a european account

daring cliff
#

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

simple urchin
#

yeah I have it didnt work

daring cliff
#

can you share the request ID?