#nfiacco
1 messages · Page 1 of 1 (latest)
Interesting, is it the same account creation code for both, and the only difference is the business type?
I know Country being locked is expected when capabilities or the country code are provided when creating the account. Is it possible that your individual account creation code is not passing those but your company account creation code does?
The API request I do is identical every time, the user selects whether they are an individual or business account within the Stripe Express onboarding flow. So it is totally out of our control
Interesting. Looking in to this. For my reference can you send me the code for your account creation request?
sc := &client.API{}
sc.Init(*stripeApiKey, nil)
params := &stripe.AccountParams{
Type: stripe.String(string(stripe.AccountTypeExpress)),
Capabilities: &stripe.AccountCapabilitiesParams{
Transfers: &stripe.AccountCapabilitiesTransfersParams{Requested: stripe.Bool(true)},
},
}
result, err := sc.Accounts.New(params)
if err != nil {
return nil, errors.Wrap(err, "(stripe.CreateAccount) creating account")
}
Thank you, testing this and will get back to you. After seeing that, I am surprised that your individual accounts are able to select a country. When passing Capabilities in general that is not allowed
If you have a minute yourself while I'm testing, can you quickly remove the Capabilities line and see if that lets you choose a business as a country?
ah! interesting I'll give that a try
In my testing for both company and individual, the Country dropdown only shows on that page if I exclude capabilities
Is that the page that your users were describing when talking about seeing this dropdown vs not?
ah that was the issue— thanks for the help!