![]() ![]() I am thinking about the solution, actually now I want to setTimeOut() to fix this, but it's too g raceless for a programmer. I am setting up an app-uninstalled webhook as in this tutorial. A store owner can reinstall an app, which means the onboarding steps need to be triggered again. Webhooks allow apps to stay in sync with Shopify data or perform an action after a. ![]() The uninstall webhook lets us know when a shop uninstalled our app so we can invalidate the entry in our database. I just wonder wether the order data persistence action of 'order/created ' is actually lagging behind the the web hook action, in other words, when shopify shop is created an order, it will send the web hook firstly and then store the data to databse, and so I cannot query anything about this order? There are two store webhooks that in our opinion an app should always subscribe to: app/uninstalled and shop/update. The question is when I debug this I could get whole data I concerned through way I pasted belowīut when I just let it run, things will get terribly wrong as the orders I received will become empty. In this function I called the Graphql to deal with order newly created, I know this is a little bit verbose, but I can't see any useful information about 'fulfillmentOrders' in body paraphrased as 'payload' in my code, reckoning I need to implement the auto-fulfill function At this function ' fulfillOrder' as pasted below:Īnd the function ' conditionsGen' is actually simple implement as a name query, pasted below: uninstall webhook so im using two php code one is webhook. Success Your biliing information has been updated. I've met a weird issue today when I was tackling the data of webhook, which you could see below: Shopify webhooks on NodeJS Youve successfully subscribed to Synapse The Kubric Blog Great Next, complete checkout for full access to Synapse The Kubric Blog Welcome back Youve successfully signed in Success Your account is fully activated, you now have access to all content. ![]()
0 Comments
Leave a Reply. |