【问题标题】:Paypal Javascript Button data-notify-url Instant Payment NotificationPaypal Javascript 按钮 data-notify-url 即时付款通知
【发布时间】:2013-09-20 07:58:51
【问题描述】:

我们可以使用data-notify-url属性来接收IPN吗?

script(src='paypal-button.min.js?merchant=username@email.com', data-button='buynow', data-name='My product', data-amount='1.00', data-env='sandbox', data-notify_url='http://example.com/ipn')

付款成功,但似乎未调用指定的 notify_url。

我也用Instant Payment Notification (IPN) simulator,输入我的notify_url,却遇到如下错误:

IPN Delivery Failed:503 Service Unavailable

但是查看我的应用程序的日志,我可以看到 notify_url 被调用。

我使用web accept 作为交易类型。

【问题讨论】:

    标签: paypal paypal-sandbox paypal-ipn


    【解决方案1】:

    这只是看起来您的后端脚本(可能是 PHP 或其他任何东西)当前不可用。 这可能是由于服务器过载而发生的。

    503 是一个 HTTP-ErrorCode,因此它与 PayPal 无关。 PayPal 尝试将 IPN 发送给您,而您的网络服务器响应 503 错误。

    【讨论】:

      猜你喜欢
      • 2015-12-05
      • 1970-01-01
      • 2014-02-27
      • 2015-01-19
      • 2013-09-06
      • 2014-12-01
      • 2020-10-16
      • 2013-09-06
      • 1970-01-01
      相关资源
      最近更新 更多