#nachofranco14

1 messages · Page 1 of 1 (latest)

reef sonnetBOT
mortal harbor
#

Hi Jack

#

I'm saying this given that the charge is done automatically

sudden apex
#

Hi there, the events are not guaranteed to be received in the same sequence as they are generated.

#

So sometime you will receive invoice.paid first, sometimes invoice.payment_succeded first.

mortal harbor
#

that doesn't matter in that case 🙂

#

is there a place where I can check that info?

#

like, which is the expected order of events?

sudden apex
mortal harbor
#

once an invoice is finalized, it will be later either payment_failed or payment_succeeded, right?

sudden apex
#

Yes, but only if the invoice's auto_advanced=true and/or the collection_method=charge_automatically.

#

If the invoice's collection_method=send_invoice, then you will receive the payment_failed or payment_succeeded event when the customer attempts to the pay the invoice.

mortal harbor
#

correct

#

thanks!