dhauzer Posted January 15, 2012 Share Posted January 15, 2012 Hi! I have a problem with Paypal. My paypal version is: PayPal v2.8.5 PS version: 1.4.4.1 After the store installation everithing worked perfect, including the paypal modul. I got paypal payments without any problems. After 01. Jan, i get the error below. The only change in the shop was the tax value. I increased from 25 to 27. But i dont make a new, i modify it. Please help! Thanks, David Please refer to logs: PayPal response: TIMESTAMP -> 2012-01-12T16:25:02Z L_ERRORCODE0 -> 10426 L_ERRORCODE1 -> 10429 L_ERRORCODE2 -> 10413 L_ERRORCODE3 -> 10431 L_SHORTMESSAGE0 -> Transaction refused because of an invalid argument. See additional error messages for details. L_SHORTMESSAGE1 -> Transaction refused because of an invalid argument. See additional error messages for details. L_SHORTMESSAGE2 -> Transaction refused because of an invalid argument. See additional error messages for details. L_SHORTMESSAGE3 -> Transaction refused because of an invalid argument. See additional error messages for details. L_LONGMESSAGE0 -> Item total is invalid. L_LONGMESSAGE1 -> Tax total is invalid. L_LONGMESSAGE2 -> The totals of the cart item amounts do not match order amounts. L_LONGMESSAGE3 -> Item amount is invalid. L_SEVERITYCODE0 -> Error L_SEVERITYCODE1 -> Error L_SEVERITYCODE2 -> Error L_SEVERITYCODE3 -> Warning Link to comment Share on other sites More sharing options...
dhauzer Posted January 19, 2012 Author Share Posted January 19, 2012 Hi! I have a conversation with paypal support, and i get this report: This bug was fixed in the earlier version, the bug fix is the "round" command. But as i read, my PS version (1.4.4.1) can not interpret this command. Any solution for my problem? ----------------------------------------- Hello David, The issue is caused by the amounts sent to PayPal: Item total is invalid. value for this is 1574.8 Tax total is invalid. value for this is 425.2 The totals of the cart item amounts do not match order amounts. **** I do not see the AMT variable being provided, the value for this variable is the sum of the Tax, Shipping and item amounts being charged to the customer. **** Item amount is invalid. value for this is 1574.8 Below is an example Express Checkout request however please provide amounts in the format of xxxx.xx. The Item amount and Tax doesn't have the full format and is listed as 425.2 not 425.20 and appears to be causing the invalid argument error. If you have any further questions please feel free to respond and I'll be here to assist! SetExpressCheckout call: USER= PWD= SIGNATURE= METHOD=SetExpressCheckout VERSION=84.0 RETURNURL=http://www..com/mts/pp_nvp_quick_test.php CANCELURL=http://www..com/mts/pp_nvp_quick_test.php PAYMENTREQUEST_0_PAYMENTACTION=Sale PAYMENTREQUEST_0_AMT=524.20 PAYMENTREQUEST_0_ITEMAMT=458.00 PAYMENTREQUEST_0_SHIPPINGAMT=20.00 PAYMENTREQUEST_0_TAXAMT=46.20 PAYMENTREQUEST_0_CURRENCYCODE=USD PAYMENTREQUEST_0_DESC=test EC payment L_PAYMENTREQUEST_0_NAME0=Books L_PAYMENTREQUEST_0_AMT0=154.00 L_PAYMENTREQUEST_0_NUMBER0=ABC123 L_PAYMENTREQUEST_0_QTY0=2 L_PAYMENTREQUEST_0_NAME1=CDs L_PAYMENTREQUEST_0_AMT1=50.00 L_PAYMENTREQUEST_0_NUMBER1=BY-Z4736 L_PAYMENTREQUEST_0_QTY1=3 Response: TOKEN=EC-6A443218L0912252A TIMESTAMP=2012-01-18T14:38:30Z CORRELATIONID=e023bc13a0939 ACK=Success VERSION=84.0 BUILD=2271164 DoExpressCheckoutPayment call: USER= PWD= SIGNATURE= METHOD=DoExpressCheckoutPayment VERSION=84.0 TOKEN=EC-6A443218L0912252A PAYMENTREQUEST_0_PAYMENTACTION=Sale PAYERID=VS64BQCLAL2HS PAYMENTREQUEST_0_AMT=524.20 PAYMENTREQUEST_0_ITEMAMT=458.00 PAYMENTREQUEST_0_SHIPPINGAMT=20.00 PAYMENTREQUEST_0_TAXAMT=46.20 PAYMENTREQUEST_0_CURRENCYCODE=USD PAYMENTREQUEST_0_DESC=test EC payment L_PAYMENTREQUEST_0_NAME0=Books L_PAYMENTREQUEST_0_AMT0=154.00 L_PAYMENTREQUEST_0_NUMBER0=ABC123 L_PAYMENTREQUEST_0_QTY0=2 L_PAYMENTREQUEST_0_NAME1=CDs L_PAYMENTREQUEST_0_AMT1=50.00 L_PAYMENTREQUEST_0_NUMBER1=BY-Z4736 L_PAYMENTREQUEST_0_QTY1=3 DoExpressCheckoutPayment response: TOKEN=EC-6A443218L0912252A SUCCESSPAGEREDIRECTREQUESTED=false TIMESTAMP=2012-01-18T14:39:45Z CORRELATIONID=53605d9446c5 ACK=Success VERSION=84.0 BUILD=2271164 INSURANCEOPTIONSELECTED=false SHIPPINGOPTIONISDEFAULT=false PAYMENTINFO_0_TRANSACTIONID=0JJ39388W0193635H PAYMENTINFO_0_TRANSACTIONTYPE=cart PAYMENTINFO_0_PAYMENTTYPE=instant PAYMENTINFO_0_ORDERTIME=2012-01-18T14:39:43Z PAYMENTINFO_0_AMT=524.20 PAYMENTINFO_0_FEEAMT=15.50 PAYMENTINFO_0_TAXAMT=46.20 PAYMENTINFO_0_CURRENCYCODE=USD PAYMENTINFO_0_PAYMENTSTATUS=Completed PAYMENTINFO_0_PENDINGREASON=None PAYMENTINFO_0_REASONCODE=None PAYMENTINFO_0_PROTECTIONELIGIBILITY=Eligible PAYMENTINFO_0_PROTECTIONELIGIBILITYTYPE=ItemNotReceivedEligible,UnauthorizedPaymentEligible PAYMENTINFO_0_SECUREMERCHANTACCOUNTID=6CFEBJAE59DAY PAYMENTINFO_0_ERRORCODE=0 PAYMENTINFO_0_ACK=Success Link to comment Share on other sites More sharing options...
precious007 Posted February 7, 2012 Share Posted February 7, 2012 I've had this problem as well. Link to comment Share on other sites More sharing options...
Nero_ Posted May 8, 2012 Share Posted May 8, 2012 anyone can help to solve this problem? Link to comment Share on other sites More sharing options...
TWDesign Posted July 17, 2012 Share Posted July 17, 2012 I have exactly the same error message as the OP. Can anybody help on this? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now