#haluk-webhook-events
1 messages · Page 1 of 1 (latest)
Hello! These events will give back two different objects - they'll both be emitted when payment is successful, and you're welcome to use either one, but it'll depend on what specific information you need from the event
ok so i actually need the information in charge.succeeded, are there any drawbacks to using one over the other expect for the specific information in them. Like would there be an instance where charge.succeeded but payment_intent.succeeded did not or vice-versa?
I believe you should always get a charge.succeeded if you get a payment_intent.succeeded so it's really your choice to decide which event to listen for
- ok in what kind of event would payment_intent succeed but charge not
- how come in the activity, charge.succeeded comes before the payment_intent.succeeded event?
charge.succeededwill always happen ifpayment_intent.succeededfires- We do not guarantee the timing of event delivery.
ok ty