获取Instant Shopify Webhook

发布于 2025-01-17 23:41:17 字数 230 浏览 2 评论 0原文

当 Shopify 中发生任何事件时,我希望立即使用 Webhook。 Webhook 工作正常,但需要一些时间才能到达我们的服务器(Webhook 端点 url)。

从商店订购时,需要最少 3 秒、最多 8 秒才能到达 Webhook 端点 URL。

那么有没有什么办法可以立即获得呢?大约2或3秒?

我需要在我的系统中管理实时订购。

I want webhook instantly when any of the event occur in shopify. Webhook is working fine but it's taking a time to reach our server (Webhook end point url).

When ordering from the store, it takes a minimum of 3 seconds and a maximum of 8 seconds to reach webhook end point url.

So there is any option to get instantly? Approximately in 2 or 3 seconds?

I need to manage live ordering in my system.

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

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

发布评论

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

评论(1

眼泪也成诗 2025-01-24 23:41:17

这不是Webhooks的工作方式。原因是,您只是一个订户。当发布者可以交付它时,您可以将Webhook交付,这几乎永远不会立即。虽然不常见,但由于网络拥塞或其他故障,人们已经等待了几个小时,有时甚至更长。

虽然您认为现在立即获得它们很重要,但也许您应该尝试重新努力接收它们,在进行时正确处理它们,然后再尝试减轻这些结果的任何实际问题,因为您最好能。

That is NOT how webhooks work. The reason is, you are just a subscriber. You get your webhook delivered when the publisher can deliver it, which is almost never instantly. While not common, people have waited hours and sometimes longer due to network congestion or other failures.

While you think it is important to get them instantly now, perhaps you should attempt to reframe your efforts around receiving them, processing them properly when you do, and then and only then, try and mitigate any actual problems with those results, as best you can.

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