Jump to content

Transaction refused because of an invalid argument


TheTester

Recommended Posts

Hello!!

 

I have theese same problem...: PayPal module didnt wor.. I set everything what i founded on this forum.

I get this error: (I generated new API username,password,and signature too, but cant helped me)

 

Please refer to logs:

  1. PayPal response:
  2. TIMESTAMP -> 2012-01-06T12:35:57Z
  3. L_ERRORCODE0 -> 10401
  4. L_ERRORCODE1 -> 10426
  5. L_ERRORCODE2 -> 10427
  6. L_ERRORCODE3 -> 10429
  7. L_ERRORCODE4 -> 10431
  8. L_SHORTMESSAGE0 -> Transaction refused because of an invalid argument. See additional error messages for details.
  9. L_SHORTMESSAGE1 -> Transaction refused because of an invalid argument. See additional error messages for details.
  10. L_SHORTMESSAGE2 -> Transaction refused because of an invalid argument. See additional error messages for details.
  11. L_SHORTMESSAGE3 -> Transaction refused because of an invalid argument. See additional error messages for details.
  12. L_SHORTMESSAGE4 -> Transaction refused because of an invalid argument. See additional error messages for details.
  13. L_LONGMESSAGE0 -> Order total is invalid.
  14. L_LONGMESSAGE1 -> Item total is invalid.
  15. L_LONGMESSAGE2 -> Shipping total is invalid.
  16. L_LONGMESSAGE3 -> Tax total is invalid.
  17. L_LONGMESSAGE4 -> Item amount is invalid.
  18. L_SEVERITYCODE0 -> Error
  19. L_SEVERITYCODE1 -> Error
  20. L_SEVERITYCODE2 -> Error
  21. L_SEVERITYCODE3 -> Error
  22. L_SEVERITYCODE4 -> Error
  23. PayPal returned error

 

Thank you!

Link to comment
Share on other sites

Hello!!

 

Please help me! I get this error on my PrestaShop when i try to buy something:

 

Please refer to logs:

  1. PayPal response:
  2. TIMESTAMP -> 2012-01-06T13:11:59Z
  3. L_ERRORCODE0 -> 10401
  4. L_ERRORCODE1 -> 10426
  5. L_ERRORCODE2 -> 10427
  6. L_ERRORCODE3 -> 10429
  7. L_ERRORCODE4 -> 10431
  8. L_SHORTMESSAGE0 -> Transaction refused because of an invalid argument. See additional error messages for details.
  9. L_SHORTMESSAGE1 -> Transaction refused because of an invalid argument. See additional error messages for details.
  10. L_SHORTMESSAGE2 -> Transaction refused because of an invalid argument. See additional error messages for details.
  11. L_SHORTMESSAGE3 -> Transaction refused because of an invalid argument. See additional error messages for details.
  12. L_SHORTMESSAGE4 -> Transaction refused because of an invalid argument. See additional error messages for details.
  13. L_LONGMESSAGE0 -> Order total is invalid.
  14. L_LONGMESSAGE1 -> Item total is invalid.
  15. L_LONGMESSAGE2 -> Shipping total is invalid.
  16. L_LONGMESSAGE3 -> Tax total is invalid.
  17. L_LONGMESSAGE4 -> Item amount is invalid.
  18. L_SEVERITYCODE0 -> Error
  19. L_SEVERITYCODE1 -> Error
  20. L_SEVERITYCODE2 -> Error
  21. L_SEVERITYCODE3 -> Error
  22. L_SEVERITYCODE4 -> Error
  23. PayPal returned error

If i check the long log message in modules/paypal, i get this

 

Please refer to logs:

  1. Making new connection to 'api-3t.paypal.com/nvp'
  2. Connect with CURL method successful
  3. Sending this params:
  4. METHOD=SetExpressCheckout&VERSION=60.0&PWD=*********&USER=...i cutted my datas.... &SHIPTOPHONENUM=&ADDROVERRIDE=1
  5. Send with CURL method successful
  6. PayPal response:
  7. TIMESTAMP -> 2012-01-06T13:14:45Z
  8. CORRELATIONID -> 24b654daf3e6
  9. ACK -> Failure
  10. VERSION -> 60.0
  11. BUILD -> 2271164
  12. L_ERRORCODE0 -> 10401
  13. L_ERRORCODE1 -> 10426
  14. L_ERRORCODE2 -> 10427
  15. L_ERRORCODE3 -> 10429
  16. L_ERRORCODE4 -> 10431
  17. L_SHORTMESSAGE0 -> Transaction refused because of an invalid argument. See additional error messages for details.
  18. L_SHORTMESSAGE1 -> Transaction refused because of an invalid argument. See additional error messages for details.
  19. L_SHORTMESSAGE2 -> Transaction refused because of an invalid argument. See additional error messages for details.
  20. L_SHORTMESSAGE3 -> Transaction refused because of an invalid argument. See additional error messages for details.
  21. L_SHORTMESSAGE4 -> Transaction refused because of an invalid argument. See additional error messages for details.
  22. L_LONGMESSAGE0 -> Order total is invalid.
  23. L_LONGMESSAGE1 -> Item total is invalid.
  24. L_LONGMESSAGE2 -> Shipping total is invalid.
  25. L_LONGMESSAGE3 -> Tax total is invalid.
  26. L_LONGMESSAGE4 -> Item amount is invalid.
  27. L_SEVERITYCODE0 -> Error
  28. L_SEVERITYCODE1 -> Error
  29. L_SEVERITYCODE2 -> Error
  30. L_SEVERITYCODE3 -> Error
  31. L_SEVERITYCODE4 -> Error
  32. PayPal returned error

And when i turn on sandbox mode i get theese:

 

Please refer to logs:

  1. PayPal response:
  2. TIMESTAMP -> 2012-01-06T13:17:53Z
  3. L_ERRORCODE0 -> 10002
  4. L_SHORTMESSAGE0 -> Security error
  5. L_LONGMESSAGE0 -> Security header is not valid
  6. L_SEVERITYCODE0 -> Error
  7. PayPal returned error

 

What is this problem??!

Thank you!

TheTester'

Link to comment
Share on other sites

  • 4 months later...

for the first part I'm still hunting the solution, but

 

for the 2. part the solution is: if you want to use sandbox mode, you need to register new acc on sandbox.paypal.com

you cant use the normal API code.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...