Topics covering webhook creation & management, event handling, Pub/Sub, and Eventbridge, in Shopify apps.
Hello, I have created webhooks previously with another store which are still working fine. I simply copied over the code in the PHP file (and changed the "SHOPIFY_APP_SECRET") to test the webhook. I created the webhook in the new shopify store and pointed it to the correct URL for the new PHP file.
When I test the webhook, it is not doing anything. I have tested the actual code, and it works on its own.
I have also simplified the code right down to the basics, and also all the way down to:
<? mail("email@website.com", "Shopify Webhook", "Test "); ?>
which worked on other stores just to test if the file is even being called by the webhook. It just wont call the file.
Is there anyway of seeing logs to see what is going wrong?
I have also tested this on https://webhook.site
Thanks
Hello, thanks for your reply, please can you explain a bit further? What do you mean by "write whole response in file"? And how would this test the webhook?
Thanks