防爆preSS结帐错误消息:" Security头是无效的" [英] Express Checkout error message: "Security header is not valid"

查看:148
本文介绍了防爆preSS结帐错误消息:" Security头是无效的"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我实施前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屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