#gto-tm_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/1281651887439089790
đ 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.
- gto-tm_api, 2 hours ago, 18 messages
from_subscription is the only way to create a Subscription Schedule for an existing Subscription. That will create a phase[0] automatically, which represents the existing configuration of the Subscription (e.g. same billing cycle, same invoice timing, same Invoice Items, etc.)
From there, you can create a new phase[1] for whatever comes after phase[0]
yes, i need to set phase[0] start_date to the past. for proration calculations
proration_date also cant be set to the past either
Right, you would only be able to set proration_date to a past timestamp if there are no phases involved. In other words, you wouldn't be able to use Subscription Schedules until after you backdate the Subscription: https://docs.stripe.com/billing/subscriptions/backdating?dashboard-or-api=api
can i backdate existing subscription ?
Yup! The final paragraph of those docs talks about that
i tried to set proration_date to earlier than first phase of subscription schedule but it didnt work. it said i can only set it within the current phase start and end
i setup subscription schedule with phases, then i tried to modify subscription proration_date but it didnt really work , it said it needs to be within start and end of the phase
Right, because you can only backdate within the existing billing period. There's no way to backdate an existing subscription to any date that's earlier than the existing billing period. The only way you could do that is if the Subscription hasn't been created already