VirtueMart Forum

VirtueMart 1.1.x [ Old version - no longer supported ] => Payment VM 1.1 => PayPal / PayPal Pro VM 1.1 => Topic started by: fbc on March 15, 2012, 23:11:32 PM

Title: PayPal IPN Error: Order Total/Currency Check failed
Post by: fbc on March 15, 2012, 23:11:32 PM
What causes this? What should I do about it?

During a paypal transaction on your site the received amount didn't match the order total.
                   Order ID: 2384.
                   Order Number: 111_022f778316daab3fe21f5bf3cb6d.
                   The amount received was: 27.84 USD.
                   It should be: 27.84 EUR.
Title: Re: PayPal IPN Error: Order Total/Currency Check failed
Post by: fbc on March 15, 2012, 23:27:01 PM
I think changing this in the paypal code should fix it.

// "currency_code" => $_SESSION['vendor_currency'],
"currency_code" => $db->f('order_currency'),