VirtueMart Forum

VirtueMart 1.1.x [ Old version - no longer supported ] => Payment VM 1.1 => PayPal / PayPal Pro VM 1.1 => Topic started by: rainman2000 on January 16, 2010, 20:07:40 PM

Title: PayPal IPN Error: Order Currency Check failed
Post by: rainman2000 on January 16, 2010, 20:07:40 PM
Hi All,

We're using Virtuemart 1.1.3 with Paypal.  We get the following error on about 1 out of every 4 or 5 of our purchases.  I haven't been to concerned about the error since we're receiving all our money, but it is becoming annoying.  Please note that we ALWAYS receive "It should be: 0 ." and there is never an amount listed here unlike many similar posts. So, I don't think it has anything to do with taxes. However, our shipping is always free, so could it be simply taking the 0 amount for shipping and sending it to Paypal?


During a paypal transaction on your site the received amount didn't match the order total.
                        Order ID: xxxx.
                        Order Number: xxxx.
                        The amount received was: 239.95 USD.
                        It should be: 0 .

Thanks,
rainman
Title: Re: PayPal IPN Error: Order Currency Check failed
Post by: rainman2000 on January 20, 2010, 01:45:21 AM
Anyone have any ideas about this?

Thx,
rainman
Title: Re: PayPal IPN Error: Order Currency Check failed
Post by: viktorwe7 on January 30, 2010, 16:15:44 PM
Quote from: rainman2000 on January 16, 2010, 20:07:40 PM
Hi All,

We're using Virtuemart 1.1.3 with Paypal.  We get the following error on about 1 out of every 4 or 5 of our purchases.  I haven't been to concerned about the error since we're receiving all our money, but it is becoming annoying.  Please note that we ALWAYS receive "It should be: 0 ." and there is never an amount listed here unlike many similar posts. So, I don't think it has anything to do with taxes. However, our shipping is always free, so could it be simply taking the 0 amount for shipping and sending it to Paypal?


During a paypal transaction on your site the received amount didn't match the order total.
                        Order ID: xxxx.
                        Order Number: xxxx.
                        The amount received was: 239.95 USD.
                        It should be: 0 .

Thanks,
rainman

Hi rainman,

I have the same problem, 50% of payments is OK, 50% NOT. Our shipping is not free, but problem is same, also you wrote, that 1 purchase of every 4 has error, but 3 donˇt have, so I think the problem  canˇt be in shipping.

I donˇt know how to decide this problem yet, but I suppose, that problem is in currency. For example our default currency is EEK, but payment through paypal is EUR. Do you have any currencies for payment in Your shop?
Title: Re: PayPal IPN Error: Order Currency Check failed
Post by: rainman2000 on January 30, 2010, 16:34:10 PM
Hi,

Thanks for the reply. Our default currency is USD and all our transactions are completed using USD. I'm at a lost.
Title: Re: PayPal IPN Error: Order Currency Check failed
Post by: viktorwe7 on January 30, 2010, 17:33:02 PM
Hmm,

so it seems, that currency doesnˇt play a role here.

Also the problem could be in session time (I had 15 min, now I put 60 min) and will see whats happened. oTherwise I try to reproduce/get this problem for myself, but all my transactions are still pretty completed now.



Title: Re: PayPal IPN Error: Order Currency Check failed
Post by: rainman2000 on January 30, 2010, 17:50:03 PM
I actually increased my session limit a couple weeks ago to 120 minutes and that didn't help either.  Go figure.
Title: Re: PayPal IPN Error: Order Currency Check failed
Post by: viktorwe7 on January 30, 2010, 18:32:36 PM
few times I received paypal payment  from the customer, who last time paid with this problem. Very interesting that one time payment is OK next time is NOT, i mean the payments from the same customers.

How is you paypal payment looks? Does order generate and send confirmation email to the client BEFORE the payment or after? My system makes it AFTER the payment is confirmed by the payment gateway.
   
Title: Re: PayPal IPN Error: Order Currency Check failed
Post by: rainman2000 on January 30, 2010, 18:40:00 PM
My confirmations go out after the payment is received.  I had to use this patch (http://b-planet.com/VirtueMart/paypal-patch.html) to make that happen though. I'm not sure if the problem is related to this patch or not.
Title: Re: PayPal IPN Error: Order Currency Check failed
Post by: viktorwe7 on January 30, 2010, 18:45:45 PM
I have the same patch too.

Do you have a virtual server?
Title: Re: PayPal IPN Error: Order Currency Check failed
Post by: rainman2000 on January 30, 2010, 19:04:26 PM
Bingo! 

That's the issue. I just went through all my emails (luckily I rarely delete).  The first time I received this PayPal IPN error is on Oct. 26, 2009 and I installed the patch on Oct. 25, 2009. 

No, I do not have a virtual server.

I posted this problem on the b-planet forum at http://forum.b-planet.com/viewtopic.php?f=4&t=65
Title: Re: PayPal IPN Error: Order Currency Check failed
Post by: viktorwe7 on January 30, 2010, 19:14:13 PM
So how does it worked before the patch? As Virtuemart standart paypal payment, confirmation before? I mean did you use paypal standart method before patch installing?
Title: Re: PayPal IPN Error: Order Currency Check failed
Post by: rainman2000 on January 30, 2010, 19:23:44 PM
Before I installed the patch all the PayPal IPN emails were as follows:

Hello,

a PayPal transaction for you has been made on your website!
-----------------------------------------------------------
Transaction ID: xxxxxxxx
Payer Email: user@email.com
Order ID: xxxxxxxxxxxxx
Payment Status returned by PayPal: Completed
Order Status Code: C
Title: Re: PayPal IPN Error: Order Currency Check failed
Post by: viktorwe7 on January 30, 2010, 19:28:18 PM
Yes, I have the same answers with this patch too, when the transaction is successful. But before the installing patch the payment steps were also different (before confirmation and after that payment, isnˇt it?)

If I get this message, so I dont get confirmation order too and client cart also empty, but all the goods are in stock. Do you have same story?

Title: Re: PayPal IPN Error: Order Currency Check failed
Post by: rainman2000 on January 30, 2010, 19:31:05 PM
Yes, I had the same exact issue.
Title: Re: PayPal IPN Error: Order Currency Check failed
Post by: viktorwe7 on January 30, 2010, 19:37:57 PM
Very interesting, that somebody pays alltime without problem, somebody partically has problems and so hard to reproduce this problem for me to find it out.

Ok, lets see maybe somebody get answer on b-planet.