#Jerry Jose

1 messages ยท Page 1 of 1 (latest)

lean lichenBOT
final void
#

๐Ÿ‘‹ happy to help

#

https://stripe.com/docs/api/events/types#event_types-checkout.session.completed

Occurs when a Checkout Session has been successfully completed.
https://stripe.com/docs/api/events/types#event_types-checkout.session.async_payment_failed
Occurs when a payment intent using a delayed payment method fails. (e.g. bank transfers etc.)

frozen flint
#

thank you, can you please let me know which events are suitable for payment success and failure ?

final void
#

are you using Checkout Sessions?

frozen flint
#

yes

final void
#

then you can use checkout.session.completed for the Checkout Sessions that have been successfully completed

frozen flint
#

ok then can we get session id in payment_intent.payment_failed event?

final void
#

you will get 0 or 1 results in the data array

frozen flint
#

Nice, Thank you

final void
#

sure thing

#

let me know if you need any more help