I'm using ShopifySharp to try and consume a Shopify order webhook as a Shopify Private App.
I can't get it to pass validation. My guess is the wrong secret key is being used.
Per ShopifySharp's code (line 236):
<param name="shopifySecretKey">Your app's secret key.</param>
Per their Shopify Developer's Handbook, it states to use your app's secret:
var isValidRequest = await AuthorizationService.IsAuthenticWebhook(
Request.Headers.ToKvps(),
Request.InputStream,
ApplicationEngine.ShopifySecretKey);
My Code:
var isValidRequest = await AuthorizationService.IsAuthenticWebhook(
Request.Headers.ToKvps(),
Request.InputStream,
shopifyPrivateAppSecretKey);

