Adds PayPal routes for the SDK
This commit is contained in:
3
app.js
3
app.js
@ -97,6 +97,9 @@ app.get('/api/lastfm', apiController.getLastfm);
|
|||||||
app.get('/api/nyt', apiController.getNewYorkTimes);
|
app.get('/api/nyt', apiController.getNewYorkTimes);
|
||||||
app.get('/api/twitter', passportConf.isAuthenticated, apiController.getTwitter);
|
app.get('/api/twitter', passportConf.isAuthenticated, apiController.getTwitter);
|
||||||
app.get('/api/aviary', apiController.getAviary);
|
app.get('/api/aviary', apiController.getAviary);
|
||||||
|
app.get('/api/paypal', apiController.getPayPal);
|
||||||
|
app.get('/api/paypal/success', apiController.getPayPalSuccess);
|
||||||
|
app.get('/api/paypal/cancel', apiController.getPayPalCancel);
|
||||||
app.get('/auth/facebook', passport.authenticate('facebook', { scope: 'email' }));
|
app.get('/auth/facebook', passport.authenticate('facebook', { scope: 'email' }));
|
||||||
app.get('/auth/facebook/callback', passport.authenticate('facebook', { successRedirect: '/', failureRedirect: '/login' }));
|
app.get('/auth/facebook/callback', passport.authenticate('facebook', { successRedirect: '/', failureRedirect: '/login' }));
|
||||||
app.get('/auth/github', passport.authenticate('github'));
|
app.get('/auth/github', passport.authenticate('github'));
|
||||||
|
Reference in New Issue
Block a user