- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Whenever I attempt a payment refund I see the same error message: "Security header is not valid".
It sounds like there is an error in the handshake / protocol but not enough information in the error message to identify what.
I am using https://woocommerce.com/products/woocommerce-paypal-payments/ version 2.6.0
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @chocdetective
Thank you for posting to the PayPal Merchant Community.
Here is a document that has more details on the error message Security Header is invalid:
https://www.paypal.com/us/cshelp/article/why-did-i-get-api-error-code-10002-ts1030
Usually when you get that error message it means your API credentials are incorrect. This can happen if there is a space before or after any of the credentials. It can also happen if you are pointed to sandbox and are using live API Credentials.
Here is how to locate your PayPal API Signature Credentials:
- Log into your PayPal Account at https://paypal.com
- Hover over your name
- Click on Account Settings
- Click Update next to API Credentials
- Scroll down and click on NVP/SOAP API Integration (Classic)
- Copy the API User Name, Password, and Signature one at a time and paste into WooCommerce
- Ensure that there are no spaces before or after any of the credentials. This may require that you paste them into a text program and remove any spaces before or after the credentials.
- Ensure that you are pointed to live and not Test/Sandbox
- Save changes in WooCommerce
Thank you,
Jennifer
MTS
PayPal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @chocdetective
Thank you for posting to the PayPal Merchant Community.
Here is a document that has more details on the error message Security Header is invalid:
https://www.paypal.com/us/cshelp/article/why-did-i-get-api-error-code-10002-ts1030
Usually when you get that error message it means your API credentials are incorrect. This can happen if there is a space before or after any of the credentials. It can also happen if you are pointed to sandbox and are using live API Credentials.
Here is how to locate your PayPal API Signature Credentials:
- Log into your PayPal Account at https://paypal.com
- Hover over your name
- Click on Account Settings
- Click Update next to API Credentials
- Scroll down and click on NVP/SOAP API Integration (Classic)
- Copy the API User Name, Password, and Signature one at a time and paste into WooCommerce
- Ensure that there are no spaces before or after any of the credentials. This may require that you paste them into a text program and remove any spaces before or after the credentials.
- Ensure that you are pointed to live and not Test/Sandbox
- Save changes in WooCommerce
Thank you,
Jennifer
MTS
PayPal
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Security header is not valid error message in woo commerce in NVP/SOAP APIs
- Members cannot pay for an event using PayPal Commerce plugin with WPForms - no pattern we can find. in PayPal Payments Standard
- Need Help Upgrading to PayPal complete payments in PayPal Upgrade Community
- Pay Later Offers Text Translations in PayPal Payments Standard
- I can't connect PayPal Business to WPForms. in PayPal Payments Standard