Reputation: 322
Just a simple question.
I have been looking around the web for support to create Standard connect account with Flutter but I am still running into the following issue:
\What should I put in my return_url
field in my stripe.accountLink.create()
method? According to the documentation it is the: The URL that the user will be redirected to upon leaving or completing the linked flow.
But it's a mobile app? So I am a bit confused on what I should put there.
const accountLink = await stripe.accountLink.create({
account: account['id'],
type: 'account_oboarding',
refresh_url: '', // Here I have my https onRequest method
return_url: '', // <----- what should I put in here?
});
Upvotes: 3
Views: 1087
Reputation: 8737
You likely want to use Flutter's uni_links
for this, since I suspect you want them to come right back into your app.
Upvotes: 1