stub for abstract payments

This commit is contained in:
AJ ONeal 2017-05-29 17:35:52 +00:00
parent a379a3c201
commit c740607c98
1 changed files with 9 additions and 0 deletions

View File

@ -224,6 +224,15 @@ module.exports.create = function (xconfx, apiFactories, apiDeps) {
}
});
/*
Object.defineProperty(req, 'getSitePayments', {
enumerable: true
, configurable: false
, writable: false
, value: function getSitePaymentsProp() {
}
});
*/
req.Stripe = require('stripe')(siteConfig['stripe.com'].live.secret);
req.StripeTest = require('stripe')(siteConfig['stripe.com'].test.secret);