测试PayPal Express时出现错误,错误是:10002 security header is not valid
。
该站点在AWS EC2上运行,前面带有nginx和Varnish。我使用Turpentine进行配置和打孔。这种架构与它有关吗?
我没有在沙盒模式下进行测试,但是实时API凭据都是正确的,我已经对其进行了多次重置。我已经查看了日志,但找不到任何重要信息。
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
也许以下内容可能有意义?令牌为空:
==> 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
)