#eoghanobrien

1 messages · Page 1 of 1 (latest)

lethal hearthBOT
twilit surge
#

HI 👋

Yes, we do not guarantee the order in which webhook events are sent

lapis field
#

Is it possible that checkout.session.completed might not get sent but invoice.payment.succeeded will?

twilit surge
#

If an invoice is paid using something other than a Checkout Session then yes

#

But if a Checkout Session succeeds, that event will be generated

lapis field
#

Ah of course, duh, like a renewal

twilit surge
#

Yup! You can check the reason an invoice was generated to also tell the difference between a new subscription and a renewal.

lapis field
#

Totally, sorry, brain fart. Thanks for the help!