快速摘要:
我正在使用PHP开发一个电子商务网站.它使用PayPal进行付款.我已成功使用(从通过SetExpressCheckout发送请求字符串到DoExpressCheckoutPayment到GetExpressCheckoutDetails以在MySQL数据库中存储付款细节)PayPal的Sandbox模式及其经典API快速结账(NVP)从去年年底到现在.直到昨晚一切正常,并且没有对网站的PayPal部分进行重大更改.现在,我在每次付款请求时都会在https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_express-checkout&token=[TOKEN]上收到"内部服务器错误" .
演练:
我看到了什么:
Paypal SetExpressCheckout返回:
Array
(
[TOKEN] => XX-XXXXXXXXXXXXXXXXX
[TIMESTAMP] => 2015-03-28T20:27:25Z
[CORRELATIONID] => XXXXXXXXXXXXX
[ACK] => Success
[VERSION] => 109.0
[BUILD] => 15840636
)
Run Code Online (Sandbox Code Playgroud)
上面列出的链接上的PayPal Sandbox错误消息:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@paypal.com and inform them of the time the error occurred, and anything …Run Code Online (Sandbox Code Playgroud)