prova_toets
Member
Posted 11 months ago #
Hi, I've found my API Signature and Credentials from PayPal and entered them into the admin settings, but I'm coming up with the following error when I try to make a test payment:
There was a problem connecting to PayPal to setup your purchase. Please try again.
* 10002 - Security error - Security header is not valid
I'm just using my regular PayPal account to test this out, so maybe that's the problem? Do I need to have a certain type of PayPal account in order to do this?
prova_toets
Member
Posted 11 months ago #
Ok, figured it out. I had to switch the PayPal Mode option from Sandbox to Live. Thanks.
prova_toets
Member
Posted 10 months ago #
Alright, so I swapped out the test PayPal account signature/credentials with the actual ones we're going to use and now it's not working in either Sandbox or Live. I'm getting the same "10002 - Security error - Security header is not valid" error.
I saw this post over at https://www.x.com/people/PP_MTS_Patrick/blog/2011/06/08/10002--security-header-is-not-valid which says:
A "10002 - Security Header is Not Valid" error means you're submitting the API credentials to the wrong environment.
If you're submitting your Live API credentials to the Sandbox endpoint it will return the 10002 error. If you submit the Sandbox API credentials to the Live endpoint it will also return a 10002 error. The reason for that is because the Live and Sandbox environments are completely separate from each other so the separate environments will not recognize the others API credentials.
The Live endpoint URL's are:
NVP -
https://api-3t.paypal.com/nvp
https://api.paypal.com/nvp
SOAP -
https://api-3t.paypal.com/2.0/
https://api.paypal.com/2.0/
The Sandbox endpoint URL's are:
NVP -
https://api-3t.sandbox.paypal.com/nvp
https://api.sandbox.paypal.com/nvp
SOAP-
https://api.sandbox.paypal.com/2.0/
https://api-3t.sandbox.paypal.com/2.0/
If your shopping cart service has a "Test" or "Sandbox" mode you will want to disable it if you have your Live account credentials set inside of it or enable it if you’re using your Sandbox credentials.
Thoughts?
prova_toets
Member
Posted 10 months ago #
Aaaaand now it's working again. There must be some lag involved behind the scenes after I make changes.