跳至內容
選單
此問題已被標幟

Hey everyone,


I’m building a subscription management system in a React app that connects to Odoo, and I’m trying to figure out the best way to handle proration when users upgrade their plans.


Current Setup:

Right now (in testing, not production), each time a user upgrades or downgrades, I create a new subscription in Odoo and charge them the full amount for that plan.


What I Want to Do:

When a user upgrades, I’d like to charge them only the difference between their current plan and the new one, instead of having them pay the full price again.


For now, I’m focusing on upgrades only (I’ll deal with downgrades later). Ideally, I’d like to support two options:

1-Instant upgrade: charge the user immediately for the difference and activate the new plan right away.

2-Scheduled upgrade: keep the current plan active until the next billing date, then switch to the new one.


Plan Details:

Supports monthly and yearly billing.


Offers predefined plans (single Odoo products) and custom plans, where users pick the number of users, projects, etc. (each as separate products).


Has anyone implemented a similar upgrade/proration flow with Odoo subscriptions? Would love to hear how you handled it or if there’s a built-in approach I might’ve missed.


Thanks!

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
0
9月 25
394
0
7月 25
1165
4
5月 25
3016
0
5月 25
1290
0
1月 25
1485