diff --git a/apps/passport-server/resources/one-click-page/error.html b/apps/passport-server/resources/one-click-page/error.html index 3624fc3cf3..d63c492d95 100644 --- a/apps/passport-server/resources/one-click-page/error.html +++ b/apps/passport-server/resources/one-click-page/error.html @@ -267,7 +267,7 @@ contactSupportBtn.onclick = function (e) { window.open( - `mailto:{{zupassSupport}}?subject=Ticket Support ({{email}})&body=Hi, I'd like to request support on finding my ticket in Zupass. My email(s) are listed in the subject of this email.` + `mailto:{{zupassSupport}}?subject=Ticket Support #{{orderCode}} ({{email}})&body=Hi, I'd like to request support on finding my ticket in Zupass. My email(s) are listed in the subject of this email.` ); } diff --git a/apps/passport-server/src/routing/routes/genericIssuanceRoutes.ts b/apps/passport-server/src/routing/routes/genericIssuanceRoutes.ts index 4941058c9b..893bf9b63d 100644 --- a/apps/passport-server/src/routing/routes/genericIssuanceRoutes.ts +++ b/apps/passport-server/src/routing/routes/genericIssuanceRoutes.ts @@ -867,7 +867,8 @@ export function initGenericIssuanceRoutes( const file = await readFileWithCache(errorFilePath); const rendered = Mustache.render(file, { zupassSupport: ZUPASS_SUPPORT_EMAIL, - email: email + email: email, + orderCode: code }); res.send(rendered); }