doujiexin1136 2016-03-08 16:04
浏览 267
已采纳

在通过API创建订单时,Shopify Webhook不会触发

When I create an order through the orders API the webhook for orders/create does not fire, however, if a real order comes through the store the webhook successfully fires.

Does anyone know how I can use the orders API to create an order and have the webhook trigger?

  • 写回答

2条回答 默认 最新

  • douzi8916 2016-03-08 17:55
    关注

    Order hook for shopify triggers every-time, sometimes even multiple times and it triggers for order-update too when order is created. There must be something wrong that you were trying.

    You can use logger to write down to a file with extension ".txt". So that you can know how many times web-hook is triggered or it's triggered or not.

    You can use this: https://github.com/Seldaek/monolog

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

悬赏问题

  • ¥15 关于vmprotect3.8.4虚拟文件一项
  • ¥15 在不用IT调试的情况下怎样能连外网
  • ¥20 C#调用虚拟键盘TabTip.exe
  • ¥15 Qt4代码实现下面的界面
  • ¥15 CCS离散化传递函数与仿真不一致
  • ¥15 prism提示我reinstall prism 如何解决
  • ¥15 asp.core 权限控制怎么做,需要控制到每个方法
  • ¥20 while循环中OLED显示中断中的数据不正确
  • ¥15 这个视频里的stm32f4代码是怎么写的
  • ¥15 JNA调用DLL报堆栈溢出错误(0xC00000FD)