Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No guidance on setting up and using webhooks with shopify-app-template-php #485

Open
DN-PERSONAL-REPO opened this issue Nov 13, 2023 · 1 comment

Comments

@DN-PERSONAL-REPO
Copy link

DN-PERSONAL-REPO commented Nov 13, 2023

Issue summary

I am attempting to set up Webhooks in a shopify app generated by the shopify-app-template-php. There is no clear documentation I can find about how to do this.

However, the template has already done a lot of this for us.
How am I supposed to register a Webhook for example orders/create without overriding the boilerplate that Shopify has provided in this template?

What is the correct way to process them after this? Where is the /api/webhooks endpoint that the boilerplate code sets being used? I can't find it in the template.

This is extremely unclear what the pattern should be for using Webhooks with this template without overriding the boilerplate code, and there are no docs I can find specifically to guide me.

Can anyone please help point me to the correct docs for how to set up and use Webhooks within this template?

Note:
I am developing a custom app that requires me to perform a certain task on when an event occurs in the store.

@linaori
Copy link

linaori commented May 3, 2024

I wasted a lot of time today to try and find the documentation, found it here: https://github.com/Shopify/shopify-api-php/blob/main/docs/usage/webhooks.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants