#mateogordo

1 messages · Page 1 of 1 (latest)

final willowBOT
deft gazelle
#

That doc goes into detail about how to handle onboarding

last raptor
#

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?

deft gazelle
#

Are you using OAuth? Or Account Links?

last raptor
#

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',
});
deft gazelle
#

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

last raptor
#

OK, whereas Express or Custom circumvents this requirement?

deft gazelle