Hi folks,
With the new function logs, I can finally confirm something is off with cart metafield capture during checkout.
The shop has a function active that’s supposed to block orders with missing metafields. In the logs, I can see the metafield is saved and the function runs correctly. But then I don’t receive any order created webhooks (I only subscribe to webhooks with my metafield), and when I check the order via the Admin GraphQL API, its metafield is null. This seem to be happening to <1% of the orders.
Function invocation ID:
d1c8a2c1-c927-4b35-a690-a4f0ff577900
Order ID: gid://shopify/Order/6940068479202
Any idea what could be going on? Would really appreciate a hand digging into this.
Edit: ticket: #67503710

