#tiger-subscription-pricechange
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.
- delightful_tiger_32309, 5 days ago, 16 messages
- js-subscription-mixedbillingcycles, 5 days ago, 28 messages
- tiger-elements-subscription, 5 days ago, 10 messages
- delightful_tiger_32309, 6 days ago, 73 messages
tiger-subscription-pricechange
@dense valve you would create a new Price price_123 for the new amount and then you need to decide how you want to handle the price change. I assume it'll charge the new price amount next cycle like what Neflix or Disney+ do when they raise prices? If so you'd use the SubscriptionSchedules API to plan a future change. See https://stripe.com/docs/billing/subscriptions/subscription-schedules/use-cases#upgrading-subscriptions
Yes
My idea is to send an email before updating the price and after next month (for example) the new price will be 10$.
yep makes sense so what I outlined is the best approach
Ok, but I need to do it transparently for the user.
I can't find my user case in this resource
My use case is to update the price of the product and immediately update all subscriptions related to this price.
yes sorry that is exactly what I explained above with the exact steps. There's no "button to press" here. As a developer you write code to migrate every Subscription one by one using a SubscriptionSchedule exactly as documented in the link I sahred
ok, but my subscriptions are created for the Checkout session Page, I also calculate the shipping cost and taxes.
Do you mean this use case?
https://stripe.com/docs/billing/subscriptions/subscription-schedules/use-cases#changing-subscriptions
yes that works
ok
SubscriptionScheduleUpdateParams paramsUpdate =
SubscriptionScheduleUpdateParams.builder()
.addPhase(
SubscriptionScheduleUpdateParams.Phase.builder()
.addItem(
SubscriptionScheduleUpdateParams.Phase.Item.builder()
.setPrice(schedule.getPhases().get(0).getItems().get(0).getPrice())
.setQuantity(schedule.getPhases().get(0).getItems().get(0).getQuantity())
.build()
)
.setStartDate(schedule.getPhases().get(0).getStartDate())
.setEndDate(schedule.getPhases().get(0).getEndDate())
.build()
)
.addPhase(
SubscriptionScheduleUpdateParams.Phase.builder()
.addItem(
SubscriptionScheduleUpdateParams.Phase.Item.builder()
.setPrice("{{PRICE_PRINT_BASIC}}")
.setQuantity(1L)
.build()
)
.setIterations(1L)
.build()
)
.build();
In this example, would Price_print_basic be the new price?
yes
And what about other old prices?
I don't understand what you mean I'm sorry
Yes, I meant what about the old subscription price?