-
Notifications
You must be signed in to change notification settings - Fork 723
Closed as not planned
Description
Issue summary
Before opening this issue, I have:
- Upgraded to the latest version of the package
shopify_appversion: 22.5.1- Ruby version: 3.4.1
- Operating system: MacOS & Linux
- Set
log_level: :debugin my configuration, if applicable - Found a reliable way to reproduce the problem that indicates it's a problem with the package
- Looked for similar issues in this repository
- Checked that this isn't an issue with a Shopify API
- If it is, please create a post in the Shopify community forums or report it to Shopify Partner Support
Webhooks that I've configured in config/initializers/shopify_app.rb are not being registered.
I have a block like this:
config.webhooks = [
{topic: 'app/uninstalled', address: "#{ENV['SHOPIFY_APP_BASE']}/webhooks/app_uninstalled", format: 'json'},
{topic: 'customers/data_request', address: "#{ENV['SHOPIFY_APP_BASE']}/webhooks/customers_data_request", format: 'json'},
{topic: 'customers/redact', address: "#{ENV['SHOPIFY_APP_BASE']}/webhooks/customers_redact", format: 'json'},
{topic: 'orders/create', address: "#{ENV['SHOPIFY_APP_BASE']}/webhooks/orders_create", format: 'json'},
{topic: 'shop/redact', address: "#{ENV['SHOPIFY_APP_BASE']}/webhooks/shop_redact", format: 'json'},
{topic: 'shop/update', address: "#{ENV['SHOPIFY_APP_BASE']}/webhooks/shop_updated", format: 'json'},
{topic: 'themes/update', address: "#{ENV['SHOPIFY_APP_BASE']}/webhooks/theme_updated", format: 'json'}
]But none of those webhooks are registered when a new shop installs.
Expected behavior
The webhooks should be registered.
Actual behavior
The webhooks are not registered.
Steps to reproduce the problem
- Configure some webhooks in
config.webhooks - Install the app in a shop
- Notice that webhooks are not registered
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Type
Fields
Give feedbackNo fields configured for issues without a type.