Forums / PayPal Express Checkout support / Checkout Error code 10413....

Checkout Error code 10413....

Locked

Views: 36,433

Results 1 to 20 of 82
This thread is locked. New replies are disabled.
9 Jan 2008, 9:30 PM
#1
jim_cushman avatar

jim_cushman

New Zenner

Join Date:
Dec 2007
Posts:
10
Plugin Contributions:
0

Checkout Error code 10413....

10413 Transaction refused because of an invalid argument. See additional
error messages for details. - The totals of the cart item amounts do not
match order amounts. (18) transfer closed with -1 bytes remaining to read

What the heck does that mean? It's happened 2x today to customers trying to pay by CC through Express Checkout.

10 Jan 2008, 8:50 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: Checkout Error code 10413....

jim cushman:

10413 Transaction refused because of an invalid argument. See additional
error messages for details. - The totals of the cart item amounts do not
match order amounts. (18) transfer closed with -1 bytes remaining to read

What the heck does that mean? It's happened 2x today to customers trying to pay by CC through Express Checkout.

What version of Zen Cart? if 1.3.7, have you applied the PayPal patches?
Who is your hosting company?
What version of PHP?

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

11 Jan 2008, 2:10 AM
#3
dml73 avatar

dml73

Zen Follower

Join Date:
Oct 2007
Posts:
416
Plugin Contributions:
0

Re: Checkout Error code 10413....

DrByte:

What version of Zen Cart? if 1.3.7, have you applied the PayPal patches?
Who is your hosting company?
What version of PHP?

I got same error code from one customer today. I'm using Zen Cart version 1.3.8a, hosting company 2mHost.com, PHP version 5.2.4. Any idea what could be the problem??

11 Jan 2008, 6:35 AM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: Checkout Error code 10413....

Okay, if it's saying that the totals of items and summaries on the order don't add up, it's important to look at what those details were.
Were they using some sort of non-standard shipping option? or a coupon? or a gift certificate? or some custom discount addon?
Which products were in the cart? Were there attributes associated with those products? Were there any special pricing options set on those attributes, such as qty discounts or one-time charges or word/letter charges, etc?

Can you replicate the problem on-demand?
If so, turn on debug logging in your paypal module and post the various log files it generates.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

14 Jan 2008, 10:24 PM
#5
jurjenruben avatar

jurjenruben

New Zenner

Join Date:
Dec 2007
Posts:
86
Plugin Contributions:
0

Re: Checkout Error code 10413....

Hey DrByte,

I've installed PayPal today, and got the same error code (10413). I (think) I installed everything correctly...
I wil PM you the error logs, since I don't know if there will be any delicate info in there...

Hope you can help me out, as usual :smile:

Regards,
Jurjen

15 Jan 2008, 1:33 PM
#6
jurjenruben avatar

jurjenruben

New Zenner

Join Date:
Dec 2007
Posts:
86
Plugin Contributions:
0

Re: Checkout Error code 10413....

Hi,

I found this:
**Sub-Total: ** €29.42
**Shipping: ** €0.10
**VAT: ** €4.70 (which is incorrect! --> 19% VAT 29.42 + 0.10 = 29.52 --> *0.19 (19%) = 5.61)

**Total: ** €29.52 (VAT not included...)

So, my tax/VAT is being calculated incorrectly, and it is not added to the total amount. This is (probably) why I get the error:
"The totals of the cart item amounts do not match order amounts.".

Any ideas on how to fix this?
By the way, I'm using ZenCart 1.3.8.

Regards,
Jurjen

15 Jan 2008, 3:14 PM
#7
jurjenruben avatar

jurjenruben

New Zenner

Join Date:
Dec 2007
Posts:
86
Plugin Contributions:
0

Re: Checkout Error code 10413....

jurjenruben:

Hi,

I found this:
**Sub-Total: ** €29.42
**Shipping: ** €0.10
**VAT: ** €4.70 (which is incorrect! --> 19% VAT 29.42 + 0.10 = 29.52 --> *0.19 (19%) = 5.61)

**Total: ** €29.52 (VAT not included...)

So, my tax/VAT is being calculated incorrectly, and it is not added to the total amount. This is (probably) why I get the error:
"The totals of the cart item amounts do not match order amounts.".

