#Tushar321321-rn-connect

1 messages · Page 1 of 1 (latest)

tough minnow
#

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.

topaz sable
#

if i create connect account how can i generate account like

#

i mean what i have to pass in this url_S??

tough minnow
#

what does "url_S" mean?

topaz sable
#

refresh_url
and return_url

tough minnow
topaz sable
#

what i should pass in url to open that form

#

for making new connected account

tough minnow
#

I don't understand the question, sorry

topaz sable
#

i want to open this in mobile side like press on this button

#

i want to open this form in mobile's web

tough minnow
#

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.

topaz sable
#

my case in 1st case

#

i open web view

#

in mobile

tough minnow
#

sounds good

topaz sable
#

so what should i pass in url for account link generation

tough minnow
#

well you're confusing two entirely different integrations

tough minnow
#

also the video you're watching is old and outdated unfortuantely

#

I would just ignore the video, it's outdated unfortunately

topaz sable
#

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.

tough minnow
#

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

topaz sable
#

so my question in what i should to pass in return_url/refresh_url for account link

tough minnow
topaz sable
#

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???

tough minnow
topaz sable
#

ok now got the reference of hooks but i should apply on server-side or mobile-side (client-side)?

tough minnow
#

server side

topaz sable
#

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 ??

tough minnow
#

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