#pedrofumero

1 messages · Page 1 of 1 (latest)

serene smeltBOT
gloomy crane
#

Hey there, which events are you referring to?

#

I don't see any event id's discussed, can you share an example?

#

Normally you'd want to listen for checkout.session.completed for complete checkout sessions

left drift
#

Yes, that's correct, I want to listen to checkout.session.completed and that that case is covered correctly, but also set a state of payment failed on my DB when I get: charge.failed, or payment_intent.payment_failed. The response @tarzan gives me sounds great, but my issue is related to how to obtain the checkout session id when I receive this events: charge.failed, or payment_intent.payment_failed 🤔

gloomy crane