#devendra_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/1427285284076261419
📝 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.
- devendra_api, 15 minutes ago, 8 messages
Hello, if you have a subscription with a schedule, we reccommend updating the schedule's phases rather than the subscription itself. It is expected for only the schedule's first phase to change when updating the subscription, so your integration will want to figure out how the change effects all phases and apply that to the schedule.
No. I need to update first phase but when getting data of first phase there is no one time product. this case of future subscrtioion .
so how to get it. we need to get info one time product which chargeed when subcrtion active.
we need to sometime modification before active subscrtion
I'm having trouble understanding what exactly you want this update to look like. Can you give me an example with simple numbers?
I want to update a future subscription.
When I fetch the subscription’s phase data, the one-time products are not included.
If I update anything using this phase data, the one-time products get removed.
The one-time products are part of the initial invoice that will be generated when the future subscription becomes active.
Gotcha, I think the parameter that will help you are is add_invoice_items on the phase. That parameter is for adding one time invoice items. If you include the one time items in that, they should be added to the invoice properly https://docs.stripe.com/api/subscription_schedules/update?api-version=2025-09-30.clover#update_subscription_schedule-phases-add_invoice_items
Okay so we'll add one time product in this param. then use for same update and get estimate api also.
If you use it when updating the subscription schedule, the items should show up properly when you get the upcoming invoice as well. Definitely something to test in test mode to confirm.