防爆preSS结帐错误消息:" Security头是无效的" [英] Express Checkout error message: "Security header is not valid"
问题描述
我实施前preSS结帐在贝宝。
我与前两步没有问题, SETEX pressCheckout
和 GETEX pressCheckout
。但是当我使用 DoEx pressCheckout
,我遇到错误安全标头是无效的。
I have no problem with the first two steps, SetExpressCheckout
and GetExpressCheckout
. But when I use DoExpressCheckout
, I encounter the error "Security header is not valid".
该API证书都是一样的!
The API credentials are the same!
我已经通过更改 $环境
到固定住它
在 DoEx pressCheckout
。 (差别 $环境
使得是,它会使用 https://api.sandbox.paypal.com/nvp/
,而不是的https://api-3t.$environment.paypal.com/nvp
)
I've fixed it by changing the $environment
to live
in DoExpressCheckout
. (The difference $environment
makes is that it'll use https://api.sandbox.paypal.com/nvp/
instead of https://api-3t.$environment.paypal.com/nvp
)
但是,为什么?
时有什么错 HTTPS://api-3t.$environment.paypal.com/nvp
推荐答案
HTTPS://api-3t.sandbox.paypal .COM / NVP 需要不同的用户帐户比 https://api-3t.paypal.com/nvp一>要求。
https://api-3t.sandbox.paypal.com/nvp requires different user-accounts than what https://api-3t.paypal.com/nvp requires.
沙盒帐户可以在 developer.paypal.com
这篇关于防爆preSS结帐错误消息:" Security头是无效的"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!