#Webiny Developer -
1 messages · Page 1 of 1 (latest)
thanks
Could you give more context about your question please?
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.
no problem sub_1LehdHIAsgoacznCp6DCiE34
thanks
Unless I miss understand something in your request, but I'm not seeing any refund for that subscription,
I see there is only one invoice has been paid so far: with 10items with a price of 18$
https://dashboard.stripe.com/test/invoices/in_1LehdHIAsgoacznCp2kLtFYT
Could you share the requestId when you set the proration_behavior: none?
is it this one ?
https://dashboard.stripe.com/test/logs/req_BmWDkVmBFUbEVb
I think all updates to subscriptions in the last few days have had proration_behavior set to 'none' but yeah this one will do
For your use case, I think you should use subscription schedule in order to achieve what you are looking for
https://stripe.com/docs/billing/subscriptions/subscription-schedules
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