#bilelkhadhraoui
1 messages · Page 1 of 1 (latest)
Hello! Have you looked at our Test Clocks documentation? https://stripe.com/docs/billing/testing/test-clocks
thanks
And which event in stripe hook provide me that subscription is end without payment
You probably want to look at customer.subscription.updated and check previous_attributes to see when the status changes: https://stripe.com/docs/api/events/object#event_object-data-previous_attributes
what about customer.subscription.deleted
That will fire if the Subscription is canceled.
But depending on your settings it may not be canceled when payment is overdue.
and how inactivate this option ?
Those settings are on this page: https://dashboard.stripe.com/settings/billing/automatic
👋 Taking over this thread, catching up now
For successful payment of the invoice of a subscription, invoice.paid can be listened: https://stripe.com/docs/billing/subscriptions/webhooks#active-subscriptions