Home Home Troubleshoot What is PayPal error 10002?

issue
Based on the API you’re using, PayPal returned API error code 10002, accompanied by one of the messages described in the following paragraphs.

Causes and Solutions
This error usually happens when permissions are set incorrectly in your PayPal account. To allow a third party to make API calls on your behalf, you must explicitly grant them permission to do so. If you’ve already done this but you got error code 10002, your shopping cart configuration may be the cause. Your vendor needs to know the primary email address on the PayPal account for which they’re making the third-party API call. They must add this email address to the API script making the API call on your behalf.

If you’re making third-party API calls but not using a vendor and you still get this error, it can be because of the following reasons:

  • Incorrect API information – Follow this procedure to request API Signature or API Certificate credentials.
  • Passing a value in the Subject field – This field should be blank if you’re not making an API call on behalf of another person.

One of several different error messages accompanies error code 10002. You’re most likely to see this message:

  • 10002: Authentication/Authorization – Username/Password incorrect

This error occurs when you provide an incorrect API username and API password to the PayPal server, for example, if you:

  • Provide the username and password for your actual PayPal account, instead of your API username and API password. PayPal generates your API username and API password when you generate your API Certificate and Signature.
  • Use the same API information for the Sandbox and Live environments. You need to generate separate API information for your Sandbox and Live accounts.
  • Don’t update the endpoint to point to PayPal’s Live API servers.
  • Format your API Certificate as .txt instead of .pem.
  • Add trailing or leading whitespace on any of the characters.

One of the following error messages also may accompany code 10002:

  • 10002: Account locked – The user account is locked
  • 10002: Authentication/Authorization Failed – Account is locked or inactive
  • 10002: Internal Error – Account is locked or inactive
  • 10002: Internal Error – Internal Error
  • 10002: Authentication/Authorization Failed – Account is not verified
  • 10002: Authentication/Authorization Failed – API access is disabled for this account
  • 10002: Authentication/Authorization Failed – Client certificate is disabled
  • 10002: Authentication/Authorization Failed – Internal Error
  • 10002: Authentication/Authorization Failed – This call is not defined in the database!
  • 10002: Authentication/Authorization Failed – Token is not valid
  • 10002: Receiving Limit exceeded – You’ve exceeded the receiving limit. This transaction can’t be completed
  • 10002: Restricted account – Account is restricted

These errors occur because the credentials are incorrect or invalid. Make sure they’re entered correctly and, if possible, try again. If the problem persists or you can’t try again, contact your Account Manager or open a ticket with Merchant Technical Services.

If you get error code 10002 with the message 10002: Security Header Invalid, you have incorrect API credentials. Check that the account that will receive payments was used to generate the API credentials. If you’re using PayPal’s Sandbox environment, you must generate API credentials from within the Sandbox business account rather than a Live account.

You should also check that you’re submitting your request to the correct environment (Live vs. Test). For information on endpoints, see NVP/SOAP API endpoints. If you use a shopping cart, there’s often a switch on their end to change from Live mode to Test or Sandbox mode. Make sure that this switch is set to the correct environment. In addition, your shopping cart often manages endpoints, so consult your shopping cart provider for help.

Note: Any extra spaces or characters in the username, password, or signature can also cause the Security Header invalid error. Check for any extra spaces at the end of the password or signature; it’s common for them to be added when pasting credentials into your cart.


Requesting API credentials
Depending on your shopping cart requirements, you may need an API Signature or an API Certificate. Here’s how to request API Signature or Certificate credentials.

  • If you choose API Signature, you can copy the API username, password, and Signature. Then, paste this information into your shopping cart configuration or administration screen and click Done. You can view or remove an API username, password, or Signature anytime.
  • If you choose API Certificate, copy your API username and password and click Download Certificate. Save the file to your computer. Remember where you saved the file because you’ll need it later in your shopping cart setup.

Example NVP responses for error 10002

  • L_ERRORCODE0=10002
  • L_SHORTMESSAGE0=Security error
  • L_LONGMESSAGE0=Security header is not valid
  • L_SEVERITYCODE0=Error

 

New to WordPress or ListingPro? Need help with installation or custom project? Hire an Expert!
+
izmir escort
maltepe escort
escort izmit kocaeli escort darıca escort gölcük escort bayan izmit sınırsız escort gemlik escort/a> bursa genc escort/a> escort aydınlı tuzla escort kızları tuzla sınırsız escort escort bursa bursa merkez escort bursa otele gelen escort escort bayan avrupa yakası escort beylikdüzü escort kocaeli escort otele gelen escort darıca escort sınırsız escort cialis cialis fiyat cialis 100 mg cialis 20 mg viagra escort ankara eryaman escort etlik escort çankaya escort kızılay escort escort şişli kurtuluş escort avrupa yakası escort şirinevler escort bayan escort bursa bursa eve gelen escort bursa ucuz escort ataşehir escort göztepe escort 19 mayıs escort acıbadem escort caddebostan escort caferaga escort erenköy escort dumlupınar escort fenerbahçe escort fikirtepe escort suadiye escort koşuyolu escort koşzyatağı escort merdivenköy escort sahrayicedit escort osmanağa escort altayçeşme escort aydınevler escort zümrütevler escort gülsuyu escort gülensu escort girne escort başıbüyük escort bağlarbaşı escort idealtepe escort fındıklı escort esenkent escort büyükbakkalköy escort küçükyalı escort escort bayan bursa şişli escort kızları taksim escort bursa eskort seks izle zenci porno izle escort ataşehir escort antalya
ankara escort marmaris escort bursa escort mersin escort antalya escort izmir escort samsun escort bodrum escort çeşme escort kuşadası escort adana escort eskişehir escort gaziantep escort esenyurt escort pendik escort tuzla escort fatih escort ümraniye escort mecidiyeköy escort kartal escort bahçelievler escort bahçeşehir escort ataşehir escort bakırköy escort nişantaşı escort avcılar escort büyükçekmece escort kurtkoy escort konya escort beşiktaş escort taksim escort beylikdüzü escort malatya escort sakarya escort şişli escort maltepe escort kadıköy escort ataköy escort bostancı escort şirinevler escort bağcılar escort üsküdar escort etiler escort başaksehir escort ortaköy escort kağıthane escort sultangazi escort halkalı escort çekmeköy escort şaşkınbakkal escort mamak escort sincan escort keçiören escort çankaya escort beypazarı escort akyurt escort pursaklar escort kahramankazan escort göztepe escort alsancak escort bornova escort buca escort karabaglar escort karşıyaka escort konak escort narlıdere escort izmit escort başiskele escort kandira escort körfez escort karamürsel escort dilovası escort gölcük escort gebze escort kocaeli escort kayseri escort elazığ escort denizli escort diyarbakir escort adana escort ankara escort izmir escort antalya escort gaziantep escort kayseri escort konya escort mersin escort denizli escort kocaeli escort diyarbakır escort alanya escort manavgat escort bursa escort eskişehir escort sakarya escort samsun escort malatya escort trabzon escort adıyaman escort afyon escort ağrı escort aksaray escort amasya escort ardahan escort artvin escort aydın escort balikesir escort bartın escort batman escort bayburt escort bilecik escort bingöl escort bitlis escort bolu escort burdur escort çanakkale escort çankırı escort çorum escort düzce escort edirne escort elazığ escort erzincan escort erzurum escort giresun escort gümüşhane escort hatay escort ığdır escort ısparta escort maraş escort karabük escort karaman escort kars escort kastamonu escort kilis escort kırıkkale escort kırklareli escort kırşehir escort kütahya escort manisa escort mardin escort muğla escort muş escort nevşehir escort niğde escort ordu escort osmaniye escort rize escort urfa escort siirt escort sinop escort şırnak escort sivas escort ordu escort tokat escort tunceli escort usak escort van escort yalova escort yozgat escort zonguldak escort kıbrıs escort