node.js - 订单未从 shopify 同步到我的 shopify 应用
问题描述
当客户在没有电子邮件地址且仅提供手机号码的情况下下订单时,订单不会从 shopify 同步到我的 shopify 应用程序。我该如何解决这个问题,以便我的 shopify-app 收到使用手机号码的订单?
解决方案
You can use shopify webhooks, Webhooks are a useful tool for apps that want to execute code after a specific event occurs on a shop, for example, when customer create order from frontend then shopify will notify you via json/xml response if you create order/create webhook for merchant store. It does not depend on email or mobile number. You can manage order response according to your logic in your shopify-app.
How to create webhook for app : https://help.shopify.com/en/api/reference/events/webhook
Please elaborate if you need any further help. Thanks!!
推荐阅读
- javascript - 无法从 SvelteKit 中的 API 获取数据
- c++ - Clang++ SCOPED_CAPABILITY 产生“警告:释放未持有的互斥锁”
- google-bigquery - 查询中的 BigQuery 默认节点(FROM 子句)
- discord.js - 无法在嵌入标题中使用自定义表情符号
- google-apps-script - 添加谷歌表格后,警报应用程序脚本不起作用
- javascript - 从多选中清除焦点上的搜索值 - 多选反应下拉(React JS)
- sparql - GraphDB post Sparql-File 错误:处理程序调度失败;嵌套异常是 java.lang.StackOverflowError
- excel - 正常运行时不打印数组值,但在 VBA 中以调试模式打印
- java - JMockit 给出错误:java.lang.IllegalArgumentException:按类型设置字段时缺少字段值
- javascript - 选择多个单选按钮后显示/隐藏 div