#rohail-kamran_unexpected
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
đ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1402200319051436102
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
hi there!
I expected to see a form from stripe where I could onboard... used to be that way before...
can you share a screenshot of what you see when you click on the link? the link expired, so I can't see it on my end.
sure
Here is how I am generating the link:
Account creation:
country: 'US',
email: req.decoded.basicInformation.email,
controller: {
fees: {
payer: 'application',
},
losses: {
payments: 'application',
},
stripe_dashboard: {
type: 'express',
},
},
});
Link Creation:
const accountLink = await stripe.accountLinks.create({
account: account.id,
refresh_url: 'https://example.com/reauth',
return_url: 'https://example.com/return',
type: 'account_onboarding',
});
And finally the link I am using is:
accountLink.url
so when you click the link the first time, you directly see the refresh_url?
yess
did you do antyhing with the link before cliking on it? like paste it in an app?
because some app may try to open the link to generate a thumbnail, which means when you click on it, it's actually the second time the link is opened, so you get redirected to the refresh_url.
I am testing it right now
Please give me some time.....
Can I reopen this later? I have to be somewhere
the thread may be automatically closed. but fell free to reopen a new one if needed!