#Webiny Developer -

1 messages · Page 1 of 1 (latest)

round zenith
#

👋 Hi there, Happy to help!

ashen ravine
#

thanks

round zenith
#

Could you give more context about your question please?

ashen ravine
#

sure, so we have a users subscription with a paid price id with quantity 10, the user then downgrades to 5, then upgrades to 8. We want, at the end of the billing month for the user to be charged for 10 users (downgrades should only take effect the next billing month). When we update the subscription, each time we set proration_behavior: 'none' but at the end of the month the user is refunded the deducted time and we dont want that refund to happen.

round zenith
#

Sorry for my late reply

#

Could you please share a subscription Id?

ashen ravine
#

no problem sub_1LehdHIAsgoacznCp6DCiE34

round zenith
#

Thanks for sharing, analyzing...

#

Jsute give me couple of minutes please

ashen ravine
#

thanks

round zenith
ashen ravine
#

here is the invoice in question: in_1Lei5uIAsgoacznCGZJkyo4W

round zenith
#

Could you share the requestId when you set the proration_behavior: none?

ashen ravine
#

I think all updates to subscriptions in the last few days have had proration_behavior set to 'none' but yeah this one will do

round zenith
#

You create a first phase with a current plan, when a user tries to upgrade/downgrade, you update the subscription schedule with a new phase that start next month