App reviews, troubleshooting, and recommendations
I added orders/create webhook in the configuration.
ShopifyApp.configure do |config|
config.webhooks = [
{ topic: "orders/create", address: "api/webhooks/orders_create" },
# 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" },
]
...
end
And I confirmed the webhooks on the Rails console.
irb(main):001:0> ShopifyApp.configuration.webhooks
=>
[{:topic=>"orders/create", :address=>"api/webhooks/orders_create"},
{:topic=>"app/uninstalled", :address=>"api/webhooks/app_uninstalled"},
{:topic=>"shop/redact", :address=>"api/webhooks/shop_redact"},
{:topic=>"customers/redact", :address=>"api/webhooks/customers_redact"},
{:topic=>"customers/data_request", :address=>"api/webhooks/customers_data_request"}]
But after the app is installed, I see only app/uninstalled webhook is registered.
The versions I am using:
Any thoughts on why orders/create webhook and other mandatory webhooks are not registered?
Has anybody figured out anything? Maybe this helps check:
query webhookSubscriptions {
webhookSubscriptions(first:50) {
nodes {
id
topic
endpoint {
... on WebhookHttpEndpoint {
callbackUrl
}
}
}
}
}
2m ago Learn the essential skills to navigate the Shopify admin with confidence. T...
By Shopify Feb 12, 2025Learn how to expand your operations internationally with Shopify Academy’s learning path...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025