#Tushar321321-rn-connect
1 messages · Page 1 of 1 (latest)
hi! we don't have any specific native component for account onboarding like that
you can follow the regular guide and open the AccountLink in the system browser or a WebView if you wish to.
if i create connect account how can i generate account like
i mean what i have to pass in this url_S??
what does "url_S" mean?
refresh_url
and return_url
they're links to your backend server that implements actions as documented at https://stripe.com/docs/connect/express-accounts#return-user
I don't understand the question, sorry
i want to open this in mobile side like press on this button
i want to open this form in mobile's web
well it's a web page not a mobile app
so you build a website first, with that Stripe Connect button on it, and then in your app you either direct people to that link to your site so it opens in the browser, or you open a WebView with your website in it.
sounds good
so what should i pass in url for account link generation
well you're confusing two entirely different integrations
that link is for Standard Account using OAuth, so it doesn't use the AccountLinks API at all
also the video you're watching is old and outdated unfortuantely
so I wouldn't use the video, I would use the actual current guide https://stripe.com/docs/connect/enable-payment-acceptance-guide , which does use AccountLinks, that's the correct way to integrate today
I would just ignore the video, it's outdated unfortunately
in my use case users are fill their own information for connect account ,if i use node api for creating connect account for user i have to collect those information and fire the node api and set web hooks for account status
so that flow is useless for my application requirement.
therefor, i want to fill those information by user for creating connected by own and i don't want to make middle ware for this requirement for security reason.
if i use node api for creating connect account for user i have to collect those information
no you don't, you just create the account and redirect to the AccountLink, you don't have to collect any information yourself.
fire the node api and set web hooks for account status
You always have to use webhooks with Stripe Connect regardless of what you build, it's mandatory.
the correct integration is the one in the docs which is
- user visits your website and chooses to sign up
- you call the API to create an account and an AccountLink
- redirect the user to the AccountLink to onboard
- they return to your site afterwards(you implement return_url/refresh_url as pages on your site that do the correct thing)
- you can use webhooks to keep track of the account after that in case anything changes
you can present the website in a WebView in a mobile app if you wish
so my question in what i should to pass in return_url/refresh_url for account link
a URL to your backend server that implements the logic explained in https://stripe.com/docs/connect/enable-payment-acceptance-guide?platform=web#handle-user-returning-to-platform
i didn't get your point for account link generation and i dont know what should i pass returnurl and refreshurl for account link
and can you send the reference for web hooks for knowing account status???
I'm not sure how else I can explain it really
ok now got the reference of hooks but i should apply on server-side or mobile-side (client-side)?
server side
how it will triggered after changes the account status ??
is that any event or something like that , that i get the information of status of account and redirect user to stripe form page.
to again fill up information correctly according to stripe requirement ??
I'd suggest reading the docs I linked as they cover all this
in general, if something changes on the account we send you a webhook(our servers making a HTTP call to yours to send your some information), you can call the Accounts Retrieve API to get the current status of the account, and you can contact the user in your system and create a new AccountLink for them
but if you use Standard accounts you don't really have to do any of that