Some TODOs
							parent
							
								
									6076455d06
								
							
						
					
					
						commit
						6297639688
					
				|  | @ -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); | ||||||
|  |  | ||||||
|  | @ -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
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue