Nonflavored Prescription Medicine
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

connect-dwolla-webhook

0.0.4 • Public • Published

connect-dwolla-webhook

Build Status

When adding support for Dwolla's Webhooks, it's a good idea (read: MUST) to check the validity of the request to ensure that it's actually from Dwolla. This simple middleware for connect does just that.

Example

var connect = require('connect'),
    connectDwolla = require('connect-dwolla-webhook');
 
var app = connect()
  .use(connect.bodyParser())
  .use(connectDwolla({ secret: 'my-dwolla-app-secret' }))
  .use(function(req, res){
    res.end('Hello Dwolla!\n');
  });

Keywords

none

install

npm i connect-dwolla-webhook

Downloadsweekly downloads

1

version

0.0.4

license

none

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar