News:

Support the VirtueMart project and become a member

Main Menu

PayPal IPN Error: Order Currency Check failed

Started by rainman2000, January 16, 2010, 20:07:40 PM

Previous topic - Next topic

rainman2000

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

rainman2000


viktorwe7

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?

rainman2000

Hi,

Thanks for the reply. Our default currency is USD and all our transactions are completed using USD. I'm at a lost.

viktorwe7

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.




rainman2000

I actually increased my session limit a couple weeks ago to 120 minutes and that didn't help either.  Go figure.

viktorwe7

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.
   

rainman2000

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.

viktorwe7

I have the same patch too.

Do you have a virtual server?

rainman2000

#9
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

viktorwe7

#10
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?

rainman2000

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

viktorwe7

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?


rainman2000


viktorwe7

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.