#chooke-express

1 messages ยท Page 1 of 1 (latest)

potent blaze
#

Hello! Is there a specific reason you're using the oauth flow for express accounts? Usually we recommend Account Links when onboardig express accounts, so just want to be sure you want to go down this route

fierce river
#

so basically we need to store an ID in the metadata to keep track of the stripe account later in our database , if there is a better approach to do this , then that would be awesome

potent blaze
#

With Account LInks you can create an Account up front (and set whatever metadata you want on it) and then use that Account ID to generate an Account Link URL that directs the user through the rest of the onboarding process (see https://stripe.com/docs/connect/express-accounts#create-account)

Express enables your platform to manage payout schedules, customize the flow of funds, and control branding. Stripe will handle onboarding, account management, and identity verification for your platform.

fierce river
potent blaze
#

That's the oauth flow though, not the Account Links one that I mentioned - there's no way to prefill metadata with the oauth flow

#

I need to head out, but ifyou need anything else @lilac gull is around and can help

lilac gull
#

๐Ÿ‘‹ stepping in for karbi

fierce river
#

so this needs to be done through api ?

lilac gull
#

After finish the OAuth flow yes. But there is a question before that, why don't you use the Account Links flow instead? OAuth is an older and legacy flow

fierce river
#

so basically what im trying to do is

  • let the users connect their stripe account if they have and then redirect them to our app
  • if they dont have , create the account and redirect them back and we store the id in metadata
    pls help ๐Ÿ˜…
lilac gull
#

I don't think it's possible to connect an already existed Express Account

#

So you can go with the Account Link flow and have 2 steps:

  1. Create Account before hand
  2. Create an Account Link so your user can finish registering

And in step 1 you can set the metadata you need: https://stripe.com/docs/connect/express-accounts#create-account

Express enables your platform to manage payout schedules, customize the flow of funds, and control branding. Stripe will handle onboarding, account management, and identity verification for your platform.

fierce river
#

thank you so much for your help ๐Ÿ’ฏ