How to calculate product price after adding payment gateway commission to it?
问题 We have an item to sell worth around $100. There is a 5% tax applicable to it. A third party payment gateway takes a commission of 3% of total amount given to gateway (ie., 3% of 100+5%). Since its not possible to charge 3% payment gateway commission customer, we hide this extra commission under item price. So the price should be increased from 100 to an "X" amount. (100 + 5% tax) + 3% Commission = (X + 5% Tax) ; Please note when increase amount from X + 5% Tax, the commission also increases.