diff --git a/src/controllers/payments/iap.js b/src/controllers/payments/iap.js index f4c91b663f..2947d44505 100644 --- a/src/controllers/payments/iap.js +++ b/src/controllers/payments/iap.js @@ -2,14 +2,6 @@ var iap = require('in-app-purchase'); var async = require('async'); var payments = require('./index'); -/* -For google iap, you need to name your public key file as: -iap-sanbox or iap-live -*/ -iap.config({ - googlePublicKeyPath: "/path/to/google/public/key/dir/" -}); - exports.androidVerify = function(req, res, next) { console.info(req.body); diff --git a/src/routes/payments.js b/src/routes/payments.js index 8cd6b37ef7..5e77417123 100644 --- a/src/routes/payments.js +++ b/src/routes/payments.js @@ -17,7 +17,7 @@ router.post("/stripe/subscribe/edit", auth.auth, i18n.getUserLanguage, payments. //router.get("/stripe/subscribe", auth.authWithUrl, i18n.getUserLanguage, payments.stripeSubscribe); // checkout route is used (above) with ?plan= instead router.get("/stripe/subscribe/cancel", auth.authWithUrl, i18n.getUserLanguage, payments.stripeSubscribeCancel); -router.post("/iap/android/verify", auth.authWithUrl, i18n.getUserLanguage, payments.iapAndroidVerify); -router.post("/iap/ios/verify", auth.authWithUrl, i18n.getUserLanguage, payments.iapIosVerify); +router.post("/iap/android/verify", /*auth.authWithUrl, i18n.getUserLanguage, */payments.iapAndroidVerify); +router.post("/iap/ios/verify", /*auth.authWithUrl, i18n.getUserLanguage, */ payments.iapIosVerify); module.exports = router; \ No newline at end of file