#sainita_code
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/1270690375182454876
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Which API are you using the generated the URL? I'm assuming an Acocunt Link?
Yes
Without logging in our site where the link is generated, if they try to open the link, it's expired at that moment
How are you sending those links to them?
we have tried from our end also. This link is not working if we are not logged in our site
It's redirected to our login page with error message like link expired
Can you share an API request where you generate the link?
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
try {
$stripe = generateStripeClient();
$account = $stripe->accounts->create(['type' => 'standard']);
$accountLinks = $stripe->accountLinks->create([
'account' => $account->id,
'refresh_url' => route('admin.settings.merchants.merchant-profile.refresh-stripe-connect-url', $merchantId),
'return_url' => route('admin.settings.merchants.merchant-profile.return-stripe-connect-url', $merchantId),
'type' => 'account_onboarding',
]);
} catch (\Exception $e) {
\Log::info($e->getMessage());
}
This is our process to generate the account link
I need a req_xxx to verify the parameters
Sorry couldn't get you.. What do you mean by "req_xxx"?
The ID of a request that creates an Account Link. See this URL
ok checking
FWIW, those URLs are single use. So once they're clicked and opened, they can't be opened again
๐ taking over for my colleague. Let me know if there's any follow-up Qs I can answer!
If we open this link once but do nothing and then try to open the link again. it's showing expired link
Is it a single use link?
that's what my colleague explained