#James-subscriptions
1 messages ยท Page 1 of 1 (latest)
Thanks! I can provide some code snippets of my schedule update if it would be helpful
The subscription isn't metered currently
and you're using the same price id?
I don't think you need schedules for that
is there a reason why you are using Subscription Schedules other than to do this?
We use schedules to change prices at the end of the current cycle (monthly -> yearly). So we want quantity increases to occur immediately, but price changes to happen at the next cycle
When I attempted to increase the quantity of the current subscription outside of a schedule while a schedule was in place it could not apply the update due to the schedule being in place
yep, if the subscription is managed by a schedule you're limited in the updates you can make
you can update the schedule object and adjust the current phase if you want to apply an immediate update though.
Thanks Karllekko, but can i send an invoice for the update immediately? AFAIK Stripe only allows the additional cost top be prorated onto the next invoice
yep, proration_behavior:always_invoice should do that
Unfortunetly, that is not a valid option with the Java library https://stripe.com/docs/api/subscription_schedules/update?lang=java#update_subscription_schedule-phases-proration_behavior
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
yeah true, we never added that to schedules(it's a new-ish param and they didn't prioritise adding it to Schedules when they added to Subs, I 'll raise the feedback again)
sorry!
Could you suggest a workaround for this issue?
without that the only way to force an invoice for the proration would be to set billing_cycle_anchor:now as well but that's obviously quite different
maybe just do a manual one-off invoice directly and calculate the amounts yourself. So no, not really any good workarounds.
Okay, thank you. Is it possible to subscribe to this missing functionality to be notified once the issue is resolved? so that I can remove any workaround I do implement?
not really no
you can write to https://support.stripe.com/?contact=true to raise the feedback but we don't generally do any type of notification like that ever
Okay, that's a shame. Thank you for your assistance
actually I looked and I think this is being released quite soon
I can't commit to specific dates but it seems like they're targeting the end of this month(but of course could slip). When it's available it will just be a new enum value you can pass to that phases.proration_behavior param
since you use stripe-java you can watch https://github.com/stripe/stripe-java/blob/master/CHANGELOG.md since we'd have to release a new version with support for a new enum in the param when the API itself updates.