PayPal REST Webhook 是否支持即时付款通知

发布于 2025-01-15 23:56:16 字数 255 浏览 1 评论 0原文

我正在构建一个系统来监听 PayPal 中的付款变化,为此我研究并建议使用 IPN 上的 Webhooks。

截至目前,我可以创建一个应用程序并添加带有事件订阅者的 Webhook。另外,通过 webhook 模拟器,我可以正确收到通知,但在沙箱中进行的实际付款不会向侦听器触发任何内容。

我还验证了与凭据关联的正确企业帐户。

除了 PayPal 触发的 Webhooks 之外,一切都运行良好。

另外,请注意正在触发,我也没有调试 ID。

I am building the system to listen to the Payment changes in PayPal for that I research and recommended using Webhooks over the IPN.

As of now, I can able to create an app and add webhooks with event subscribers. Also, with the webhook simulator I am getting notified correctly but with the actual Payment made in the sandbox does not trigger anything to the listener.

I have verified the correct business account linked with credentials as well.

Everything is working perfectly except the Webhooks triggering from PayPal.

Also, as noting is triggering I do not have debug id as well.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

梦在夏天 2025-01-22 23:56:16

如果您尚未为任何 REST 应用程序(沙盒或实时)注册任何 Webhook 侦听器,PayPal 将不会发送任何 Webhook,因为它不知道要为哪些应用程序发送事件,也不知道将事件发送到何处。

要为应用程序注册 Webhook,请执行以下任一操作:

  • 我的应用程序和凭据(或创建一个),然后添加 Webhook
  • 通过使用 webhooks API 执行此操作,并使用正确的 REST 应用程序客户端 ID 和密钥进行身份验证。

在您为事件注册侦听器 URL 之前,不会发送任何 Webhook。

If you have not registered any webhook listeners for any of your REST Apps (either sandbox or live), PayPal will not send any webhooks because it does not know which ones to send events for, or where to send them.

To register webhooks for an app, either:

  • Find the app for the correct sandbox account in My Apps and Credentials (or create one), and Add Webhook
  • Do so via using thewebhooks API, with the correct REST App client id and secret for authentication

Until you register a listener URL for event(s), no webhooks will be sent.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文