#t9000

1 messages · Page 1 of 1 (latest)

high meteorBOT
slow wave
dull vortex
#

but before I was doing like:

  1. 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

  2. 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

slow wave
#

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

dull vortex
#

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

slow wave
#

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.

dull vortex
#

in this case I need him to register his credit card number in stripe

slow wave
dull vortex
#

yes

#

the way I was doing before with OAuth was working fine, but is outdated, is not the recommended way as you stated

slow wave
#

They will be asked in the onboarding process to enter their bank details

dull vortex
#

ok, in which step it happens?

slow wave
#

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

dull vortex
slow wave
#

yes

dull vortex
#

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?

slow wave
#

Not exactly but yeah something like that...

dull vortex
#

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

dull vortex
#

aha ok, there is a way to handle that

slow wave
#

yep

dull vortex
#

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

slow wave
#

yes

dull vortex
#

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

slow wave
#

Refer to Payout information section.

high meteorBOT
dull vortex
#

ok, thanks a lot