Topics covering webhook creation & management, event handling, Pub/Sub, and Eventbridge, in Shopify apps.
Webhook calls when execute refunds.json execute in app itself.
I want to stop webhook execution when execute refund API directly inside app using php SDK.
When refund from Shopify admin dashboard it will execute refund webhook that is fine.
Solved! Go to the solution
This is an accepted solution.
There is no way you can stop webhook from firing. What you can do, is somehow filter out the refunds issued from within the app. If you are concerned about other thridparties receiving the message then you have no solutions.
This is an accepted solution.
There is no way you can stop webhook from firing. What you can do, is somehow filter out the refunds issued from within the app. If you are concerned about other thridparties receiving the message then you have no solutions.