Webhook calls when execute refunds.json execute in app itself

Solved
viru
Shopify Partner
16 0 8

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.

Regards,
Viral
Accepted Solution (1)
Visely-Team
Shopify Partner
1843 210 487

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.

Sergiu Svinarciuc | CTO @ visely.io
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution!
- To learn more about the awesome stuff we do head over to visely.io or our blog

View solution in original post

Reply 1 (1)
Visely-Team
Shopify Partner
1843 210 487

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.

Sergiu Svinarciuc | CTO @ visely.io
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution!
- To learn more about the awesome stuff we do head over to visely.io or our blog