VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: guardiano78 on April 06, 2016, 11:21:02 AM

Title: paypal standard configuration
Post by: guardiano78 on April 06, 2016, 11:21:02 AM
http://forum.virtuemart.net/index.php?topic=133751.0

I have problem with calculation fees for payment methods.
Maybe a bug?

Thanks.
Title: Re: paypal standard configuration
Post by: guardiano78 on May 09, 2016, 23:13:10 PM
I upgraded to virtuemart 3.0.16 and joomla 3.5.1, but I still have this problem.
It's never happened to anyone?
the payment costs should be: (5 + 8 + 2.86) * 4/100 = 0.63
Instead, in the totals, for the calculation of the payment costs goes like this: (5 + 8 + 2.86 + [(5 + 8 + 2.86) * 4/100 = 0.63]) * 4/100 = 0.66
I am sure that the plugin adds the payment costs to the total order and then recalculates the 4%
Even "standard payment" makes this kind of calculation, however, at paypal difference amounts are equal (both in total and in the list of payments)
If it's not a bug, please explain to me what is wrong in my virtuemart configuration?

thanks for your patience!
Title: Re: paypal standard configuration
Post by: lindapowers on May 10, 2016, 04:48:26 AM
Have you checked this old post? http://forum.virtuemart.net/index.php?topic=117823.30
Title: Re: paypal standard configuration
Post by: guardiano78 on May 10, 2016, 09:59:00 AM
Thank you for response, i tried the source code suggested for setCartPrices function (blank page) and after i tried to overwrite file vmpsplugin.php but it doesn't work.
Always blank page.
The only think that i have understood, is that the problem could be in vmpsplugin.php file.
Title: Re: paypal standard configuration
Post by: guardiano78 on May 10, 2016, 10:25:34 AM
I solve the issue by setting in paypal configuration, Cost method calculation = Progressive
In this way i have payment costs = 0.66 and amount payment costs = 0.66
In my personal opinion we have a bug for standard payment cost calculation and amount payment cost calculation.
Instead paypal plugin (Cost method calculation = Fixed), make the correct cost calculation.
otherwise amount payment costs calculation work always with progressive method.
Thank you for help.
Title: Re: paypal standard configuration
Post by: lindapowers on May 10, 2016, 13:43:44 PM
I'm glad the link helped you, Regards