#mateogordo
1 messages · Page 1 of 1 (latest)
I believe this is what you're looking for: https://stripe.com/docs/connect/standard-accounts
That doc goes into detail about how to handle onboarding
Thanks @deft gazelle , this is the flow I am currently following. My confusion is why its prompting users to enter a password to continue the onboarding flow?
Are you using OAuth? Or Account Links?
Account Links, if I use type Express or Custom is doesn't require the linked user to enter a password to continue, only with the Standard type 🤔
const connect_url = `${req?.headers.origin}/niches/${nicheId}/settings/payments`;
const account = await stripe.accounts.create({
type: 'standard',
email: user.email,
});
const accountLink = await stripe.accountLinks.create({
account: account.id,
refresh_url: `${connect_url}?refresh=true`,
return_url: `${connect_url}?return=true`,
type: 'account_onboarding',
});
Standard accounts are standalone Stripe accounts, so that makes sense. They would have access to their own Dashboard separate from your platform, so they need to set up a login
OK, whereas Express or Custom circumvents this requirement?
Custom doesn't have Stripe-hosted Dashboard access. Express has its own stripped down Dashboard.
I'd recommend reading through these docs, as they explain all of this: https://stripe.com/docs/connect/accounts