skip to Main Content

Javascript – Stripe Event: `checkout.session.async_payment_succeeded` vs `checkout.session.completed`. Which one to use for successful payment?

I am a bit confused between the 2 events: checkout.session.async_payment_succeeded & checkout.session.completed I'm currently using checkout.session.completed so I'm curious if checkout.session.async_payment_succeeded sends any events that are not handled by checkout.session.completed. My current code looks like: const session = event.data.object as…

VIEW QUESTION
Back To Top
Search