Paypal API安全标头错误 [英] Paypal API Security header error

查看:71
本文介绍了Paypal API安全标头错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在我的项目中使用Paypal API代码集成.使用沙盒凭据时,它工作正常.使用实时凭据时出错.将"Url"沙箱更改为"Live".复制了确切的用户名,密码和通过使用记事本签名.我还是一样.您能告诉我是否需要做任何更改.在Google中搜索,但未成功.

I am using Paypal API Code integration in my project. It is working fine while using Sandbox credentials. Getting error while using Live credentials. Changed Url sandbox to Live. copied exact username, password & signature by using notepad. Still i am getting the same eoor. Can you please tell me if any changes i have to do. Searched in google but not succeded.

在多台服务器中进行了测试.在两个服务器上都遇到相同的错误.

tested in multiple servers. getting same error in both servers.

 Error : Security header is not valid
 Array
(
[TIMESTAMP] => 2014%2d05%2d01T21%3a22%3a22Z
[CORRELATIONID] => da5fb2a0d16b7
[ACK] => Failure
[VERSION] => 76%2e0
[BUILD] => 10800277
[L_ERRORCODE0] => 10002
[L_SHORTMESSAGE0] => Security%20error
[L_LONGMESSAGE0] => Security%20header%20is%20not%20valid
[L_SEVERITYCODE0] => Error
 )

推荐答案

确保使用您的实时PayPal帐户凭据,并将所有端点指向实时PayPal服务器.

Make certain to use your Live PayPal Account Credentials and point all of your endpoints at the live PayPal Server.

用户名: 密码: 签名:

User Name: Password: Signature:

如果您尝试将沙盒凭据与实时端点一起使用,则会收到安全标头错误.

If you attempt to use your sandbox credentials with a live endpoint you will get security header errors.

我已经看到发生这种情况仅仅是因为凭据与端点不匹配.

I have seen this happen simply because of the credentials not matching with the endpoint.

这是PayPal Developer网站上的上线文档:

Here is the going live documentation from the PayPal Developer site:

Going Live PayPal API开发人员文档

以下是PayPal端点列表:

Here is a listing of PayPal Endpoints:

PayPal端点

这篇关于Paypal API安全标头错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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