#sgold814
1 messages · Page 1 of 1 (latest)
This happens when you set something on the account before creating the account links. Looking up what is greying that out and will get back to you...
Alright thank you. I’m my backend function to generate the link it should be passing the country from the client side but the user may still need to edit the country for their home address if they are in a different country
Would you mind sending me the snippet of code that you are using to generate these account links? I am having trouble finding the info again on what greys these out. Seeing your call may help me narrow this down
And yes that is a reasonable use case, though you may have to put in a feature request for it depending on what our current capabilities there are
Here is my function to generate the account link
Is the country parameter needed? Because it still should allow to change country. I added all the available countries in both my test and live accounts on the express dashboard
If I remember correctly, it is either passing in country or passing in capabilities that greys out that dropdown. Can you try these calls again with each of those left out and see if either is what greys it out?
I think they are both optional so you can make the call without them
It seems both of those are required. There should be able to select a country to edit your address from the drop-down.
The docs list country as optional and capabilities as "Required for Express", are you getting errors when you exclude them here?
https://stripe.com/docs/api/accounts/create#create_account-country
https://stripe.com/docs/api/accounts/create#create_account-capabilities
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.