#henribrv
1 messages · Page 1 of 1 (latest)
Hello! The Dashboard is likely aware of the Subscription Schedule and is making the changes to it rather than the Subscription directly.
Or it's using a special Dashboard-only API, which is possible.
What's your question about this?
How can I help?
Hey Rubeus, Paul here, working in the same team
For one of our clients we are managing many subscriptions for customers
The client would like for logistical reasons that all the weekly payment are billed at the same time, let's say sunday 23h59
How would we be able to update subs and subs sched to invoice everyone at the same time
I'd like to use the api to update the billing date of subscriptions that have already started. I want to keep the same billing day but change the billing time to 23:59.
One thing I want to note first is that Subscription calculations are based on the period start and end, so the amount billed will be based on the specific times specified, but the actual time the amount is charged might be different because of how our internal systems work. We're not going to bill for many thousands of Subscriptions at the exact same time, for example, we're going to queue those charges up and run them over a bit of time.
Regarding how to update them, the error message is accurate, if a Subscription is controlled by a Subscription Schedule you need to update the Subscription Schedule: https://stripe.com/docs/api/subscription_schedules/update
Thanks! Yes no worries it doesn't need to be really precise.
Regarding the update of the subcription schedule we can't update the current phase
Looks like the customer will be billed twice
You can update the current phase (and future ones), but you can't modify phases in the past. See here: https://stripe.com/docs/billing/subscriptions/subscription-schedules#updating
You should be able to do what you're describing, and you can test without waiting for periods to end using Test Clocks to make sure it does what you expect: https://stripe.com/docs/billing/testing/test-clocks
If there's a specific error you're running into I'd be happy to take a look at a request ID and help you further. Here's how you can find a request ID: https://support.stripe.com/questions/finding-the-id-for-an-api-request
Thanks a lot, just to be clear are every subscription controlled by sub sched ? we ran into issues were the sub sched as expired but still controls the sub
Subscription Schedules control a Subscription until their phases end or until the Subscription is explicitly released.