the error being returned from paypal is:
Security header is not valid
this error means that there is a problem with the entered api information.
If you are using the PayPal sandbox, you need to use Sandbox api details, if you are doing a live transaction, you need to Use live api details.