我收到了一封来自 paypal 的邮件,上面写着:
>Hello <>,
>Please check your server that handles PayPal Instant Payment
>Notifications (IPN). IPNs sent to the following URL(s) are failing:
>
>url--
>
>If you do not recognize this URL, you may be using a service provider
>that is using IPN on your behalf. Please contact your service provider
>with the above information. If this problem continues, IPNs may be
>disabled for your account.
>
>Thank you for your prompt attention to this issue.
>
>
>Thanks,
>
>PayPal
有人知道吗?我们今天收到了 1 笔付款,它更新了数据库,但我仍然担心这封电子邮件是否会对我们的网站构成威胁。
我使用 IPN 刺激器测试了 IPN url,它运行良好。我需要更改我的 IPN 设置吗?一些论坛说要关闭 IPN 通知。我是否应该假设这是来自拒绝接受 Paypal IPN 的服务器?我对如何处理这个问题感到很困惑,更不用说我的客户也知道了。
我检查了我的网站错误日志,但我找不到任何与我的 Paypal IPN 监听器相关的新错误。
谢谢,
最佳答案
如果您收到的警告消息显示“url--”,您可能需要仔细检查:
- 值 set up在您的 PayPal 配置文件 > 即时付款通知
- 或者您在变量“notify_url”中插入的值(如果您使用网站支付标准或“PAYMENTREQUEST_n_NOTIFYURL”(如果您使用 API)。
当您收到 IPN 警告消息时,我建议您检查您的 IPN 历史记录(在您的 PayPal 帐户中)以检查您的服务器返回给 PayPal 的 HTTP 响应是什么。
关于 Paypal IPN 失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19921112/