#shubhamjha
1 messages ยท Page 1 of 1 (latest)
Delete the schedule or the subscriptions themselves?
The release behavior tells the schedule to detach itself from the subscription when the last phase is happens
Can you tell me more about what you are trying to do here?
i just want to delete the shedule subscription
and create new for new subscriptions
๐ stepping in
Are these schedules already active?
Or they are scheduled to start in the future?
YES SHEDULE FOR FUTURE
also DELETE THIS and chnge other subscription for future
K then you use https://stripe.com/docs/api/subscription_schedules/cancel to cancel the Subscription Schedule
And then you can recreate
If that is what you want to do
Release is for when a Sub Schedule completes. See: https://stripe.com/docs/api/subscription_schedules/object#subscription_schedule_object-end_behavior
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
is this code is works ? await stripe.subscriptionSchedules.del(scheduleId);
If the Sub hasn't started yet then canceling and releasing will effectively do the same thing
Would recommend testing out whatever you plan on doing in test mode first to ensure it behaves as expected
I just want to delete it completely in the schedule itself before the scheduled date.
please ?
Yes then await stripe.subscriptionSchedules.del(scheduleId); will do the trick
But like I said, you should test in test mode first
To make sure it behaves as you expect/want
ok i also test it in test clock option?
Yep that would be a good way to do it