#-reduce-_api
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
๐ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1338840214444965959
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
hi there!
no the Subscrpition shouldn't cancel
can you share a Subscription ID (sub_xxx) with thit issue?
Hello Sure
sub_1QrHwpJZ9pJk48QCMRI2I5BR
this subscription had schedule when i stripe.SubscriptionSchedule.cancel("sub_sched_xxxx)
Subscription also cancelled
stripe.SubscriptionSchedule.cancel("sub_sched_1QrHzRJZ9pJk48QCIZCMImZ9")
it was Id os sub_sched
all test mode
and one more thing when i set subbscription schedule for one month for different amount after sub_sched is done amount schloudnt go back to original value? because it leaves subscription with subscription schedule amount
๐ taking over for my colleague. Let me catch up.
you shouldn't cancel the subscription schedule in that case
and one more thing when i set subbscription schedule for one month for different amount after sub_sched is done amount schloudnt go back to original value?
no you need then to create 2 phases
actually 3 phases
1 with the current price
2 with the new price
3 with the old price back
ohhh got it ! thanks but why I shouldn't cancel subscription schedule in that case?
what If I had to
?
if you no longer wish that the subscription schedule manages the subscription you should call the http://docs.stripe.com/api/subscription_schedules/release
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
nice. THanks!
the cancel API will also cancel the subscription that the schedule manages
got it
please take the time to read through the different docs related to subscription schedules starting with https://docs.stripe.com/billing/subscriptions/subscription-schedules