【问题标题】:Web.config - PayPal IPN Listener - HTTP error code 500: Internal Server ErrorWeb.config - PayPal IPN 侦听器 - HTTP 错误代码 500:内部服务器错误
【发布时间】:2012-05-04 22:38:46
【问题描述】:

我正在尝试让我的 PayPal IPN 侦听器在我的 Live 环境中工作,它可以在 Staging 上完美运行,问题与 web.config 文件有关:

(http://pastebin.com/B8YhJEZK)

我正在使用“https://developer.paypal.com/us/cgi-bin/devscr”和即时付款通知 (IPN) 模拟器来测试 Web 服务,但是我得到以下结果:

“IPN 传递失败。HTTP 错误代码 500:内部服务器错误”

【问题讨论】:

    标签: web-services web-config paypal-ipn


    【解决方案1】:

    您可能想阅读 PayPal 关于他们对其即时通知服务 (ipn) 所做的一些更改的公告。

    enter link description here

    另外,检查你的代码,看看你是否有类似的东西:

    $fp = fsockopen($host,"80",$err_num,$err_str,30); 
    

    并尝试将其更改为以下内容:

    $fp = fsockopen('ssl://'.$host,"443",$err_num,$err_str,30);
    

    【讨论】:

      猜你喜欢
      • 2021-12-31
      • 2012-10-11
      • 2017-09-03
      • 2023-03-15
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-03-29
      • 1970-01-01
      相关资源
      最近更新 更多