#Dawid Kolbusz
1 messages · Page 1 of 1 (latest)
Hi! Let me help you with this.
payment_intent.latest_charge has the same properties as if you retrieve the Charge itself: https://stripe.com/docs/api/charges/retrieve
However, it's best to listen to payment_intent.succeeded event and check the Event.created property: https://stripe.com/docs/api/events/object#event_object-created
Thanks, will implement it this way.
One note, if you use bank transfers, they might take a few days to turn succeeded. In this case, you might want to start fulfilling the order while it's still in the processing state, and cancel the order if it (unlikely) fails in a few days.