VirtueMart Forum

VirtueMart 1.1.x [ Old version - no longer supported ] => Payment VM 1.1 => PayPal / PayPal Pro VM 1.1 => Topic started by: loui211 on August 11, 2010, 14:06:28 PM

Title: Discount recognition in Paypal
Post by: loui211 on August 11, 2010, 14:06:28 PM
Does anyone know how to fix this.

When a customer submits a discount coupon on an item say 10% this amount gets deducted correctly from the product in Virtuemart.

However if they flow through to pay using Paypal, Paypal deduct the 10% from the item price and a further 10% from the discount. 

Therefore the 2 amounts Virtuemart and Paypal do not match.

Eg Product 12.75 - 10% disc ($1.28) = $11.47 - Virtuemart
   Product 12.75 - 10% disc ($1.28) - 10% disc ($0.12) = $11.35 - Paypal

Therefore I get a message from Paypal such as

"During a paypal transaction on your site the received amount didn't match the order total."

I've tried a few things, but can't seem to find where to fix this.

Title: Re: Discount recognition in Paypal
Post by: Joseph Kwan on August 12, 2010, 07:41:03 AM
Are you sure the second discount is a coupon discount? It is not 10% of the total.
Title: Re: Discount recognition in Paypal
Post by: consolecustoms on August 17, 2010, 22:40:22 PM
What does your paypal extra info look like in the paypal configuration?

Does the amount show up correctly in Virtuemart?

take a look at my post in this thread. http://forum.virtuemart.net/index.php?topic=49535.75

This is a modified "paypal extra info" script that will send the actual items details to paypal. I did not create it but I modified it to correct issues with tax and coupons send to paypal. It works excellent and look much better than the default "paypal extra info" which only send the total order information and no individual details.