mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-05 12:02:13 +00:00
Merge pull request #3426 from denis-sokolov/user-cleanup-double-payment
chore(user): cleanup payments configuration, left behind in 440a2e288
This commit is contained in:
commit
83fa2716a6
1 changed files with 0 additions and 10 deletions
|
|
@ -13,16 +13,6 @@ var Challenge = require('./../models/challenge').model;
|
|||
var logging = require('./../logging');
|
||||
var acceptablePUTPaths;
|
||||
var api = module.exports;
|
||||
var isProduction = nconf.get("NODE_ENV") === "production";
|
||||
|
||||
var PaypalRecurring = require('paypal-recurring');
|
||||
var paypalRecurring = new PaypalRecurring({
|
||||
username: nconf.get('PAYPAL_USERNAME'),
|
||||
password: nconf.get('PAYPAL_PASSWORD'),
|
||||
signature: nconf.get('PAYPAL_SIGNATURE')
|
||||
}, isProduction ? "production" : "sandbox");
|
||||
var paypalCheckout = require('paypal-express-checkout')
|
||||
.init(nconf.get('PAYPAL_USERNAME'), nconf.get('PAYPAL_PASSWORD'), nconf.get('PAYPAL_SIGNATURE'), nconf.get('BASE_URL'), nconf.get('BASE_URL'), !isProduction);
|
||||
|
||||
// api.purchase // Shared.ops
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue