If this is your first visit, check our documentation. To post, register or login.

10413 problem again

Locked

Started by alan145 on 22 Oct 2010, 1:54 PM · Views: 2,706

Results 1 to 20 of 21
This thread is locked. New replies are disabled.
22 Oct 2010, 1:54 PM
#1
alan145 avatar

alan145

New Zenner

Join Date:
Aug 2009
Posts:
63
Plugin Contributions:
0

10413 problem again

Hello Every boday,
Previously, I use the justhost to run my zen cart website, and one month again I changed to godaddy, but then after one months, some day, I received the 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.
do I need to fill in cURL Proxy Address?

and I have add the code according to "Monsz" instruction, but I don't know whether it is OK now, as customer seems wanna to buy again on our website.

http://www.zen-cart.com/forum/showthread.php?t=85643&page=4
```, Thanks.

and I check the error of this transaction as below:```
2010-10-21 04:24:26
-------------------
(live transaction) --> https://api-3t.paypal.com/nvp
Request Headers: 
Array
(
    [0] => Content-Type: text/namevalue
    [1] => X-VPS-Timeout: 45
    [2] => X-VPS-VIT-Client-Type: PHP/cURL
    [3] => X-VPS-VIT-Integration-Product: PHP::Zen Cart - WPP-NVP
    [4] => X-VPS-VIT-Integration-Version: 1.3.8a
)


Request Parameters: {DoExpressCheckoutPayment} 
Array
(
    [ITEMAMT] => 985.00
    [SHIPPINGAMT] => 122.00
    [AMT] => 1.00
    [L_NUMBER0] => JT-2026
    [L_QTY0] => 1
    [L_NAME0] => 7 Benz M-Class ML 350 W164 DVD Player with touch screen, USB, SD, AM/FM radio, Bluetooth, Ipod, GPS, Igo map with 2G SD card C
    [L_AMT0] => 985.00
    [L_TAXAMT0] => 0.00
    [SHIPTONAME] => Eduard Markin
    [SHIPTOSTREET] => Radio 6 -13
    [SHIPTOCITY] => Nizhny Novgorod
    [SHIPTOSTATE] => Nizhegorodsky reg.
    [SHIPTOZIP] => 603135
    [SHIPTOCOUNTRYCODE] => RU
    [BUTTONSOURCE] => ZenCart-EC_us
    [TOKEN] => EC-08A0695814339742Y
    [PAYERID] => 6823ENBBFLKQ6
    [PAYMENTACTION] => Sale
    [NOTIFYURL] => http://www.mydomain.com/ipn_main_handler.php
    [METHOD] => DoExpressCheckoutPayment
    [CURRENCYCODE] => USD
    [USER] => ****_api1.yahoo.com.cn
    [PWD] => ****************
    [VERSION] => 3.2
    [SIGNATURE] => ****************************************************EPTA
)


Response: 
Array
(
    [TIMESTAMP] => 2010-10-21T11:24:26Z
    [CORRELATIONID] => c55f40c45ebe5
    [ACK] => Failure
    [VERSION] => 3.2
    [BUILD] => 1553277
    [L_ERRORCODE0] => 10413
    [L_SHORTMESSAGE0] => Transaction refused because of an invalid argument. See additional error messages for details.
    [L_LONGMESSAGE0] => The totals of the cart item amounts do not match order amounts.
    [L_SEVERITYCODE0] => Error
    [CURL_ERRORS] => 
)


DoExpressCheckoutPayment, Elapsed: 255ms -- Failure

TIMESTAMP=2010%2d10%2d21T11%3a24%3a26Z&CORRELATIONID=c55f40c45ebe5&ACK=Failure&VERSION=3%2e2&BUILD=1553277&L_ERRORCODE0=10413&L_SHORTMESSAGE0=Transaction%20refused%20because%20of%20an%20invalid%20argument%2e%20See%20additional%20error%20messages%20for%20details%2e&L_LONGMESSAGE0=The%20totals%20of%20the%20cart%20item%20amounts%20do%20not%20match%20order%20amounts%2e&L_SEVERITYCODE0=Error&CURL_ERRORS=

