- Posts: 26
- Thank you received: 0
Prorate calculations incorrect?
- Nathan
- Topic Author
- Offline
- Junior Member
-
Less
More
4 months 5 days ago - 4 months 5 days ago #173227
by Nathan
Prorate calculations incorrect? was created by Nathan
Hello,
I believe some of the prorate calculations for the plan upgrade all incorrect and unfair for the user.
The documentation for the prorated upgrade options is here:
docs.joomdonation.com/membershippro/basi...lans/upgrade-options
docs.joomdonation.com/membershippro/basi...ated-upgrade-options
It is unclear from that if the "By Price" option restarts the billing period. Does it? If it does then that one is fair but the user has to pay more up front.
If the user wants to keep the same start and end date the correct calculation should be as follows:
UPGRADE_CHARGE = (NEW_PLAN_PRICE - CURRENT_PLAN_PRICE) * DAYS_LEFT / 365
Using the $30 example on the first docs page I linked will look like this:
UPGRADE_CHARGE = ($50 - $30) * 10 / 30 = $6.67
I believe some of the prorate calculations for the plan upgrade all incorrect and unfair for the user.
The documentation for the prorated upgrade options is here:
docs.joomdonation.com/membershippro/basi...lans/upgrade-options
docs.joomdonation.com/membershippro/basi...ated-upgrade-options
It is unclear from that if the "By Price" option restarts the billing period. Does it? If it does then that one is fair but the user has to pay more up front.
If the user wants to keep the same start and end date the correct calculation should be as follows:
UPGRADE_CHARGE = (NEW_PLAN_PRICE - CURRENT_PLAN_PRICE) * DAYS_LEFT / 365
Using the $30 example on the first docs page I linked will look like this:
UPGRADE_CHARGE = ($50 - $30) * 10 / 30 = $6.67
Last edit: 4 months 5 days ago by Nathan.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
4 months 4 days ago #173233
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Prorate calculations incorrect?
Hi Nathan
Actually, the prorate calculation is only designed for upgrading from one time payment subscription plan for recurring subscription plan
Upgrading to recurring plan is complicated and the price calculation won't work properly at the moment
Regards,
Tuan
Actually, the prorate calculation is only designed for upgrading from one time payment subscription plan for recurring subscription plan
Upgrading to recurring plan is complicated and the price calculation won't work properly at the moment
Regards,
Tuan
Please Log in or Create an account to join the conversation.
- guitarman
- Away
- Junior Member
-
Less
More
- Posts: 21
- Thank you received: 4
1 hour 57 minutes ago #175954
by guitarman
Replied by guitarman on topic Prorate calculations incorrect?
I ran into the same issue. Also pro-rate time-calculations don't work at the moment.
Please Log in or Create an account to join the conversation.
Support
Documentation
Information
Copyright © 2025 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.