Good day @imanas, Thank you for posting to the PayPal community. 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. https://www.paypal.com/us/cshelp/article/why-did-i-get-api-error-code-10002-ts1030 If your still facing any issues, please create a MTS ticket via - https://www.paypal-support.com/s/?language=en_US with the detail information and error details. Sincerely, Chiranjeevi PayPal/Braintree MTS If this post or any other was helpful, please enrich the community by giving kudos or accepting it as a solution.
... View more