#cookie
1 messages · Page 1 of 1 (latest)
Personally, my preferred approach for testing things like this is to actually run through the flow that would generate event in test mode. So for this case I would create a Customer, create a Subscription, and then end the Subscription.
Hi, thanks for reachnig out, am I correct in saying that customer.subscription.deleted only initiates when the customer has stopped paying and the plan is cancelled?
Thanks for a response in advance. :-)
It is triggered whenever a Customer's Subscription ends.
If you're working on testing Subscription flows, I also want to point out our Test Clock functionality in case you haven't already seen it. It let you create objects inside of a sandbox where you can fast-forward time allowing you to test Subscription flows much more rapidly.
https://stripe.com/docs/billing/testing/test-clocks
@copper osprey did you have any follow up question?
That's alll, thanks.