Square API - 下单成功后可以回调吗?
Square API - Possible to have a callback after a successful order?
我的公司使用 Square Stand 并且喜欢它的功能。他们不想改变他们处理订单的方式。
但是,他们使用 CRM 进行电子邮件营销和联系人管理。因此,他们目前正在将 Square 发出的订单手动输入到他们的 CRM 中。
我想为他们做的是让他们像往常一样继续使用他们的方形展台,但在后端有一些脚本,只要在他们的方形展台上成功下订单,就会被调用,这将然后使用 CRM API 自动输入订单。
这样的配置可以吗?如果没有,解决方法是什么?
Square 目前有一个 webhooks implementation that provides what you're asking for (notifications when a payment occurs). At present, it unfortunately does not include the full payment details, and so your script would need to call the payments API 可以在发生付款时获取完整的详细信息。
--da3mon
我的公司使用 Square Stand 并且喜欢它的功能。他们不想改变他们处理订单的方式。
但是,他们使用 CRM 进行电子邮件营销和联系人管理。因此,他们目前正在将 Square 发出的订单手动输入到他们的 CRM 中。
我想为他们做的是让他们像往常一样继续使用他们的方形展台,但在后端有一些脚本,只要在他们的方形展台上成功下订单,就会被调用,这将然后使用 CRM API 自动输入订单。
这样的配置可以吗?如果没有,解决方法是什么?
Square 目前有一个 webhooks implementation that provides what you're asking for (notifications when a payment occurs). At present, it unfortunately does not include the full payment details, and so your script would need to call the payments API 可以在发生付款时获取完整的详细信息。
--da3mon