Answer the question
In order to leave comments, you need to log in
How to find the amount taking into account the commission, so that later you get the amount without commission?
Hello. I want to connect a payment system to the site. There is no item in the settings who pays the commission. I want to add a commission to the final cost.
Commission: 2%
If, for example, for payment without commission: 1000 rubles, then what will be the commission with + 2%.
1000 + 2% = 1020 is not good, because the system will subtract 2% from 1020 and in the end it will turn out: 999.6 and it should turn out exactly 1000
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question