#adityalystlocdeveloper_33428
1 messages ยท Page 1 of 1 (latest)
Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- adityalystlocdeveloper_33428, 3 hours ago, 21 messages
- adityalystlocdeveloper_33428, 6 days ago, 14 messages
- adityalystlocdeveloper_33428, 6 days ago, 15 messages
- adityalystlocdeveloper_33428, 6 days ago, 8 messages
Hi there!
hi
you can use the end_behavior parameter https://stripe.com/docs/api/subscription_schedules/create#create_subscription_schedule-end_behavior
if i put cancel then what happen?
the subscription will cancel.
but if we have active schudle for same subscription then how to handle that case
suppose we have one plan in phase 2
i don't understand your question. what are you trying to do?
see we have subscriptions
i am using schduled subscription if user want to chnage a plan
for same subscription
so if already a new plan is schudled in phase 2 but user requested to cancel subscription in phase 1
๐ taking over for my colleague. Let me catch up.
you can always cancel the subscription schedule https://stripe.com/docs/api/subscription_schedules/cancel
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
but if i cnacel schudle then my next plan schudle will be canceled?
yes all of the phases will be canceled
even if you cancel the underlying subscription the schedule will be canceled as well
but i want current subscription be active till it ends
means i want subscription will end at end of current period
in that case you can update the schedule changing the end_behavior to cancel https://stripe.com/docs/api/subscription_schedules/update#update_subscription_schedule-end_behavior
and adding only the current phase
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
in the phases array https://stripe.com/docs/api/subscription_schedules/update#update_subscription_schedule-phases
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
solved issue thanks
let me know if you need any more help