News:

Looking for documentation? Take a look on our wiki

Main Menu

Problems with paypal fees in VM 2.0.24 and above

Started by patrik60, November 18, 2013, 20:25:00 PM

Previous topic - Next topic

patrik60

Hello

One of the payment methods in my shop is Paypal with a fee of 2%.

Until version 2.0.22 e.g. 2% of 45 were 0.9. Since version 2.0.24 (and also 2.0.24a) its now 0.92.

2% of 90 = 1.84
2% of 135= 2.76
2% of 180 = 3.67 (~??  The wrong result of 180 should be 3.68)

I can't see the logic behind this.

Regards Patrik

Milbo

It is taking in consideration, that you need to pay the fee.
for example, you must pay 100 euro,.. then you pay for example 2% payment costs, so you have to pay actually for 102 euro, then you must do this calculation again and again theoretically. Actually there is some maths you can do a kind of 1.5 iteration, which is close enough. But there should be an option, cause it is similar to the rounding thing.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

patrik60