VirtueMart Forum

VirtueMart 1.1.x [ Old version - no longer supported ] => Payment VM 1.1 => PayPal / PayPal Pro VM 1.1 => Topic started by: Riccardo on August 29, 2008, 17:09:31 PM

Title: help needed: paypal discount based upon total instead of subtotal...how to?
Post by: Riccardo on August 29, 2008, 17:09:31 PM
Hi, because of paypal fee (about 3.6% of the total) i need to charge my customers of this fee.

In the backend i set the discount as -3.6 in percentage so at the end it becomes a +3.6%

but i see that vm calculate the 3.6% of the subtotal, but i want it calculate 3.6% of (subtotal+shipping) (taxes included of course)

i tried many ways but it always show what i don't want.

Do you know what i can modify in the files to achieve this?

Thank you

Ricky
Title: Re: help needed: paypal discount based upon total instead of subtotal...how to?
Post by: mscruse on September 16, 2008, 10:05:42 AM
Did you find a solution to this problem?  I have exactly the same issue and need to find a solution.

Cheers
Michael.
Title: Re: help needed: paypal discount based upon total instead of subtotal...how to?
Post by: Riccardo on September 16, 2008, 11:55:15 AM
unfortunately not yet found a solution. i asked in other forums but nothing yet.

i will try to study the db and the code by myself and hope to find a way... if i will get success i will post the solution
Title: Re: help needed: paypal discount based upon total instead of subtotal...how to?
Post by: fire2 on May 29, 2009, 23:28:20 PM
Hi Riccardo,
 Did you get a solution for that? I am having the same issue. The Payment method fee (PayPal) only calculates the percentage on the products and doesn't include the shipping, when it should. I wish I could fix this a.s.a.p because I'm running a live site.

Soeren, do you have any idea?

Thankyou.
Title: Re: help needed: paypal discount based upon total instead of subtotal...how to?
Post by: Milbo on August 25, 2009, 17:01:22 PM
Maybe not a real solution

you may add another discount with minus only for the shipment....
Title: Re: help needed: paypal discount based upon total instead of subtotal...how to?
Post by: daxander on September 05, 2009, 14:34:56 PM
there is also another problem.

My PayPal fee is -3.50 percent.
On 21.00 USD, this amount is 0.74

But is shows Paypal(+0.62) !!!!

And THEN when I select next..  I see a fee of 0.74
So it does show he right amount, but it is crazy.

When I finally select next and go to the Paypal site, the amount is changed again !!  But now the total amount is not 21.74, BUT 21.72.

Can somebody please tell me what the hell is going on and why Virtuemart does not give support or updates on the Paypal module ?  It is totally crap.. everybody has he same problems.

Who can help ?
Title: Re: help needed: paypal discount based upon total instead of subtotal...how to?
Post by: akeem76 on November 29, 2009, 21:16:34 PM
I'm also looking for this solution.

It seems that using "Subtract payment discount before tax/shipping?" either untick nor tick, does not do any good. It does not include the shipping cost into the fee calculation. I hardly think that it relates to the paypal discount calculation.

and Milbo, your suggestion does not help, because if there are other payment options then other customers will incur the cost too.

I had search high and low.... I think no one has this solution.