I am getting an error while testing PayPal Express, the error is: 10002 security header is not valid
.
The site runs on an AWS EC2 with nginx and Varnish in front. I use Turpentine for the config and hole-punching. Would this architecture have something to do with it?
I'm not testing on Sandbox mode however the live API credentials are all correct, I've reset it multiple times. I've looked through the logs but I can't find anything significant.
2014-01-31T05:47:11+00:00 ERR (3):
exception 'Mage_Core_Exception' with message 'PayPal NVP gateway errors: Security header is not valid (#10002: Security error). Correlation ID: 60e76cc8d89c5. Version: 72.0.' in /var/www/app/Mage.php:580
Perhaps the following might be relevant? The token is empty:
==> payment_paypal_express.log <==
2014-01-31T05:22:42+00:00 DEBUG (7): Array
(
[url] => https://api-3t.paypal.com/nvp
[GetExpressCheckoutDetails] => Array
(
[TOKEN] =>
[METHOD] => GetExpressCheckoutDetails
[VERSION] => 72.0
[USER] => ****
[PWD] => ****
[SIGNATURE] => ****
[BUTTONSOURCE] => Varien_Cart_EC_AU
)
[response] => Array
(
[TIMESTAMP] => 2014-01-31T05:22:42Z
[CORRELATIONID] => 5bcdb0da70494
[ACK] => Failure
[VERSION] => 72.0
[BUILD] => 9285531
[L_ERRORCODE0] => 10002
[L_SHORTMESSAGE0] => Security error
[L_LONGMESSAGE0] => Security header is not valid
[L_SEVERITYCODE0] => Error
)
[__pid] => 1219
)