Paypal API Security header error

空扰寡人 提交于 2019-12-23 03:17:19

问题


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
 )

回答1:


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.

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

Going Live PayPal API Developer Documentation

Here is a listing of PayPal Endpoints:

PayPal Endpoints



来源:https://stackoverflow.com/questions/23417052/paypal-api-security-header-error

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!