paypal沙箱IPN通知网址没有响应

时间:2013-01-28 07:55:45

标签: paypal paypal-sandbox paypal-subscriptions

我在我的网站上实施Paypal标准付款。我有资源在用户发出订阅和更新数据库时接收通知,以跟踪销售和用户付款。我不小心改变了我网站上的通知资源,这意味着它停止工作。一旦用户成功结账并通知网址停止工作,是否有任何设置与paypal通过电子邮件提醒我?

2 个答案:

答案 0 :(得分:0)

如果你已经更改了通知URL,据我所知,没有办法更改以前创建的任何事务中存储的URL(当然,除了那些没有默认指定的IPN URL的URL创建的事务外)在你的个人资料设置中。)

最好的办法是让前一个听众保持活力并在必要时转发。建立从旧URL到保留POSTed IPN数据的新URL的301重定向可能是基于此问题的答案的可能解决方案:.htaccess - Is it possible to redirect post data?

答案 1 :(得分:0)

如果IPN网址没有响应,您实际上会收到来自PayPal的通知。电子邮件看起来像这样:

 Hello xxxxx,

 Please check your server that handles PayPal Instant Payment Notifications (IPN).
 IPNs sent to the following URL(s) are failing:

    http://domain.com/ipnhandler.php

 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

在我们的案例中,处理方案知道IPN是未完成的(我们每天早上也有一个对帐步骤),所以我们可以看看是否必须 - 但我不明白为什么你有“意外”