Web.config - PayPal IPN 侦听器 - HTTP 错误代码 500:内部服务器错误 [英] Web.config - PayPal IPN Listener - HTTP error code 500: Internal Server Error

查看:111
本文介绍了Web.config - PayPal IPN 侦听器 - HTTP 错误代码 500:内部服务器错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试让我的 PayPal IPN 侦听器在我的 Live 环境中工作,它在 Staging 上工作得很好,问题与 web.config 文件有关:

I am trying to get my PayPal IPN Listener to work on my Live environment, it works on Staging perfectly and the issue is something to do with the web.config file:

(http://pastebin.com/B8YhJEZK)

(http://pastebin.com/B8YhJEZK)

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

I am using "https://developer.paypal.com/us/cgi-bin/devscr" and the Instant Payment Notification (IPN) simulator to test the web service however I am getting the following:

IPN 传送失败.HTTP 错误代码 500:内部服务器错误"

"IPN delivery failed. HTTP error code 500: Internal Server Error"

推荐答案

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

You might want to read this announcment from PayPal in regards to some changes they made to their Instant Notification Service (ipn).

在此处输入链接描述

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

also, check your code and see if you have something similar to this:

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

并尝试将其更改为如下所示:

And try changing it to something like this:

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

这篇关于Web.config - PayPal IPN 侦听器 - HTTP 错误代码 500:内部服务器错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