No content to show

User Activity

I got it right finally.The request.body was empty because I forgot to pass  bodyParser() in the webhook. it should look like this: router.post("/shopredact", bodyParser(),async (ctx) => {  The calculation of the hmac is necessary for the mandatory we...
I have registered the mandatory webhooks in the Dashboard on setting up the app and the webhook_subscriptions_update using the method to register in the server code getting success in the registration:const response = await Shopify.Webhooks.Registry....
If you are using the code  try {await Shopify.Webhooks.Registry.process(ctx.req, ctx.res);console.log(`Webhook processed, returned status code 200`);} catch (error) {console.log(`Failed to process webhook: ${error}`);}the catch(error) always happens ...
Can you please give me, and everybody, the code that you are using for the verification? The code that I am using is let hmac = ctx.request.headers["x-shopify-hmac-sha256"]  let calculatedHmac= crypto.createHmac("sha256", process.env.SHOPIFY_API_SECR...
I'm trying to debug the processing of webhooks. Shopify is firing webhooks to my server and the webhooks are received.My problem is that webhook ctx.request.body is undefined. That means, the webhook request comes without a body and without a body I ...
Shopify does not delete the metafields generated by an app when the app is uninstalled. Since the product reviews use metafields and since your new app seems to use the same namespace than the app by Shopify, you are stuck with the reviews generated ...
Shopify tools generate code that is incomplete and broken. Besides Shopify does not supply tools that allow me to thouroughly test my code. I cannot generate events such as: webhooks firing, app install and app uninstall to test my code. This is my s...
My App creates metafields, potentially thousands, scoped to avoid collisions.I feel that I should delete all the metafields created by the app if the app is uninstalled by the merchant.I would do this on the  APP_UNINSTALLED webhook. Unluckily the ac...
Sorry mistake in prior posting first api call should be queryString = `{product(id: "gid://shopify/Product/${productId}") { titlemetafields(first: ${numProducts} after: "${cursor}" reverse: true) {pageInfo {hasNextPagehasPreviousPage} edges {cursorno...
This example gets reviews on a product carried as metafields, one per reviewFirst call to the apiqueryString = `{ product(id: "gid://shopify/Product/${productId}") { titlemetafields(first: ${numProducts} after: "${cursor}") {pageInfo {hasNextPagehasP...
This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.