Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

767
Views
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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!