Changed txn ID variable

master
Mark Moffat 2020-01-01 14:54:17 +10:30
parent d09b6f13ac
commit f2e6b32384
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ router.post('/checkout_action', (req, res, next) => {
req.session.paymentEmailAddr = newDoc.ops[0].orderEmail;
req.session.paymentApproved = true;
req.session.paymentDetails = `<p><strong>Order ID: </strong>${newId}</p>
<p><strong>Transaction ID: </strong>${txn.transHash}</p>`;
<p><strong>Transaction ID: </strong>${orderDoc.orderPaymentId}</p>`;
// set payment results for email
const paymentResults = {