【问题标题】:Not receiving IPNs in paypal sandbox [closed]未在贝宝沙盒中接收 IPN [关闭]
【发布时间】:2020-05-19 14:56:46
【问题描述】:

沙盒贝宝中的“即时付款通知 (IPN) 历史记录”为空,尽管使用 django-paypal 发送了以下值:

    # Paypal initial values
    paypal_dict = {
        "business": settings.SANDBOX_PAYPAL_RECEIVER_EMAIL,
        "amount": "2.5",
        "currency_code": "GBP",
        "item_name": "item",
        "notify_url": request.build_absolute_uri(reverse('paypal-ipn')),
        "return": request.build_absolute_uri(reverse('blog:article', args=(ar_id, "payment_successful"))),
        "cancel_return": request.build_absolute_uri(reverse('blog:article', args=(ar_id, "payment_cancelled"))),
        "custom": "plan",
    }

Paypal listener configuration:

Notification URL    https://www.<mysite.com>/paypal/
Message delivery    Enabled

所有付款都成功,但我在 paypal 沙盒帐户中没有收到任何 IPN。

IPN simulator 工作正常,我在我的网站监听器中收到 IPN。

我正在使用 django 3.0.2、django-paypal 1.0,我的网站通过 https 在线。

【问题讨论】:

标签: django paypal paypal-sandbox django-paypal


【解决方案1】:

是的,PayPal IPN 沙盒服务已关闭。

受影响的产品:通知

初始通知:受影响地区:全球

我们发现了一个影响即时付款通知 (IPN) 的问题 在沙盒环境中。自 1 月以来未生成 IPN 2020 年 1 月 31 日。团队正在努力解决此问题。

链接:https://www.paypal-status.com/incident/sandbox

下次,请检查此页面以查看他们的产品/服务是否已关闭: https://www.paypal-status.com/product/sandbox

【讨论】:

  • 谢谢,我终于集成了智能按钮,对我来说似乎更有用的解决方案
  • 酷!刚看了一下智能按钮,看起来很有前途...
【解决方案2】:

我们发现了一个影响沙盒环境中即时支付通知 (IPN) 的问题。自 2020 年 1 月 31 日起未生成 IPN。团队正在努力解决此问题。

来源:https://www.paypal-status.com/incident/sandbox

您仍然可以使用模拟器测试您的通知。

【讨论】:

  • 大声笑,只需提及我的答案,而不是做出相同的回答;)
  • @parse 你好,检查我发布答案的时间,它在你之前,但是为了你的辩护,我知道为什么版主删除了我的答案并取消了它:/
  • 当我来到这个帖子时,我看到了这个问题的0个答案!也许它已被隐藏或需要审查!我不知道
猜你喜欢
  • 2012-07-22
  • 2023-04-10
  • 2012-04-10
  • 2012-02-22
  • 2013-03-31
  • 2014-01-05
  • 1970-01-01
  • 2016-03-07
  • 2012-10-12
相关资源
最近更新 更多