#t9000
1 messages · Page 1 of 1 (latest)
Hi
You take the Id from step 2 from the guide you are following:
https://stripe.com/docs/connect/express-accounts
but before I was doing like:
-
the user clicks on the url like : https://connect.stripe.com/express/oauth/authorize?redirect_uri={{baseClientUrl}}/profile-redirect&client_id=ca_NVT6cQk15pUqdTUVtJjGMkXuD2S82GJK&state=thisisanoptionalstatevaluetopreventcsfr&stripe_user[business_type]=individual&suggested_capabilities[]=transfers
-
After following the steps the user is created in stripe and after that the id is generated
I don't understand how can I create the id first and after some steps are followed by stripe, what if I create the id and after redirect to stripe onboard page and this person closes this page?
I tought the create link was made to generate a link like this one I pasted before
You are mixing two approaches here, Oauth and AccountLink. The guide you are referring to is using AccountLink (the recommended way). You shouldn't use oauth link
just follow the guide step by step:
https://stripe.com/docs/connect/express-accounts#onboarding-express-accounts-outside-of-your-platforms-country
I have read this guide and I didn't understand in which part the user is redirected to the onboard part by stripe where stripe is going to take his credit card number
where stripe is going to take his credit card number
Here you mean end customer that will do purchase on your website or Connected Account ?
This guide is for onboarding Express connected Account so that they can accept orders... these Stripe Accounts are connected entities to yours.
my website is a marketplace and I need people to be able to receive their payout for the products he is selling
in this case I need him to register his credit card number in stripe
to receive the payout on that credit card ?
yes
the way I was doing before with OAuth was working fine, but is outdated, is not the recommended way as you stated
They will be asked in the onboarding process to enter their bank details
ok, in which step it happens?
When the user navigate to the AccountLink
you can do a quick test in your test mode, create an express connected account, create an AccountLink and use it to onboarding a fake merchant... just follow the guide step by step.
You can find here https://stripe.com/docs/connect/testing some test data
this step: https://stripe.com/docs/connect/express-accounts#create-account is done before the redirect of getting the card number, right? But it creates an account id for the user, right?
yes
the flow in OAuth is upside down compared with this - you first click on the link and only after you give the credit card and everything you create the account id - is that right?
Not exactly but yeah something like that...
this is what is confusing me
what would happen if I create an account id and user abort the session?
he doesn't give the credit card
I would have an account id without the complete data
aha ok, there is a way to handle that
yep
ok, let me try to implement it on the recommended way
ok, so in the recommended way I will need to create the account, create an account link for that account and from this link this user would need to fill in the credit card
yes
another question, after the user already registered his credit card, is it possible to show on my website which card he has registered, with something like stripe does:
showing the last numbers
yes when browsing their account from your dashboard:
https://dashboard.stripe.com/test/connect/accounts/acct_..../activity
Refer to Payout information section.
ok, thanks a lot