feat: Updated email templates
This commit is contained in:
@@ -1,8 +1,20 @@
|
||||
{{define "subject"}}Payment failed for your Vantage subscription{{end}}
|
||||
{{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 failed." .InstanceName)}}
|
||||
{{template "p" "Your instance is unaffected while the card is retried. Update your payment method from the billing portal."}}
|
||||
{{if .PortalURL}}{{template "button" (dict "label" "Open billing portal" "url" .PortalURL)}}{{end}}
|
||||
{{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}}
|
||||
|
||||
Reference in New Issue
Block a user