10002 error

Kasimijelu
Contributor
Contributor

Hello community , 

 

I'm currently try to set up and test payment for my new business (edit)<<-- removed email -- >>(edit) 

however , After setting up all the Api keys , payment/checkout paypal page is idle .

spoke to my website support the said i have a 10002 error 

 

security error>> Longmessage>>security header not valid

etc etc  

 

anyone else experienced this 

thank you 

Login to Me Too
1 ACCEPTED SOLUTION

Accepted Solutions
Solved

MTS_Justin
Moderator
Moderator
Hello,

"10002" is an authentication error.

Check the API credentials you're using to ensure they're correct and ensure you're using the correct API endpoint. You can only use production account API credentials within our production environment and sandbox account API credentials within our sandbox environment. The credentials are not interchangeable between the two environments.

https://www.paypal.com/us/selfhelp/article/why-did-i-get-api-error-code-10002-ts1030

Thanks !

Was my post helpful? If so, please give me a kudos!

View solution in original post

Login to Me Too
4 REPLIES 4
Solved

MTS_Justin
Moderator
Moderator
Hello,

"10002" is an authentication error.

Check the API credentials you're using to ensure they're correct and ensure you're using the correct API endpoint. You can only use production account API credentials within our production environment and sandbox account API credentials within our sandbox environment. The credentials are not interchangeable between the two environments.

https://www.paypal.com/us/selfhelp/article/why-did-i-get-api-error-code-10002-ts1030

Thanks !

Was my post helpful? If so, please give me a kudos!
Login to Me Too

Kasimijelu
Contributor
Contributor

Thank you for your reply 

 

I followed the instruction and sent up a sand box account inserted correct details and viewed my api keysjohn doe api  sandbox.png

 i also I have a live account also fully equipped with all the credentials 

 

I then clicked done and inserted all the details into my back end 

pls see attached website backend.png

 

the msg i received yesterday from my website support attached pls see kindly 

10002 error.png

 

please kindly advise

Login to Me Too

MTS_Justin
Moderator
Moderator
Hello,

Please share the merchant id / payer id for the account from which you retrieved the API credentials.

Thread pinned to the top of this forum has he necessary instructions.

Thanks !

Was my post helpful? If so, please give me a kudos!
Login to Me Too

Kasimijelu
Contributor
Contributor

Hi merchant ID

Found it 

PayPal Merchant ID MDBUND2P79HS2
 
Thank you
Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.