#alalva_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/1306717543280414810
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
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.
- alalva_api, 1 day ago, 8 messages
the problem is that when i make this call happen it didn't update the user with the correct plan instead its using the current plan and will invoice it again at the year end cycle. So basically what i want this to do is so show the current plan that is active and also show the new plan which in this case starts Nov.14 2025. I'm not sure if i should also be seeing that the current active plan shows that it wont be invoiced again nov 14, 2025.
Hi there ๐ can you share the ID of the Subscription and/or Subscription Schedule that you're using in your testing?
hi, the subscription is sub_1QL5UgATCXjCgCHXV7iBrDiM
Hm, that Subscription doesn't appear to be associated with a Subscription Schedule.
sub_sched_1QL9ZqATCXjCgCHXRAI3YOJo try this one
the first subscribtion i gave you is the one that the user is currently on
And that's the one you want the Subscription Schedule to change in the future?
correct
Gotcha, you need to take a slightly different approach then.
and it looks like it is scheduled for Nov 14 2025 but it looks like the current one will be invoiced as well.
When you create the Subscription Schedule initially, you'll want to use from_subscription to create a Schedule that is driving an existing Subscription:
https://docs.stripe.com/billing/subscriptions/subscription-schedules#:~:text=You can also create subscription schedules by passing a subscription ID%3A
https://docs.stripe.com/api/subscription_schedules/create#create_subscription_schedule-from_subscription
Then you can make a request to update the Subscription Schedule and add additional phases.
thank you Toby. i'll try this now. appreciate your help!
Any time! Let me know if that still doesn't do what you're hoping and I'd be happy to take another look.