Files
vantage-shared/mail/templates/pastdue.txt.tmpl
T
2026-09-10 12:06:29 +00:00

21 lines
1.3 KiB
Cheetah

{{define "subject"}}Payment failed for your Vantage subscription ({{.InstanceName}}){{end}}
{{define "tone"}}pend{{end}}
{{define "category"}}Billing{{end}}
{{define "pill"}}{{template "chip" (dict "label" "Payment failed" "tone" "pend")}}{{end}}
{{define "title"}}Payment failed for {{.InstanceName}}{{end}}
{{define "body"}}
{{template "lead" (printf "A payment for %s did not go through. The card will be retried automatically." .InstanceName)}}
{{template "callout" (dict "tone" "up" "title" "Your instance is unaffected" "text" "Servers, agents and monitors keep running while the payment is retried. The licence is untouched.")}}
{{if .PortalURL}}{{template "button" (dict "label" "Update payment method" "url" (printf "%s/billing" .PortalURL))}}{{end}}
{{template "label" "How to fix it"}}
{{template "steps" (list
(dict "t" "Open billing in Vantage HQ" "d" "Sign in and go to Billing.")
(dict "t" "Update your payment method" "d" "Add a new card, or correct the details of the current one.")
(dict "t" "That is all" "d" "The next retry uses the updated details."))}}
{{template "rows" (list
(dict "k" "Instance" "v" .InstanceName)
(dict "k" "Payment" "v" "Failed, retrying")
(dict "k" "Licence" "v" "Unaffected"))}}
{{end}}
{{define "why"}}a payment for the {{.InstanceName}} subscription failed.{{end}}