Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

769
Visualizações
Error 10002 - Security header is not valid

I have a question for the above error. I understand this happens when information entered in the .env is wrong. However, I have checked. Deleted, started again. There seem to be a problem that the details entered is not being passover. So in my log it says -

    PWD: None
    RETURNURL: http://localhost:8000/en-gb/checkout/paypal/preview/8/
    SIGNATURE: None
    USER: None
    VERSION: 119
    DEBUG 2017-04-27 20:33:12,404 gateway 6804 4513112064 Response with params:
   ACK: Failure
   BUILD: 32996991
   CORRELATIONID: 1762ae0537774
   L_ERRORCODE0: 10002
   L_LONGMESSAGE0: Security header is not valid
   L_SEVERITYCODE0: Error
   L_SHORTMESSAGE0: Security error

Here are me .env

   #PAYPAL SETTINGS
   export PAYPAL_API_USERNAME=mypaypalusername.com
   export PAYPAL_API_PASSWORD=my_password
   export PAYPAL_API_SIGNATURE=my_signature.

in my settings

  import paypalrestsdk
  #PAYPAL SETTINGS

  PAYPAL_API_USERNAME=os.environ.get("PAYPAL_API_USERNAME")
  PAYPAL_API_PASSWORD=os.environ.get("PAYPAL_API_PASSWORD")
  PAYPAL_API_SIGNATURE=os.environ.get("PAYPAL_API_SIGNATURE")

Any reasons why the above settings is not picking data from my .env and passing it over? I am still in the sandbox testing.

Thanking you in advance.

over 4 years ago · Santiago Trujillo
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda