Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

773
Vistas
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 la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda