more dummy controller, just for iap data

This commit is contained in:
Negue
2014-11-24 20:20:10 +01:00
committed by Tyler Renelle
parent cc4812712a
commit b59a70f128
2 changed files with 2 additions and 10 deletions
-8
View File
@@ -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);
+2 -2
View File
@@ -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;