Jump to content

[已解决] 使用paypal API支付出现了问题


d.bo

Recommended Posts

未使用ssl访问:
PayPal response:
TIMESTAMP -> 2010-08-26T03:56:33Z
CORRELATIONID -> f3907eaee2578
ACK -> Failure
VERSION -> 53.0
BUILD -> 1468257
L_ERRORCODE0 -> 10002
L_SHORTMESSAGE0 -> Security error
L_LONGMESSAGE0 -> Security header is not valid
L_SEVERITYCODE0 -> Error
PayPal returned error


使用的是1.31版本,之前在本地使用sandbox测试,没有使用ssl一样可以付款。放到服务器上发现出错了。
服务器空间支持共享ssl,但是还是出现错误,请大家给点建议吧。

使用共享ssl访问:
TIMESTAMP -> 2010-08-26T04:24:11Z
CORRELATIONID -> 80ce9f3872db4
ACK -> Failure
VERSION -> 53.0
BUILD -> 1468257
L_ERRORCODE0 -> 10002
L_SHORTMESSAGE0 -> Security error
L_LONGMESSAGE0 -> Security header is not valid
L_SEVERITYCODE0 -> Error
PayPal returned error

Link to comment
Share on other sites

我的一个hosting用dedicated SSL不会出错,另一个hosting用shared SSL会出错。错误情况也是“Security header is not valid”。

其实这个问题很好解决。问题也很简单,就是shared SSL不足够安全。所以,建议安装一个valid的SSL证书,这样才能使用PayPal API模块。

这个模块在localhost的sandbox测试有用到SSL吗,我很怀疑。

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...