Re: 10413 Transaction refused because of an invalid argument.
Hi Dr Byte.
Thanks for the prompt answer but it is "Bad news"!!!
I tryed on a test site the new version just for the sake of it and had problems with the db that I have never been able to fix.
However, it was working before....how comes?
thanks
enzo
Re: 10413 Transaction refused because of an invalid argument. [Fixed v1.3.9]
I have been through a number of threads and can not find a solution to this problem.
The totals of the cart item amounts do not match order amounts.
Below is a copy of the paypal debug, please help.
2011-02-19 01:58:19
-------------------
(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(tm) - PayPal/NVP
[4] => X-VPS-VIT-Integration-Version: 1.3.9f
)
Request Parameters: {SetExpressCheckout}
Array
(
[AMT] => 332.32
[ITEMAMT] => 315.02
[SHIPPINGAMT] => 17.30
[L_NUMBER0] =>
[L_NAME0] => Aleppo soap (4x220g) 50* virgin Olive oil and 50* Laurel
oil
[L_AMT0] => 29.70
[L_QTY0] => 3
[L_NUMBER1] =>
[L_NAME1] => 4 x Alum Stone natural deodorant 35g/45g
[L_AMT1] => 11.71
[L_QTY1] => 3
[L_NUMBER2] =>
[L_NAME2] => 3x100ml Cosmetic Argan Oil
[L_AMT2] => 39.90
[L_QTY2] => 3
[L_NUMBER3] =>
[L_NAME3] => Savon Noir, Moroccan Beldi black soap 4x200g
[L_AMT3] => 23.71
[L_QTY3] => 3
[LOCALECODE] => IT
[PAYMENTACTION] => Sale
[ALLOWNOTE] => 1
[LANDINGPAGE] => Billing
[EMAIL] => [email protected]
[PHONENUM] => xxxxxxxxxxx
[RETURNURL] =>
https://www.c u t e l u x . com/ipn_main_handler.php?type=ec&zenid=3d4ac409bb76ccae3ba1456163f29a39
[CANCELURL] =>
https://www.cutelux.com/index.php?main_page=checkout_shipping&ec_cancel=1&zenid=3d4ac409bb76ccae3ba14561 63f29a39
[PAGESTYLE] => Primary
[METHOD] => SetExpressCheckout
[CURRENCYCODE] => EUR
[USER] => info_api1. c u t e l u x . com
[PWD] => ****************
[VERSION] => 60.0
[SIGNATURE] => ****************************************************A96A
)
Response:
Array
(
[TIMESTAMP] => 2011-02-19T07:58:19Z
[CORRELATIONID] => 8df2f39ec938c
[ACK] => Failure
[VERSION] => 60.0
[BUILD] => 1741654
[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] =>
)
Re: 10413 Transaction refused because of an invalid argument. [Fixed v1.3.9]
Well it looks like this thread is dead and so is our shop :cry:
Re: 10413 Transaction refused because of an invalid argument. [Fixed v1.3.9]
Is there a reason why you're using v1.3.9f and not v1.3.9h?
Re: 10413 Transaction refused because of an invalid argument. [Fixed v1.3.9]
Thankyou for your reply, I will upgrade to v1.3.9h, hopefully this will solve the issue.
Re: 10413 Transaction refused because of an invalid argument. [Fixed v1.3.9]
Dear Dr. Byte,
Just wondering if you would be able to help us with this problem that we are experiencing.
We also received an error message from Paypal as a customer was unable to make her purchase on our website, below is the error message that we received from Paypal.
"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."
Prior to receiving this error alert, we had many smooth and successful orders, so this is not our first order. However, as this customer was trying to make a larger purchase, the transaction becomes unsuccessful. It is strange to us that the total amount shown on our website would change once it is carried over to Paypal to complete the transaction.
After discussing this matter with Paypal, Paypal told us:
"The 10413 error is because the sum total of item, tax and shipping amounts is not equal to the total amount in the Express Checkout requests your shopping cart is sending to Paypal. It is usually off by only 0.01 CAD in the API requests. The difference is probably due to a rounding error in the tax calculation. And, we (Paypal) recommends that you review the way the tax value is calculated and added to the total amount, and make any necessary corrections in the coding logic.
As for the difference between the order amount displayed in your checkout and what is displayed on PayPal, we (Paypal) are displaying the amount passed to us by your shopping cart. We suggest that you review the code that creates the API request to determine why a value other than what is displayed as the total on your site is being passed to Paypal as the order amount."
------------------------------------------------
Is it possible for you to help us identify where the problem might be? We have checked all our zen cart settings, and could not find any possible errors.
We are using zen cart version v1.3.9b. Is it possible that this error is due to a bug in the code? Would upgrading to v1.3.9h make any difference?
Thank you so much for your help!!
Regards,
Miffy22
Re: 10413 Transaction refused because of an invalid argument. [Fixed v1.3.9]
Quote:
Originally Posted by
miffy22
We are using zen cart version v1.3.9b. Is it possible that this error is due to a bug in the code? Would upgrading to v1.3.9h make any difference?
That would be a good start.
Re: 10413 Transaction refused because of an invalid argument. [Fixed v1.3.9]
Quote:
Originally Posted by
gino
Thankyou for your reply, I will upgrade to v1.3.9h, hopefully this will solve the issue.
Hi Gino, just wondering if you have solved your issue by upgrading your zen cart version to v1.3.9h? I'm also experiencing the same problem on my site, and would like to know if this is indeed due to a code logic error in previous versions.
Thanks!
Re: 10413 Transaction refused because of an invalid argument. [Fixed v1.3.9]
Its going to be my first upgrade which I will do tomorrow, as soon as I have complete the process i will post the results.
Re: 10413 Transaction refused because of an invalid argument. [Fixed v1.3.9]
Great! Hoping to hear a positive result from you!!