Unfortunately this isn't fixed. We've had another situation causing extra commissions to be generated to an affiliate
Basically, a user made a purchase for a recurring subscription using a coupon code, in which the affiliate commissions were properly calculated. Then a day later upgraded to higher plan. The amount was prorated as a result of the prior subscription, however the commissions were still calculated on the full amount of the new plan instead of the actual amount paid.
EX:
- user 1 subscribed to plan A = $20/month - %50 coupon code = $10/month
- user 1 upgraded the following day to plan B = $50/month
- actual prorated amount paid for upgrade to plan B = $40 one-time, THEN $50/month
- commission calculated and sent to affiliate = affiliate % of $50 (should be affiliate % of $40 due to prorated amount actually paid)
In this scenario we're losing funds as a result of the affiliate being over paid.
I don't know how you've made the calculations and/or the complexities of it. However, commissions should always and only be paid on the actual payment amount including after any discounts, prorations, or any other item which may impact the cost.
So either there is a parameter that can be passed which is simply the actual payment received, or every scenario needs to be handled sufficiently so the proper calculations are made to always = actual payment amount. Of course, it is hopeful you could simply send the actual payment amount, but either way we need to ensure we're not losing funds as a result of overpaid commissions. Thank you