Any ideas on how to fix this?
By the way, I'm using ZenCart 1.3.8.

Regards,
Jurjen
This statement is rubbish... The 29.42 is item price + tax....
Still having the error by the way.

17 Jan 2008, 4:28 AM
#8
lukeksenior avatar

lukeksenior

New Zenner

Join Date:
May 2007
Posts:
9
Plugin Contributions:
0

Re: Checkout Error code 10413....

I am getting the same error. To me it seems like zencart is sending through the total to PayPal before it is adding the freight hence the diffence in totals. I may be completely wrong though. I am not a programer

17 Jan 2008, 9:16 AM
#9
jurjenruben avatar

jurjenruben

New Zenner

Join Date:
Dec 2007
Posts:
86
Plugin Contributions:
0

Re: Checkout Error code 10413....

hmm. Please post any help, I'd really appreciate it, since the I'm still getting the error... I'll do the same, of course.

Regards, Jurjen

21 Jan 2008, 6:26 AM
#10
lukeksenior avatar

lukeksenior

New Zenner

Join Date:
May 2007
Posts:
9
Plugin Contributions:
0

Re: Checkout Error code 10413....

Anybody had any luck my sales have dropped off not being able to offer PayPal. Any help would be appreciated

21 Jan 2008, 9:46 AM
#11
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: Checkout Error code 10413....

Without the answers to the questions I posted earlier, all I can do feel sad for your dilemma.
http://www.zen-cart.com/forum/showpost.php?p=488026#post488026

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

21 Jan 2008, 10:31 PM
#12
lukeksenior avatar

lukeksenior

New Zenner

Join Date:
May 2007
Posts:
9
Plugin Contributions:
0

Re: Checkout Error code 10413....

Ok Dr Byte

It happens with every sale i can make it happen on demand I set up email & log alert and it sent me 44 emails. Im sure you dont want them all.
The products were for a standard item no atributes or coupons were used.

This is the error report
10413 Transation refused because of invalid argument. See additional error messages for details. The total of the cart items amounts do not match order amounts.

Like I said earlier when you are in the transaction you have bought a product you then hit express checkout and it takes you to PayPal before you have seen the freight componient.

Hoping you can help

Luke

22 Jan 2008, 5:02 PM
#13
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: Checkout Error code 10413....

Luke, what version of Zen Cart?
How are your taxes configured? (rates, tax-included vs not, basis of tax, etc)
And, yes, the emails would help. Although it'd be easier to zip up the log files from your server than to copy and paste several emails.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

23 Jan 2008, 11:20 PM
#14
lukeksenior avatar

lukeksenior

New Zenner

Join Date:
May 2007
Posts:
9
Plugin Contributions:
0

Re: Checkout Error code 10413....

Hi DrByte,

Firstly it was working fine until I upgraded to 1.3.8a I didnt change the tax setup. however it is set to 10% on goods within Australia and 0 for the rest of the world. I will attach the log file for you as well.

Hoping you can help thanks again

Luke

24 Jan 2008, 12:04 AM
#15
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: Checkout Error code 10413....

I gather you're configured to deal with "Tax Included" in all your prices?

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

1 Feb 2008, 2:54 AM
#17
lukeksenior avatar

lukeksenior

New Zenner

Join Date:
May 2007
Posts:
9
Plugin Contributions:
0

Re: Checkout Error code 10413....

Hi Dr Byte,

Can you please let me know if you have had any luck with this issue.

Much appreciated

10 Feb 2008, 4:48 AM
#18
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: Checkout Error code 10413....

Seems to be related to the Display Prices With Tax switch being set to true.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

10 Feb 2008, 10:46 PM
#19
lukeksenior avatar

lukeksenior

New Zenner

Join Date:
May 2007
Posts:
9
Plugin Contributions:
0

Re: Checkout Error code 10413....

Dr Byte thanks for getting back to me do you know how I can fix this issue? Do I need to display my goods without tax.

11 Feb 2008, 2:04 PM
#20
thomasharding avatar

thomasharding

Zen Follower

Join Date:
Sep 2007
Location:
Manchester, England
Posts:
168
Plugin Contributions:
0

Re: Checkout Error code 10413....

Dr Byte thanks for getting back to me do you know how I can fix this issue? Do I need to display my goods without tax.

One of our clients is having the same problem and that setting is switched to false.