Prorate calculations incorrect?

  • Nathan
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
4 months 4 weeks ago - 4 months 4 weeks 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



 
Last edit: 4 months 4 weeks ago by Nathan.

Please Log in or Create an account to join the conversation.

More
4 months 4 weeks 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

Please Log in or Create an account to join the conversation.

More
3 weeks 3 days 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.

More
3 weeks 2 days ago #175957 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Prorate calculations incorrect?
@guitarman: In your case, it's for onetime or recurring subscription plans ?

Tuan

Please Log in or Create an account to join the conversation.

More
3 weeks 2 days ago - 3 weeks 2 days ago #175960 by guitarman
Replied by guitarman on topic Prorate calculations incorrect?
In fact, i tested it with both, with onetime and recurring updates, and with different prorate modus'.
is it possible that it doesn't work with certain payment providers?
What really astonishes is that the extension of the membership time doesn't work.
Last edit: 3 weeks 2 days ago by guitarman.

Please Log in or Create an account to join the conversation.

More
3 weeks 18 hours ago #175973 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Prorate calculations incorrect?
Hello

For this, better please submit a support ticket so that we can check it directly on your site

Regards,

Tuan

Please Log in or Create an account to join the conversation.