#.nicolasblanco-invoice-webhook
1 messages · Page 1 of 1 (latest)
Hi 👋
You can monintor the Invoice related webhooks (invoice.payment_failed, invoice.payment_succeeded) and check the billing_reason property.
https://stripe.com/docs/api/invoices/object#invoice_object-billing_reason
This will tell you if the invoice is for a Subscription or manual
As well as provide more details on what subscription action is triggering it
Yes, that's what I thought also. Because I was on the payment_intent.failed but this event does not have enough information to differenciate. I'll switch to invoice.payment_failed instead.
Yeah, deciding which webhook events to listen to all depends on what information you need.