Some TODOs

react_convert
Mark Moffat 2018-01-21 22:20:46 +01:00
parent 6076455d06
commit 6297639688
2 changed files with 2 additions and 0 deletions

View File

@ -94,6 +94,7 @@ router.get('/checkout_return', (req, res, next) => {
}; };
// send the email with the response // send the email with the response
// TODO: Should fix this to properly handle result
common.sendEmail(req.session.paymentEmailAddr, 'Your payment with ' + config.cartTitle, common.getEmailTemplate(paymentResults)); common.sendEmail(req.session.paymentEmailAddr, 'Your payment with ' + config.cartTitle, common.getEmailTemplate(paymentResults));
res.redirect('/payment/' + order._id); res.redirect('/payment/' + order._id);

View File

@ -91,6 +91,7 @@ router.post('/checkout_action', (req, res, next) => {
} }
// send the email with the response // send the email with the response
// TODO: Should fix this to properly handle result
common.sendEmail(req.session.paymentEmailAddr, 'Your payment with ' + config.cartTitle, common.getEmailTemplate(paymentResults)); common.sendEmail(req.session.paymentEmailAddr, 'Your payment with ' + config.cartTitle, common.getEmailTemplate(paymentResults));
// redirect to outcome // redirect to outcome