#.buddhaha

1 messages · Page 1 of 1 (latest)

night glenBOT
#

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.

shrewd badge
#

Hi, let me help you with this.

#

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"

tall knot
#

Yeah, but it still reduces the quantity immediately, from what I can see

shrewd badge
#

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.