So, Could you tell me anything I can do fix this bug, I use 1.3.8a zen cart. Thank you very much!

22 Oct 2010, 1:59 PM
#2
drbyte avatar

drbyte

Sensei

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

Re: 10413 problem again

Those problems were fixed in the latest v1.3.9 release. You need to upgrade.

.
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.

22 Oct 2010, 5:15 PM
#3
tonyz avatar

tonyz

New Zenner

Join Date:
Aug 2004
Location:
Providence, RI USA
Posts:
30
Plugin Contributions:
0

Re: 10413 problem again

Hi folks,

This morning I received a 10413 PayPal Express error. I searched through these forums
and found that some people are having roundoff error issues , but my problem appears more severe.
Here's a snipet from today's log:

[ITEMAMT] => 1,088.00
[SHIPPINGAMT] => 30.00
[AMT] => 1.00

I am running V1.3.8a (Yeah, I know I need to upgrade).

Any idea why the total amount is coming out to only $1.00 ???

Any help is appreciated.
Tony

22 Oct 2010, 8:15 PM
#4
drbyte avatar

drbyte

Sensei

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

Re: 10413 problem again

It's doing that because it's rejecting the comma in the price. That, and tons of other things, are addressed in the v1.3.9 code. Fastest fix is to upgrade.

.
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.

22 Oct 2010, 9:11 PM
#5
mr_pibb avatar

mr_pibb

New Zenner

Join Date:
Jul 2009
Posts:
20
Plugin Contributions:
0

Re: 10413 problem again

DrByte:

It's doing that because it's rejecting the comma in the price. That, and tons of other things, are addressed in the v1.3.9 code. Fastest fix is to upgrade.

I understand that the best solution is to move to 1.3.9, but after installing tons of add-ons, that's a bit of a daunting task for most users. I'm good with this type of stuff, but the "easy" instructions don't seem so easy to me. This certainly isn't the "fastest" fix for me!

This just popped up out of nowhere for me starting yesterday. I've been running 1.3.8a, and have had no issues. I switched to express checkout from ipn a month or two ago, but suddenly I'm getting these error for tons of orders. I didn't change anything recently except install the Export Shipping & Order Information add on (maybe a week ago), and it doesn't overwrite any files.

Why would it work fine one day and error out the next? If you've fixed it in 1.3.9, is there a way I could incorporate that fix in 1.3.8?

Dumb question: where are people getting this log information? I've been using Zen Cart for 2 years and I've never figured that out....

If it matters, I'm using Hostmonster. Could they have changed something on their server?

22 Oct 2010, 9:37 PM
#6
drbyte avatar

drbyte

Sensei

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

Re: 10413 problem again

Mr.Pibb:

This just popped up out of nowhere for me starting yesterday.Is this your first order over 999.99 ?
Mr.Pibb:

Why would it work fine one day and error out the next?Very good question.
Mr.Pibb:

If you've fixed it in 1.3.9, is there a way I could incorporate that fix in 1.3.8?Hundreds of improvements were added. You can work on hacking them all into your current code if you like, but I submit that it'll be better time spent to upgrade than to backport code that has many codependencies on other components.
Mr.Pibb:

Dumb question: where are people getting this log information? I've been using Zen Cart for 2 years and I've never figured that out....What "log information"?
Mr.Pibb:

If it matters, I'm using Hostmonster. Could they have changed something on their server?They might have, but it wouldn't be related to the symptoms you mentioned, unless maybe they've changed PHP versions and suddenly now truncate values that weren't getting truncated before.

.
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.

22 Oct 2010, 9:54 PM
#7
mr_pibb avatar

mr_pibb

New Zenner

Join Date:
Jul 2009
Posts:
20
Plugin Contributions:
0

Re: 10413 problem again

DrByte:

