the error retuned by paypal is:
Security errorSecurity header is not valid
this error happens when the API Username, API PAssword, and Signature are not correct. You may have entered live API Credentials, but checked the Use Sandbox button, or vice versa.