shopify-validate
Simple express middleware to validate shopify web hooks
Install
$ npm install --save shopify-validate
Usage
var express = bodyParser = Shopify = shopifySecret = processenvSHOPIFY_SECRET var shopify = shopifySecret// make sure the shopify validate middleware// is added before bodyParservar middleware = shopify bodyParser var app = app
Test
$ npm test
License
MIT (See LICENSE
for more info)
Author
Evan Lucas
(c) 2014 GAW Miners