#Manny_Manny_2023
1 messages · Page 1 of 1 (latest)
Hi
through phase add item
Correct, by adding new item
Or you create a separate new Subscription to the customer.
how to remove a item from phase if subscription is cancelled
If a Subscription is canclede you need to create a new Subscription
no, we mean if two subscriptions are there in subscription schedule and one is cancelled, how to remove it from phase
How is two Subscriptions are in a Subscription Schedule? only one Subscription is attached to a Subscription Schedule.
Do you have an example of an Id ?
we are have this requirement where we want to add all customer subscriptions in one subscription schedule through phase additem, we will add the item as price data, is it possible
Yes, you can add items to Subscription Schedule's phases
https://stripe.com/docs/api/subscription_schedules/update?lang=python#update_subscription_schedule-phases-items-price_data
once an item is added to a phase and phase has lets say 10 items, how to delete a item from phase
You update the phase with 9items (remove the one you want to delete)
is there any method in java to remove an item from phase, i was going to api documentation for java and no method is there
You need to manupilate an array with Java, there is no particular Stripe API for it... aka removing an element from an array and call the update API
lets say the schedule is for 1st and then an item is add in phase on 20th, will it be prorated automatically or do we have to set something
we create a subscrption for each customer, whenever a new employee gets added for customer we are adding a new line item with employee salary as price and when we remove an employee we want to remove that particular item, but the problem here is subscrpition is only active for 24 hrs. But previously we use to add subscrptionschedule for each employee . How can we address this problem , os that the subscprtion stay active for few days so that we can follow up and make him pay
Do you have a Subscription Example Id? I encourage you to create a concrete example using Stripe Test Clock, and share it with us and what action you are not/want to achieve:
https://stripe.com/docs/billing/testing/test-clocks
thank you, will revert back after using test clock