#eoghanobrien
1 messages · Page 1 of 1 (latest)
Is it possible that checkout.session.completed might not get sent but invoice.payment.succeeded will?
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
Ah of course, duh, like a renewal
Yup! You can check the reason an invoice was generated to also tell the difference between a new subscription and a renewal.
In the billing_reason https://stripe.com/docs/api/invoices/object#invoice_object-billing_reason
Totally, sorry, brain fart. Thanks for the help!