Prestashop Core Application V1.4
  1. Prestashop Core Application V1.4
  2. PSCFI-2149

PayPal Module---ERRORCODE0 -> 10002--> Security Header not valid

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.4.5.1
    • Fix Version/s: None
    • Security Level: All-users
    • Labels:
      None

      Description

      I read the other report on this error. My error happens in both Sandbox and Production mode of the module.

      I have a valid SSL certificate on my domain that I recently installed.

      Please refer to logs:
      01.PayPal response:
      02.TIMESTAMP -> 2011-06-04T14:23:09Z
      03.L_ERRORCODE0 -> 10002
      04.L_SHORTMESSAGE0 -> Security error
      05.L_LONGMESSAGE0 -> Security header is not valid
      06.L_SEVERITYCODE0 -> Error
      07.PayPal returned error

      That is the exact error message I receive when I try to go through a checkout on the site.

        Activity

        Hide
        Fabien SERNY added a comment -

        Dear Troy Grubbs,

        The message "Security header is not valid" is due to bad Paypal API username, password or certificate (PayPal certificate, SSL certificate does not affect the module).
        Could you make sure that you did not add a space before or after by making a copy/paste action ?
        Be sure that you generate your API access properly : http://www.youtube.com/watch?v=ho1OefLKbM0
        And check that you're using the right API access (there is one for sandbox, one for production).

        If it still does not work, could you send me your back office access by private message ?

        Best regards,

        Show
        Fabien SERNY added a comment - Dear Troy Grubbs, The message "Security header is not valid" is due to bad Paypal API username, password or certificate (PayPal certificate, SSL certificate does not affect the module). Could you make sure that you did not add a space before or after by making a copy/paste action ? Be sure that you generate your API access properly : http://www.youtube.com/watch?v=ho1OefLKbM0 And check that you're using the right API access (there is one for sandbox, one for production). If it still does not work, could you send me your back office access by private message ? Best regards,
        Hide
        Troy Grubbs added a comment -

        Mr. Serny,

        I finally got it to work. I removed my API signature on PayPal and requested a new one. That one works. I'm not sure why the other one didn't work because I did it exactly the same each time.

        Thanks.

        Show
        Troy Grubbs added a comment - Mr. Serny, I finally got it to work. I removed my API signature on PayPal and requested a new one. That one works. I'm not sure why the other one didn't work because I did it exactly the same each time. Thanks.
        Hide
        Fabien SERNY added a comment -

        I'm glad that your problem was finally solved.
        I'm closing this bug.

        Best regards,

        Show
        Fabien SERNY added a comment - I'm glad that your problem was finally solved. I'm closing this bug. Best regards,
        Hide
        Mike Roda added a comment -

        I am having the very same problem. i followed Troy steps but i still get the same problem at checkout. no one can pay, what can i do

        Show
        Mike Roda added a comment - I am having the very same problem. i followed Troy steps but i still get the same problem at checkout. no one can pay, what can i do
        Hide
        Fabien SERNY added a comment -

        Hi Mike,

        As I wrote above :

        The message "Security header is not valid" is due to bad Paypal API username, password or certificate (PayPal certificate, SSL certificate does not affect the module).
        Could you make sure that you did not add a space before or after by making a copy/paste action ?
        Be sure that you generate your API access properly : http://www.youtube.com/watch?v=ho1OefLKbM0
        And check that you're using the right API access (there is one for sandbox, one for production).

        Show
        Fabien SERNY added a comment - Hi Mike, As I wrote above : The message "Security header is not valid" is due to bad Paypal API username, password or certificate (PayPal certificate, SSL certificate does not affect the module). Could you make sure that you did not add a space before or after by making a copy/paste action ? Be sure that you generate your API access properly : http://www.youtube.com/watch?v=ho1OefLKbM0 And check that you're using the right API access (there is one for sandbox, one for production).
        Hide
        Mike Roda added a comment -

        Hi Fabien.
        Thank you for your reply.
        Ok i am now able to go to the paypal site for payment, but what you said may happen actually did - it sent me to a paypal sandbox. I have no idea what that thing is, and i did follow the you tube video step by step. how can i fix this? the people at Paypal were no help at all.
        Please try to help me out. i'm totally lost

        Show
        Mike Roda added a comment - Hi Fabien. Thank you for your reply. Ok i am now able to go to the paypal site for payment, but what you said may happen actually did - it sent me to a paypal sandbox. I have no idea what that thing is, and i did follow the you tube video step by step. how can i fix this? the people at Paypal were no help at all. Please try to help me out. i'm totally lost
        Hide
        Fabien SERNY added a comment -

        It means that the sandbox mode (test mode) is active. You should disable it in your module configuration.
        Beware, credentials for sandbox mode and production mode are not the same. If you want to disable sandbox mode, you will have to set the production credentials.
        If you're not sure how to proceed, go to the PrestaShop forum or ask PayPal

        Show
        Fabien SERNY added a comment - It means that the sandbox mode (test mode) is active. You should disable it in your module configuration. Beware, credentials for sandbox mode and production mode are not the same. If you want to disable sandbox mode, you will have to set the production credentials. If you're not sure how to proceed, go to the PrestaShop forum or ask PayPal

          People

          • Assignee:
            Fabien SERNY
            Reporter:
            Troy Grubbs
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: