Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>A 10002 error typically means that you are either not setting the endpoint correctly, the API credentials are not correct, or you do not have permissions to run the API call on the account that you are trying to.</p> <ol> <li><p>Check your <a href="https://developer.paypal.com/webapps/developer/docs/classic/api/endpoints/" rel="nofollow">endpoints</a> to make sure they are correct. Make sure your code reflects the sandbox endpoint if trying to point towards the sandbox, and live if trying to run a transaction on the live site.</p></li> <li><p>Check your API credentials, re copy them over to your code. Make sure you do not have any type of white space before or after your credentials. Also make sure if you are trying to point to the live site that you are passing over your live credentials and not your sandbox credentials, and vise verse. The live credentials and sandbox credentials will not be the same.</p></li> <li><p>If you are trying to process the API call on another account, make sure they have granted 3rd party access permissions to your API in their account. Make sure they have granted the correct permissions to your API username.</p></li> <li><p>Make sure that you are not passing across a variable "SUBJECT" and populating it with an email address. You would only do this if you are trying to run an API on that account, and not your own that your API credentials were generated for. This would be what you used for 3rd party access mentioned in step 3.</p></li> </ol>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload