#gagan-suie_best-practices
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. Thank you for your patience!
âąď¸ We automatically close idle threads, which makes them read-only. Make sure you stick around to chat in realtime! If this thread is closed and you have another question you'll need to start a new thread.
đ 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/1214358791059935243
đ Have more to share? You can add more detail below, including code, screenshots, videos, etc.
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- gagan-suie_api, 3 days ago, 12 messages
- gagan-suie_api, 3 days ago, 14 messages
- gagan_checkout-subscription, 4 days ago, 8 messages
im thinking the only solution to this is to set a timeout delay in our websocket to send data after 5 seconds after the transaction
Hi, can you add more details here? What kind of information are you looking to send back to the app and what will this do?
im doing stripe.checkout.sessions.create embedded with a return_url so we can let users know that someone donated.
in the invoice.page webhook, it stores the details of the user that donated into our DB
at the moment we are triggering a websocket event when a returnUrl page is visited. but it occurs before the invoice.paid webhook stores the user information. so it doesn't get any donator information
I think your proposed solution is the way here. However, are you asking if there is a way to delay the redirect to the returnURL page or to delay sending the invoice.paid event from our end?
I'm having a hard time understanding what the ultimate ask is here
@inland zephyr are you still here?
hey sorry, im still here. i dont think theres a flow around this since returnUrl triggers after checkout but the webhook handles on its own flow server-side.
@inland zephyr if it were me I would do fulfillment in a way that can be triggered both from the Event(s) themselves but also the redirect. Like in both cases I'd call my "fulfillment method" internally