#.buddhaha
1 messages · Page 1 of 1 (latest)
Hello! We'll be with you shortly. 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.
Hi, let me help you with this.
That's an interesting case. Please checkout out this guide: https://stripe.com/docs/billing/subscriptions/upgrade-downgrade
The key is the proration_behavior property: https://stripe.com/docs/api/subscriptions/update#update_subscription-proration_behavior
When the customer requests an update, you can check whether the current quantity parameter is lower than the requested quantity, and set proration_behavior: "create_prorations" or "always_invoice", if not, then you set "none"
Yeah, but it still reduces the quantity immediately, from what I can see
Yeah, that's correct. If you want to avoid it you can create a workaround by saving this "upcoming update" in your database or Subscription.metadata. Then, when you get the invoice.created webhook event, when your billing cycle renews in the end of the year, you can apply the update.