Have your say in Community Polls: What was/is your greatest motivation to start your own business?

Webhook subscription not working through AWS Eventbridge

Webhook subscription not working through AWS Eventbridge

ramya_bnr
Shopify Partner
1 0 0

Hello, I am building an app that should subscribe to orders/create webhook. I created the app in typescript using cli and then deployed it to the development store. I also created an event bus in AWS, connected it my store and configured the ARN into my project.

 

Below is the link I followed to implement this app so far

https://shopify.dev/docs/apps/build/webhooks/subscribe/get-started?framework=remix&deliveryMethod=ev...

I can send the test webhook payload through the AWS eventbus using "shopify webhook trigger" in the VS Code terminal and watch it come through in the Cloudwatch logs on AWS. However, I am not receiving the event in my app. I also don't see the webhook being triggered from my development store in the app -> insights section much either. I see it triggered 2 times out of 7-8 orders I placed. A bit weird. I am not finding any material that would solve my problems. Should I create a ngrok https url? That is for HTTPs approach? I also tried creating webhook in the notifications section and that did not work for me as well. All the orders I created after the webhook creation failed with 530 status code. I want to preferably do this with Eventbridge. Any advice would be great. Let me know if any more information is needed.

 

Below is my app.toml configuration.

 

[webhooks]
api_version = "2024-10"

 

[[webhooks.subscriptions]]
topics = [ "app/uninstalled" ]
uri = "/webhooks/app/uninstalled"

 

[[webhooks.subscriptions]]
topics = [ "orders/create" ]
uri = "<ARN_ADDRESS>"

Replies 0 (0)