You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It has the jobs to match each Webhook, also exactly like the default template.
I reset my database and did a fresh install of the app. When I check which Webhooks have been created with ShopifyAPI::Webhook.all, it only returns the "app/uninstalled" one. Is this the expected behaviour?
shopify_api version: 13.0.0
shopify_app version: 21.5.0
Ruby version: 2.7.8
Operating system: macOS
API 2022-10
Expected behavior
I would expected all the Webhooks to show when I call ShopifyAPI::Webhook.all
Actual behavior
Only returns the Webhook with topic app/uninstalled
Steps to reproduce the problem
Do a fresh install using ShopifyApp 21.5.0
With an active session, call ShopifyAPI::Webhook.all
The text was updated successfully, but these errors were encountered:
I also noticed that one of the webhook topics has a typo in it, which comes from one of the generators. It should be "customers/redact" instead of "customer/redact". #1704 fixes the template.
Based on this documentation, developers don't need to create subscription to the mandatory Webhooks. These are configured in the Partner Dashboard, so I guess it explains why they don't show when we call ShopifyAPI::Webhook.all.
Issue summary
My
shopify_app.rb
initializer is configured exactly like the default template, including this:It has the jobs to match each Webhook, also exactly like the default template.
I reset my database and did a fresh install of the app. When I check which Webhooks have been created with
ShopifyAPI::Webhook.all
, it only returns the "app/uninstalled" one. Is this the expected behaviour?shopify_api
version: 13.0.0shopify_app
version: 21.5.0Expected behavior
I would expected all the Webhooks to show when I call
ShopifyAPI::Webhook.all
Actual behavior
Only returns the Webhook with topic
app/uninstalled
Steps to reproduce the problem
ShopifyApp 21.5.0
ShopifyAPI::Webhook.all
The text was updated successfully, but these errors were encountered: