Currently, when a customer purchases a SaaS product from an affiliate and upgrades/downgrades their subscription plan, the commission is calculated based on the price of the original plan as of now. Commissions should be calculated based on the actual amount paid, not original plan. It doesn't also work well in case of prorated payment and upgrading to annual plan.
I hope this issue is resolved as soon as possible because this makes it impossible to offer affiliate marketing for SaaS products.