#defekt7x - Subscription Invoice
1 messages · Page 1 of 1 (latest)
All good!
I think your best bet to test out this functionality would be to use Test Clocks instead of adjusting the trial days.
https://stripe.com/docs/billing/testing/test-clocks
Unless I miss my guess the Dashboard action is what is accelerating the finalization (since it sees you taking manual action).
Got it. So when the 14 days end on its own, this shouldn't be an issue?
I don't think so but I would advise using the Test clock to advance time by 14 days to see the behavior.
It's a feature I haven't been able to play around much with but I really want to. I think it will help make testing subscriptions much more powerful
Yeah I've tried it a couple of times locally and it's really cool, I like it a lot. The problem with this specific scenario is that I can only test on Staging, so I'd have to manually add my clock ID in the code and do a deployment , etc. Not ideal testing scenarios, but that's something I'll just need to power through
You can also create Test Clocks through the Dashboard in Test mode
That may be a useful alternative
Oh yeah, I was thinking I had to pass the Test Clock ID to my this.stripe.customers.create() call, but I guess I could just do it from the dashboard
Appreciate your help @trim cloud
Sure thing! I hope you can crank out Test Clocks to your hearts content
oh wait, it looks like I can't add existing customers to a Test Clock. I can only create new customers
that's why I had to modify the code before when I was using this before.
Oh oh oh