"X-Shopify-Hmac-Sha256" is not available in the request.
const hmac = req.get("X-Shopify-Hmac-Sha256"); Issue - 2
"X-Shopify-Order-Id" is not available in the request.
const shopifyOrderId = req.get("X-Shopify-Order-Id"); Issue 3: sdk.getNFTCollection not available
Getting an Error at const nftCollection = await sdk.getNFTCollection(NFT_COLLECTION_ADDRESS);
Issue 4:
The issue lies in productQuery.body.product.body_html, this returns a string with tags in it. which is then sent as a description.
Change description: productQuery.body.product.body_html to
description: productQuery.body.product.body_html.replace("<span>", "").replace("</span>", ""),
Issue 5:
Can't find the value of the walletAddress from the following code. An Error is being displayed.
const walletAddress = item.properties.find((p) => p.name === "Wallet Address").value;
Issue - 1
"X-Shopify-Hmac-Sha256" is not available in the request.
const hmac = req.get("X-Shopify-Hmac-Sha256");
Issue - 2"X-Shopify-Order-Id" is not available in the request.
const shopifyOrderId = req.get("X-Shopify-Order-Id");
Issue 3: sdk.getNFTCollection not availableGetting an Error at
const nftCollection = await sdk.getNFTCollection(NFT_COLLECTION_ADDRESS);
Issue 4: The issue lies in productQuery.body.product.body_html, this returns a string with tags in it. which is then sent as a description.
Change
description: productQuery.body.product.body_html
todescription: productQuery.body.product.body_html.replace("<span>", "").replace("</span>", ""),
Issue 5: Can't find the value of the walletAddress from the following code. An Error is being displayed. const walletAddress = item.properties.find((p) => p.name === "Wallet Address").value;