#nollix_webhook-events
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/1442981918244343970
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
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.
- nollix_checkout-webhook-events, 1 hour ago, 15 messages
- nollix_webhooks, 3 hours ago, 12 messages
๐ Hello, taking a look at your question now ๐
As you pointed out the order isn't always guaranteed.
Typically when using a synchronous payment method you'll see payment_intent.succeeded event and checkout.session.completed event around the same time, with the payment_intent.succeeded event happening first(but not always)
However with asynchronous payment methods where the payment intent may spend some extended time with a processing status like ach direct debit it's possible to see the checkout.session.completed event while the matching payment_intent.succeeded event would occur once the ach payment completes.
Regarding question 4. I'm not aware off the top of my head a scenario where the payment_intent would succeed and the Checkout Session would not.
Due to the fact that it's not guaranteed that payment_intent.succeeded occurs before checkout.session.completed I could add the event payment_intent.succeeded to my current webhook (which just listens "checkout.session.completed"). In this way I don't have to worry which comes first. If I had two event related to a webhook, it will be fired two times or just one time (when the first event occurs between payment_intent.succeeded and checkout.session.completed)?
If you are listening to both events on your webhook endpoint you would receive both events. One for each event.