You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/fxa-auth-server/lib/senders/emails/templates/subscriptionUpgrade/en.ftl
+9-7Lines changed: 9 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -8,13 +8,15 @@ subscriptionUpgrade-title = Thank you for upgrading!
8
8
# $productName (String) - The name of the new subscribed product, e.g. Mozilla VPN
9
9
subscriptionUpgrade-upgrade-info-2 = You have successfully upgraded to {$productName}.
10
10
11
-
# Variables:
12
-
# $paymentAmountOld (String) - The amount of the previous subscription payment, including currency, e.g. $10.00
13
-
# $paymentAmountNew (String) - The amount of the new subscription payment, including currency, e.g. $10.00
14
-
# $productPaymentCycleNew (String) - The interval of time from the end of one payment statement date to the next payment statement date of the new subscription, e.g. month
15
-
# $productPaymentCycleOld (String) - The interval of time from the end of one payment statement date to the next payment statement date of the old subscription, e.g. month
16
-
# $paymentProrated (String) - The one time fee to reflect the higher charge for the remainder of the payment cycle, including currency, e.g. $10.00
17
-
subscriptionUpgrade-content-charge-info-different-cycle-2 = You have been charged a one-time fee of {$paymentProrated} to reflect your subscription’s higher price for the remainder of this {$productPaymentCycleOld}. Starting with your next bill, your charge will change from {$paymentAmountOld} per {$productPaymentCycleOld} to {$paymentAmountNew} per {$productPaymentCycleNew}.
11
+
## Variables:
12
+
## $paymentAmountOld (String) - The amount of the previous subscription payment, including currency, e.g. $10.00
13
+
## $paymentAmountNew (String) - The amount of the new subscription payment, including currency, e.g. $10.00
14
+
## $productPaymentCycleNew (String) - The interval of time from the end of one payment statement date to the next payment statement date of the new subscription, e.g. month
15
+
## $productPaymentCycleOld (String) - The interval of time from the end of one payment statement date to the next payment statement date of the old subscription, e.g. month
16
+
## $paymentProrated (String) - The one time fee to reflect the higher charge for the remainder of the payment cycle, including currency, e.g. $10.00
17
+
subscriptionUpgrade-content-charge-prorated = You have been charged a one-time fee of {$paymentProrated} to reflect your subscription’s higher price for the remainder of this billing period ({$productPaymentCycleOld}).
18
+
subscriptionUpgrade-content-charge-credit = You have received an account credit in the amount of {$paymentProrated}.
19
+
subscriptionUpgrade-content-starting = Starting with your next bill, your charge will change from {$paymentAmountOld} per {$productPaymentCycleOld} to {$paymentAmountNew} per {$productPaymentCycleNew}.
18
20
19
21
# Variables:
20
22
# $productName (String) - The name of the new subscribed product, e.g. Mozilla VPN
Copy file name to clipboardExpand all lines: packages/fxa-auth-server/lib/senders/emails/templates/subscriptionUpgrade/index.mjml
+6-1Lines changed: 6 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,12 @@
15
15
</mj-text>
16
16
17
17
<mj-textcss-class="text-body">
18
-
<spandata-l10n-id="subscriptionUpgrade-content-charge-info-different-cycle-2"data-l10n-args="<%= JSON.stringify({paymentAmountNew, paymentAmountOld, paymentProrated, productPaymentCycleNew, productPaymentCycleOld}) %>">You have been charged a one-time fee of <%- paymentProrated %> to reflect your subscription’s higher price for the remainder of this <%- productPaymentCycleOld %>. Starting with your next bill, your charge will change from <%- paymentAmountOld %> per <%- productPaymentCycleOld %> to <%- paymentAmountNew %> per <%- productPaymentCycleNew %>.</span>
18
+
<%if (locals.paymentProratedInCents <0) { %>
19
+
<span data-l10n-id="subscriptionUpgrade-content-charge-credit" data-l10n-args="<%= JSON.stringify({paymentProrated}) %>">You have received an account credit in the amount of <%- paymentProrated %>.</span>
<span data-l10n-id="subscriptionUpgrade-content-charge-prorated" data-l10n-args="<%= JSON.stringify({paymentProrated, productPaymentCycleOld}) %>">You have been charged a one-time fee of <%- paymentProrated %> to reflect your subscription’s higher price for the remainder of this billing period (<%- productPaymentCycleOld %>).</span>
22
+
<% } %>
23
+
<spandata-l10n-id="subscriptionUpgrade-content-starting"data-l10n-args="<%= JSON.stringify({paymentAmountNew, paymentAmountOld, productPaymentCycleNew, productPaymentCycleOld}) %>">Starting with your next bill, your charge will change from <%- paymentAmountOld %> per <%- productPaymentCycleOld %> to <%- paymentAmountNew %> per <%- productPaymentCycleNew %>.</span>
0 commit comments