#haluk-webhook-events

1 messages · Page 1 of 1 (latest)

gray flameBOT
glad ivy
#

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

gray flameBOT
mighty grotto
#

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?

glad ivy
#

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

mighty grotto
#
  1. ok in what kind of event would payment_intent succeed but charge not
  2. how come in the activity, charge.succeeded comes before the payment_intent.succeeded event?
supple grail
#
  1. charge.succeeded will always happen if payment_intent.succeeded fires
  2. We do not guarantee the timing of event delivery.
mighty grotto
#

ok ty