没有 Paypal 沙盒 IPN 历史记录。设置后通知仍不工作

No Paypal Sandbox IPN History. Notifications Not Working Despite Setup

我正在尝试在 PayPal 沙盒中执行最简单的“Hello World”IPN 通知,尽管我尽了最大努力,但它仍然无法正常工作。

我尝试按照此处所述检查 IPN 历史记录: Paypal SandBox IPN History ...但未显示任何内容。

我检查了我的沙箱 IPN 配置: https://sandbox.paypal.com/us/cgi-bin/webscr?cmd=_profile-ipn-notify-edit ...它确实显示了我的 IPN URL(设置为“https://-random id-.ngrok.io/ipn”),但是当我在我没有收到任何通知的沙盒。

总结:

  1. 沙盒 IPN URL 似乎已配置到我的 ngrok URL。
  2. 我尝试在 Sandbox 中执行随机交易(使用我的个人 PayPal 帐户和 PayPal 电子邮件 link)。
  3. 没有收到通知,IPN 历史记录中也没有显示任何内容。

我错过了什么?

确保接收付款的沙盒企业帐户在沙盒环境中有确认电子邮件。

  1. https://www.sandbox.paypal.com/businessprofile/settings/email
  2. 登录
  3. 如有必要,从那里发送确认
  4. 通过https://www.paypal.com/signin?intent=developer&returnUri=https%3A%2F%2Fdeveloper.paypal.com%2Fdeveloper%2Fnotifications%2F
  5. 阅读并继续确认