#Marth

1 messages ยท Page 1 of 1 (latest)

cobalt prawnBOT
heady shard
#

๐Ÿ‘‹ happy to help

#

in the case you don't it will default to your own country

#

this is not something that can be changed in the onboarding process

tiny bay
#

That means that is something i have to setup when i create a new stripe account?

heady shard
#

if you know the country of the Connect Account then yes you need to specify it at the creation time

tiny bay
#

But we are onboarding user from 3 different country. Do it mean i need 3 accounts? XD

heady shard
#

are you passing capabilities in the account creation request?

tiny bay
#

{
"type": "express",
"email": "test@test.de",
"capabilities": {
"card_payments": {
"requested": "true"
},
"transfers": {
"requested": "true"
}

#

I dont think so

dim widget
#

seems like you are, that's what capabilities is in that (if what you posted is the parameters you pas to stripe.accounts.create )

tiny bay
#

Thats what i found in the API Logs in the connected account in the dashboard.

#

To be honest. Im not a developer. Im only searching for a solution because the developer dosent responde to me for 4 days.

#

Now a non developer try to find a solution XD

dim widget
#

well the solution would be to change the code that is making that API request to pass the country parameter, it seems like.

tiny bay
#

But who can i do that?๐Ÿ˜… do i have to change the country parameter or the capabilities?

dim widget
#

well it depends. If in your code you know what country the user is from or where you'd like to have their Stripe account created in, you should just pass that value to the country parameter.
The other option is to remove the capabilities argument, which then lets the user pick their country in the Express onboarding page, that can pick from the countries you enabled in https://dashboard.stripe.com/settings/connect/express

tiny bay
#

Okay that means the capabilities argument should be removed right?

#

Or should be set in a proper way. If its empty, default value will be used from the main account right?

dim widget
#

no, if it's not set then the user can pick a country themselves, and then the capabilities of the account they create depends on the country they pick and what you configured in that dashboard page for the capabilities of an account in that country

tiny bay
#

Okay i think i understand. Question is now where do i made this changes now. Is there a documentation where i find the file i find this?

dim widget
#

no, since it's your own code and integration, we wouldn't know where files in your project are located

#

you could try searching for strings like 'card_payments' or 'stripe.accounts.create' in your projects folder to try to find the relevant parts. I really would recommend having your developer do this instead of course