{"action":"closed","issue":{"url":"https://api.github.com/repos/Shopify/shopify_app/issues/271","repository_url":"https://api.github.com/repos/Shopify/shopify_app","labels_url":"https://api.github.com/repos/Shopify/shopify_app/issues/271/labels{/name}","comments_url":"https://api.github.com/repos/Shopify/shopify_app/issues/271/comments","events_url":"https://api.github.com/repos/Shopify/shopify_app/issues/271/events","html_url":"https://github.com/Shopify/shopify_app/issues/271","id":159599668,"number":271,"title":"Webhooks not being generated in client shops","user":{"login":"blindMoe","id":1441164,"avatar_url":"https://avatars.githubusercontent.com/u/1441164?v=3","gravatar_id":"","url":"https://api.github.com/users/blindMoe","html_url":"https://github.com/blindMoe","followers_url":"https://api.github.com/users/blindMoe/followers","following_url":"https://api.github.com/users/blindMoe/following{/other_user}","gists_url":"https://api.github.com/users/blindMoe/gists{/gist_id}","starred_url":"https://api.github.com/users/blindMoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blindMoe/subscriptions","organizations_url":"https://api.github.com/users/blindMoe/orgs","repos_url":"https://api.github.com/users/blindMoe/repos","events_url":"https://api.github.com/users/blindMoe/events{/privacy}","received_events_url":"https://api.github.com/users/blindMoe/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-06-10T09:53:33Z","updated_at":"2016-06-14T14:15:13Z","closed_at":"2016-06-14T14:15:13Z","body":"I hope I am not misunderstanding the documentation but after running the following rails command I thought that when a new OAuth session was created the gem would ensure the webhook exists in the clients shop.  It seems like the proper line is added to the config/initializers/shopify_app.rb but the webhook is not created on install of the app.\r\n\r\nRails generator code:\r\n`shopify_app:add_webhook -t orders/create -a \\\r\nhttp://moedesigns.dyndns.org:3000/webhooks/orders_create `\r\n\r\nconfig/initializers/shopify_app.rb code:\r\n```\r\n  config.webhooks = [\r\n    {topic: 'orders/create', address: 'http://xxxxx.dyndns.org:3000/webhooks/orders_create', format: 'json'},\r\n  ]\r\n```\r\n\r\nAm I wrong to think that the webhook should be automatically generated on the client shop when the app is installed or once the OAuth handshake is complete?"}}
{"actor":{"display_login":"kevinhughes27"}}