Is this your first order over 999.99 ?
Very good question.
Hundreds of improvements were added. You can work on hacking them all into your current code if you like, but I submit that it'll be better time spent to upgrade than to backport code that has many codependencies on other components.
What "log information"?
They might have, but it wouldn't be related to the symptoms you mentioned, unless maybe they've changed PHP versions and suddenly now truncate values that weren't getting truncated before.

Well, I thought I had orders over $1000, but after looking back it looks like I haven't had any since I changed to Express Checkout. Apparently I just got a small pile of orders over $1000 over the last couple days. I suppose I can temporarily change back to IPN, but I do want to keep things running properly and up to date, and I like how Express Checkout works.

Here's my problem...I probably COULD figure this all out, but this online store (which is still my "second" job), has gotten real busy, and I have the full time job, family, etc... My brain doesn't have enough extra space to solve this upgrade stuff. I've learned a lot, but I feel like I'm in "short circuit" mode. I'm sure I don't need ALL the mods I've installed over the past couple years, but like a lot of other people have commented in various places...the upgrade instructions just don't make a lot of sense to me.

Are there any reputable companies that can do this upgrade for me? Maybe I'm not doing the right searches in the forums here, but I'm not finding any references to businesses doing this. Obviously I'd want anyone with access to my store and web page to have a history that shows they're trustworthy.

The log I speak of is the one where people are seeing things like this:

[ITEMAMT] => 1,088.00
[SHIPPINGAMT] => 30.00
[AMT] => 1.00

What log is that coming from and how do I get to it?

Thanks for your reply, by the way.

Tim

22 Oct 2010, 9:58 PM
#8
drbyte avatar

drbyte

Sensei

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

Re: 10413 problem again

Those logs are generated as a result of having the Debug Settings in your PayPal module set to Log To File (if you're getting files), or Log To Email (if you're getting 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.

22 Oct 2010, 10:40 PM
#9
tonyz avatar

tonyz

New Zenner

Join Date:
Aug 2004
Location:
Providence, RI USA
Posts:
30
Plugin Contributions:
0

Re: 10413 problem again

Tim,

The log files are in the following directory of your zencart installation:

/includes/modules/payment/paypal/logs

What's wierd is that I just enabled PayPal DEBUG mode today in order
to track down my problem, but when I went to the above mentioned
directory, I had logs there dating back a couple of years. So I'm
not sure what setting DEBUG mode gets you. IOW, log files were being
created even when DEBUG mode was disabled. Perhaps Dr. Byte
can clarify this point for us.

Tony

22 Oct 2010, 10:58 PM
#10
mr_pibb avatar

mr_pibb

New Zenner

Join Date:
Jul 2009
Posts:
20
Plugin Contributions:
0

Re: 10413 problem again

Thanks guys.
Yep the files are there.

Same issue, it's over $1000...
[ITEMAMT] => 1,047.93
[SHIPPINGAMT] => 74.00
[TAXAMT] => 0.00
[AMT] => 1.00

So no way to fix this reasonably easily without going to the latest version?

Any suggestions regarding finding someone reputable I could pay to do an upgrade for me?

Thanks,
Tim

22 Oct 2010, 11:11 PM
#11
drbyte avatar

drbyte

Sensei

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

Re: 10413 problem again

I think there was a quirk in an older version that caused those debug logs to be generated even if the option was turned off. I think it was a conflict between multiple PayPal modules being enabled at one time, and then not turning the switch off properly or something. It's fixed in the latest version of course :wink:

.
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.

22 Oct 2010, 11:17 PM
#12
tonyz avatar

tonyz

New Zenner

Join Date:
Aug 2004
Location:
Providence, RI USA
Posts:
30
Plugin Contributions:
0

Re: 10413 problem again

Tim,

I'm in the same boat as you regarding upgrading ZenCart. I cringe whenever I
have to do it.

Having said that, I did manage to upgrade my installation once a couple years ago. If you are
methodical, take good notes along the way, and follow the upgrade directions closely,
it's not too bad.

Good luck!
Tony

22 Oct 2010, 11:23 PM
#13
tonyz avatar

tonyz

New Zenner

Join Date:
Aug 2004
Location:
Providence, RI USA
Posts:
30
Plugin Contributions:
0

Re: 10413 problem again

Thanks DrByte for clarifying the log creation issue!

BTW, is there an "official" document available with
instructions on how to upgrade from 1.3.8a to the
current version? I searched but couldn't seem to find it.

Thanks so much!
Tony

22 Oct 2010, 11:57 PM
#14
drbyte avatar

drbyte

Sensei

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

Re: 10413 problem again

Starting point, with links to official instructions: https://www.zen-cart.com/tutorials/index.php?article=98

.
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 Oct 2010, 12:09 AM
#15
alan145 avatar

alan145

New Zenner

Join Date:
Aug 2009
Posts:
63
Plugin Contributions:
0

Re: 10413 problem again

Hello DrByte,
Thank you for your Reply, because currently our zen cart site has many add ons and some other changese, so it will need take so much time to compare each file, then to upgrade to 1.3.9g,
so if there is currently has the solution of 1.3.8a, that is good, and we can upgrade it in the following days, and we will do not lost customer curretly. Thank you!

23 Oct 2010, 12:48 AM
#16
drbyte avatar

drbyte

Sensei

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

Re: 10413 problem again

In the interim, you could try this suggestion posted in the known-bugs thread: http://www.zen-cart.com/forum/showthread.php?p=786569#post786569

.
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 Oct 2010, 3:25 AM
#17
alan145 avatar

alan145

New Zenner

Join Date:
Aug 2009
Posts:
63
Plugin Contributions:
0

Re: 10413 problem again

DrByte:

In the interim, you could try this suggestion posted in the known-bugs thread: http://www.zen-cart.com/forum/showthread.php?p=786569#post786569

Hello DrByte,
I have check my paypal log and the problem is when the order is over 1000 USD, then it can't complete this order, see below:

 [ITEMAMT] => 965.00
    [SHIPPINGAMT] => 81.00
    [AMT] => 1.00
 

the amont only display 1.00, thus cause the problem, I don't add any tax for my price, is your instruction can solve my problem, right? I will change it and test it later,
by the way, if use PayPal IPN - Website Payments Standard, there no such bug, right?
Thank you so much, as I am not know the code, So what I can do is try and try:smile:.
Thanks for DrByte

23 Oct 2010, 4:31 AM
#18
alan145 avatar

alan145

New Zenner

Join Date:
Aug 2009
Posts:
63
Plugin Contributions:
0

Re: 10413 problem again

I think I have the same problem with "tonyz", both when the amount 1000 USD than, it failed to complete the order, and DrByte also talked about the

It's doing that because it's rejecting the comma in the price. That, and tons of other things, are addressed in the v1.3.9 code. Fastest fix is to upgrade. 

, so Do I need to set the Thousands Point to 0 or left blank? currently I set it to comma, is that right?
Thank you and have a good weekend.

23 Oct 2010, 4:41 AM
#19
drbyte avatar

drbyte

Sensei

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

Re: 10413 problem again

alan145:

the amont only display 1.00, thus cause the problem, I don't add any tax for my price, is your instruction can solve my problem, right?It's not related to tax.
The instruction should solve your problem.
alan145:

by the way, if use PayPal IPN - Website Payments Standard, there no such bug, right?Maybe. But Website Payments Standard has other problems that will cause you difficulty.
alan145:

Do I need to set the Thousands Point to 0 or left blank? currently I set it to comma, is that right?That's unrelated to this problem.

.
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 Oct 2010, 10:22 PM
#20
tonyz avatar

tonyz

New Zenner

Join Date:
Aug 2004
Location:
Providence, RI USA
Posts:
30
Plugin Contributions:
0

Re: 10413 problem again

DrByte:

Starting point, with links to official instructions: https://www.zen-cart.com/tutorials/index.php?article=98

Thanks! I'll read up on the upgrading process and then give it a shot.

Tony