I am using rails 7.0.4, ruby: 3.1.2 and Shopify App gem v: 21.4. I am running a shopify app locally and have added a new orders/create webhook. It works perfectly fine with one of my installed apps (appA) however it doesn’t on a different installed app (appB). In appB all the products webhooks are being called but the orders/create is not. In appA all the webhooks are being called and there are no issues. I have uninstalled /reinstalled the appB and I can’t see any differences between the two apps.
ShopifyApp.configure do |config|
config.webhooks = [
# After a store owner uninstalls your app, Shopify invokes the APP_UNINSTALLED webhook
# to let your app know.
{ topic: "app/uninstalled", address: "api/webhooks/app_uninstalled" },
{ topic: "orders/create", address: "api/webhooks/orders_create" },
{ topic: "products/create", address: "api/webhooks/products_create" },
{ topic: "products/delete", address: "api/webhooks/products_delete" },
{ topic: "products/update", address: "api/webhooks/products_update" },
]
Any help would be greatly appreciated.