VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: patrik60 on November 18, 2013, 20:25:00 PM

Title: Problems with paypal fees in VM 2.0.24 and above
Post by: patrik60 on November 18, 2013, 20:25:00 PM
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
Title: Re: Problems with paypal fees in VM 2.0.24 and above
Post by: Milbo on November 18, 2013, 20:32:25 PM
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.
Title: Re: Problems with paypal fees in VM 2.0.24 and above
Post by: patrik60 on November 18, 2013, 20:50:14 PM
Ok, thanks for the explanation.