#brooker
1 messages ยท Page 1 of 1 (latest)
To be specific, I have a separate workflow I need to kickoff when an invoice is past due, and want the invoice to be voided in Stripe.
Hello ๐
You'd need to listen to webhook events for that. Don't think there's a setting that you can configure for this
Ok, which event(s) would I use? Nothign on here https://stripe.com/docs/api/events/types is jumping out at me
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Or do I just need to schedule a job in my system when I set the due date?
I believe customer.subscription.updated event would be generated when the subscription moves to past_due status
lmk if that helps @dusky plank
These are not subscriptions, just one off invoices
Invoices don't have past_due status, subscriptions do
Ok, so if I make an invoice with a due date and that date passes, there's no event?
I think they might transition to the status that you have for this setting which would trigger an event