-
Notifications
You must be signed in to change notification settings - Fork 26
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
Could not validate webhook HMAC #109
Comments
You should not create your webhooks from the shopify admin setting webhooks page. You need to generate the webhooks from the This is documented here: https://github.com/craftcms/shopify?tab=readme-ov-file#set-up-webhooks This should set up validated webhooks automatically for you. |
Ah got it. Don't need to add any of the webhooks to Shopify. I now have a "[web.ERROR] [application] Webhook handler failed with message:file_put_contents(/tmp/.last_api_deprecation_warning): Failed to open stream: Permission denied" issue but that seems like an issue for the server admin. Thanks. |
Adding to Amanda's error, we do have 777 on file /tmp/.last_api_deprecation_warning as current permissions and it still throws an error. What this temp file is used for, I just see a random numbers inside. Also here are the logs |
Description
Trying to sync Shopify product changes to Craft using webhooks.
The Shopify webhook sections says "Your webhooks will be signed with ..."
This long string does not match SHOPIFY_ADMIN_ACCESS_TOKEN, SHOPIFY_API_KEY, SHOPIFY_API_SECRET_KEY, or SHOPIFY_HOSTNAME. Should it be somewhere?
Steps to reproduce
[web.ERROR] [application] Could not validate webhook HMAC
Additional info
The text was updated successfully, but these errors were encountered: