Paypal API安全标头错误

编程入门 行业动态 更新时间:2024-10-17 11:23:27
本文介绍了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安全标头错误

本文发布于:2023-11-14 19:58:23,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1588377.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:错误   Paypal   API

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!