Last active
January 4, 2016 20:39
-
-
Save dmcaulay/8675079 to your computer and use it in GitHub Desktop.
example of configuring payments module
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var config = require('config'); | |
// require braintree implementation | |
var payments = require('payments-braintree'); | |
// or require stripe implementation | |
var payments = require('payments-braintree'); | |
// init | |
payments.config(config.payments); | |
module.exports = payments; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment