[CUSTOM CODE] [Haven't read docs] Cannot process webhooks #93
Closed
sachinaugi07
started this conversation in
General
Replies: 2 comments 1 reply
-
Using express.json() as body parser have updated the webhook controller code to include req.body as string. But after doing this im getting the hmac error. I have set the api secret in the .env file. Not sure why this is happening. Need some help here.
|
Beta Was this translation helpful? Give feedback.
0 replies
-
The discussions and issues on this repository is not meant for your own code, but only for the repository. If you need help, please head over to the Discord, Shopify Community or somewhere else. Just for your reference, I know you're not using this repository because
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Receiving malformed webhook request with missing body data when trying to uninstall the shopify app from the store admin dashboard.
webhook route
app.post('/webhooks/:topic', express.text({ type: '*/*' }), shopifyWebhook);
Registering the webhook:-
Webhook controller
Beta Was this translation helpful? Give feedback.
All reactions