Project

General

Profile

Actions

Feature proposal #7181

open

Implement option for prorating based off amount paid instead of plan price

Added by krileon over 6 years ago. Updated about 1 month ago.

Status:
Assigned
Priority:
Normal
Assignee:
Target version:
Start date:
08 June 2018
Due date:
% Done:

0%

Estimated time:

Description

If a user is subscribed to a recurring plan and they upgrade to another plan the prorated remaining value is based off the plan price and not what the user actually paid. So for example if they paid $35 instead of $99 (plan price) the prorating is based off $99 and should be based off $35. Example as follows.

Per day Value: $99 / 30 = $3.3
Used Value: $3.3 x 1 = $3.3
Credit: $99 - $3.3 = $95.7
Prorated Upgrade: $999 - $95.7 = $903.3
Discounted Upgrade: $903.3 - $579 = $324.3

With the above the user was charged $324.3 when upgrading from a $99/mo plan to a $999/yr plan. The user was subscribed to the $99/mo plan for 1 day. The user also applied a $579 discount (with a coupon). HOWEVER they did not pay $99 for the per-month plan. They paid $35/mo due to a promotion being applied (non-coupon based). This likely also affects single payments as well. To test use the below steps.

1. Purchase Plan
2. Change Plan Price
3. Upgrade to Different Plan

The remaining value should calculate based off what they originally paid, but appears it will be based off the new price of the plan instead.

https://www.joomlapolis.com/forum/277-cb-paid-subscriptions-support/239247-incorrect-pro-rated-amount?start=6

Actions #1

Updated by krileon over 6 years ago

  • Tracker changed from Bug to Feature proposal
  • Subject changed from Prorating remaining value is based off plan price and not amount actually paid to Implement option for prorating based off amount paid instead of plan price
  • Priority changed from Urgent to Normal

As discussed this is working as designed since it's based off the value even if that value has been given to the user (e.g. 50% off still gives them the full value of the plan). It'd be good to have a option for prorating to be based off the amount paid though.

Actions #2

Updated by beat over 6 years ago

  • Target version changed from CBSubs 4.2.1 to CbSubs 4.4.1
Actions #3

Updated by krileon over 1 year ago

  • Project changed from 2 to CB Paid Subscriptions
  • Target version changed from CbSubs 4.4.1 to 4.6.2
Actions #4

Updated by beat over 1 year ago

  • Target version changed from 4.6.2 to 4.7.0
Actions #5

Updated by beat about 1 year ago

  • Target version changed from 4.7.0 to 4.7.1
Actions #6

Updated by beat 6 months ago

  • Target version changed from 4.7.1 to 4.8.0
Actions #7

Updated by beat about 1 month ago

  • Target version changed from 4.8.0 to 4.8.1
Actions

Also available in: Atom PDF