#torec
1 messages · Page 1 of 1 (latest)
Hello 👋
Can you share the example event ID and the PaymentIntent ID you're working with?
This might be due to PaymentIntent getting cancelled right after it failed
is there a way to get that message after?
or I need to add a webhook of payment_intent.payment_failed and save it at our database
Yeah you could save it when you receive the .payment_failed webhook
You might be able to retrieve the underlying charge that failed by listing charges for the PaymentIntent too
https://stripe.com/docs/api/charges/list
And look at the one that failed