diff --git a/packages/server/src/views/emails/paymentFailedAccountDisabledTemplate.ts b/packages/server/src/views/emails/paymentFailedAccountDisabledTemplate.ts index f14ae1a5b..1c2b003ec 100644 --- a/packages/server/src/views/emails/paymentFailedAccountDisabledTemplate.ts +++ b/packages/server/src/views/emails/paymentFailedAccountDisabledTemplate.ts @@ -1,19 +1,24 @@ import markdownUtils from '@joplin/lib/markdownUtils'; import config from '../../config'; import { EmailSubjectBody } from '../../models/EmailModel'; -import { stripePortalUrl } from '../../utils/urlUtils'; +import { stripePortalUrl, helpUrl } from '../../utils/urlUtils'; export default (): EmailSubjectBody => { return { subject: `Your ${config().appName} payment could not be processed`, body: ` -Your last ${config().appName} payment could not be processed. As a result your account has disabled. +Your last ${config().appName} payment could not be processed. As a result your account has been disabled. -To re-activate your account, please update your payment details, or contact us for more details. +To re-activate your account, please update your payment details. -[Manage your subscription](${markdownUtils.escapeLinkUrl(stripePortalUrl())}) +Following this link to [manage your subscription](${markdownUtils.escapeLinkUrl(stripePortalUrl())}). +For more information please see the [help page](${helpUrl()}). + +Thank you, + +Joplin Cloud Team `.trim(), }; }; diff --git a/packages/server/src/views/emails/paymentFailedTemplate.ts b/packages/server/src/views/emails/paymentFailedTemplate.ts index 2c5e45466..1b0d08da2 100644 --- a/packages/server/src/views/emails/paymentFailedTemplate.ts +++ b/packages/server/src/views/emails/paymentFailedTemplate.ts @@ -1,7 +1,7 @@ import markdownUtils from '@joplin/lib/markdownUtils'; import config from '../../config'; import { EmailSubjectBody } from '../../models/EmailModel'; -import { stripePortalUrl } from '../../utils/urlUtils'; +import { stripePortalUrl, helpUrl } from '../../utils/urlUtils'; export default function(): EmailSubjectBody { return { @@ -13,7 +13,7 @@ We were not able to process your last payment. Please follow this URL to update [Manage your subscription](${markdownUtils.escapeLinkUrl(stripePortalUrl())}) -Please answer this email if you have any question. +For more information please see the [help page](${helpUrl()}). Thank you,