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
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
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] =>
)
Well it looks like this thread is dead and so is our shop
Is there a reason why you're using v1.3.9f and not v1.3.9h?
.
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.
Thankyou for your reply, I will upgrade to v1.3.9h, hopefully this will solve the issue.
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
.
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.
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.
Great! Hoping to hear a positive result from you!!
Bookmarks