#glenlivette - subscription updates
1 messages · Page 1 of 1 (latest)
No I do not
Here is the intro doc https://stripe.com/docs/webhooks
ah ok so this is a use case
Exactly. If you set up an endpoint, we will send you events when things happen on your account
In this case you are interested in the subscription based webhook events. I think we have a doc specifically on those
so the webhook url will just be my server endpoint
Yes
Have you seen our settings for handling/retrying failed subscription payments? https://stripe.com/docs/billing/subscriptions/overview#settings
I will look into that
But I am wondering. What is the event for "this customer has paid the invoice, theyre good again keep their services running"
because i see "subscription_schedule.canceled", "customer.subscription.deleted" which are enough for me to know that I should not provide them access to services im charging for
but I cant find an event for "they paid all invoices for this subscription, theyre good now"
And how do I set "cancel subscription after x days" programmatically with node.js?
invoice.paid is the event
https://stripe.com/docs/billing/subscriptions/webhooks is likely the main doc you want to read
As for "cancel after X days" it depends a bit what you mean by that
yes sorry
I mean in regards to after retries
like how do I set the amount of retries after failed credit card charges and days
days to cancel after no successful CC charges for last invoice
just want to really control when Im updating my database as to when I shouldnt honor a users usage of my app
dunning -> cancellation
https://dashboard.stripe.com/settings/billing/automatic you control the behaviour here
yes!