#RobertGoddard-express-onboarding
1 messages ยท Page 1 of 1 (latest)
Hi ๐ we're not well versed in the hosted onboarding flows here, so I will need to do some testing to try and determine this. That will likely take me a while to complete due to current volume here.
No problem; any help is appreciated ๐
I created an Express account, and specified the country when doing so. When I accessed the onboarding flow for that account, the only place that I'm seeing the country presented is when collecting address information, and it's greyed out there.
Is that different from what you're seeing?
Yeah; but I'm also in test mode
I'll show you the screen that I'm seeing
const account = await this.stripe.accounts.create({
type: 'express',
business_type: 'individual',
country: 'US',
individual: {
first_name: 'TestFirstName',
last_name: 'TestLastName',
dob: {
day: 21,
month: 1,
year: 1983,
},
},
business_profile: {
product_description: 'Stuff',
},
});
const accountLink = await this.stripe.accountLinks.create({
account: account.id,
refresh_url: 'https://example.com/reauth',
return_url: 'https://example.com/return',
type: 'account_onboarding',
});
console.log(accountLink);
When you access that onboarding link, are you doing so in an incognito window?
If not, it may be clashing with an existing Stripe session.
I don't think so, I was doing my testing in test mode.
Let me mimic your account creation and see what happens.
Copying what you did, I'm also seeing Country and Business Type, but when I add the capabilities hash back to my account creation request those fields are not asked for during the onboarding flow. Can you try adding that hash to your account creation request and include the capabilities necessary for your flows?
Sure I'll give it a shot; I REALLY appreciate your help. I need to hop into a few meetings; but i'll let you know if I run into any more problems.
That WORKED!!! You are awesome!
Awesome, so glad to hear!