#Masud-connect-onboarding
1 messages · Page 1 of 1 (latest)
hi
Hello! I don't think connect onboarding is US only - is there a specific doc where you're seeing this?
Are you passing in a country when you create the account (https://stripe.com/docs/api/accounts/create#create_account-country) ? If one isn't passed in it defaults to the country of the platform
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
"country of the platform"
How is this being determined?
It's just the country the platform account registered in - that was selected when the platform account was created
this is greyed out and not clickable.
How can i make it clickable? Guessing i don't pass in the country code?
I think the only way to allow for a user to change this during onboarding is to leave country empty and also not request any capabilities. Really though, the ideal flow is for you to know the country of the account ahead of time and pass that in with account creation
okay so if we leave country and the capabilities blank, that may let them choose the country. and then after it's finished, i can update the capabilities for that stripe connect account?
Yes, that should work
got a
Stripe::InvalidRequestError (You must request one or more of the following capabilities: transfers. Please visit https://stripe.com/docs/connect/account-capabilities to learn more.):```
Ah, I misspoke earlier - not providing a country or capabilities is only allowed with express accounts. It's required for custom connect
okay so i should find out the persons country and then pass it in? Only way to do this with stripe onboarding?
Yeah, you need to ask them for the country upfront and then pass it in when you create the account
or find out their country using their ip address 🤔
Up to you how you want to do it - I'd just recommend asking for it in a UI, but it's your choice