Hi,
I am working on an app, and I am fairly new. I am trying to register for ORDERS_CREATE webhook using node js app. Here is what I am doing
await Shopify.Webhooks.Registry.register({
shop: session.shop,
accessToken: session.accessToken,
path: "pubsub://projectdev:TOPIC_NAME",
topic: "ORDERS_CREATE",
deliveryMethod: DeliveryMethod.PubSub
});
and I get following response from shopify:
{
"ORDERS_CREATE": {
"success": true,
"result": {
"data": {
"pubSubWebhookSubscriptionCreate": {
"userErrors": [],
"webhookSubscription": {
"id": "gid://shopify/WebhookSubscription/1105878417548"
}
}
},
"extensions": {
"cost": {
"requestedQueryCost": 10,
"actualQueryCost": 10,
"throttleStatus": {
"maximumAvailable": 1000,
"currentlyAvailable": 990,
"restoreRate": 50
}
}
}
}
}
}
but when I create orders from my test store I do not get anything on the topic,
Am I missing something?
Thank you for all the help.
FI