#.letscode
1 messages · Page 1 of 1 (latest)
Hi there!
This is covered here: https://support.stripe.com/questions/test-mode-subscription-data-retention
but it's stopping Schedule when i update time
To mark a Subscription as exempt from automatic deletion, click Actions > Mark as exempt from test mode auto deletion.
there is no option in action
pf screenshot atached
Sub ID: sub_1NYQ9eFG3Dh3H5V4LLvv3Hhw
Thanks, having a look at the ID.
Looks like for test clock, we automatically delete them after 30 days, and there's no way to prevent this.
https://stripe.com/docs/billing/testing/test-clocks#delete-clock
Why do you want to keep a Subscription with a test clock for more than 30 days?
I want to test my code, for next payment, its capturing as expected or some behaviour missing
also need to test once, subscriptionschedule done (iteration 3), update my code as full payment done
You can do that with Test Clock: create the subscription, then move time forward to make sure everything works as excpeted. Then later the Subscription gets deleted automatically.
check this: sub_1NY5GgFG3Dh3H5V4AFZgJZfR
it was done canceling my subscriptionschedule
I'm not sure I understand. What's the issue with the subscription you just shared?
The Subscription is active and has 2 paid invoices.
please check events--> you can see SubscriptionSchedule objects creating multiple times
as my knowlde, SubscriptionSchedule in one-one for Subscription
The two "a subscription schedule was created" event come from two API request your code made:
https://dashboard.stripe.com/test/logs/req_5jFvAP65sI6cqz
https://dashboard.stripe.com/test/logs/req_L7Efb0UtBuzrjW
So again I don't understand what's the issue.