#daniele-de-benedetto_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/1220405391964377088
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hello, is there a specific webhook event that you were expecting in this scenario?
no the problem is that, there is no webhook when the link is unsuable, so when the session expire because the user left the session no webhooks is emitted
so it's impossible server side to know if the user have made this scenario
basically, visit this link
https://verify.stripe.com/start/live_YWNjdF8xTm5mUTdHMEhrTzNaUG5wLF9QbU10UVZDdW1jMHl6ZmNnNkVZUjBsNExHOGNsWENz0100cIS8uzmC
Stripe helps you securely verify your identity online
it's not working, but no webhook has been emitted
Gotcha, will see if we have something for this and get back to you
@eternal copper thank you for your patience. Apologies it took a bit for us to sort out. These URLs are one time use, so every time you send the user a link you will need to retrieve the session again to get a new client secret or URL
https://docs.stripe.com/identity/verification-sessions#best-practices
https://docs.stripe.com/api/identity/verification_sessions/retrieve
how can i understand that the link is expired ?
It looks like there is no direct way to check, so the reccommendation is to assume the user has navigated to the link and get a new URL from the verification session each time.
ok so i can generate each time a new link for identity if the session is not completed ?
Yes, exactly