Replies: 1 comment 2 replies
-
You can use Stripe's test clocks to forward time and create a past due subscription and use that JSON for the object with the |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm writing system tests for a Pay implementation, and I'm trying to write a test covering if someone's Stripe subscription has gone past due. I assume a charge fails and they send a webhook event, but I don't see any tests in Pay except in Braintree covering this case. Is this how it works in Stripe? We rely on Stripe to tell us to disable an account? I was expecting to see
ends_at
set to matchcurrent_period_end
, but this makes enough sense, I just would like to confirm since I can't find it in the Stripe code.Beta Was this translation helpful? Give feedback.
All reactions