Skip to content

feat(payments-next): Add SubscriptionCancellation email variant with free trial language#20182

Merged
elizabeth-ilina merged 1 commit intomainfrom
PAY-3548-add-subscription-cancellation-email-variant-with-free-trial-language
Mar 19, 2026
Merged

feat(payments-next): Add SubscriptionCancellation email variant with free trial language#20182
elizabeth-ilina merged 1 commit intomainfrom
PAY-3548-add-subscription-cancellation-email-variant-with-free-trial-language

Conversation

@elizabeth-ilina
Copy link
Contributor

@elizabeth-ilina elizabeth-ilina commented Mar 12, 2026

Because

  • We need to add a SubscriptionCancellation email variant with free trial language

This pull request

  • Adds a new SubscriptionCancellation email variant stating that the user’s free trial will end. Sends the email when a free trial has been cancelled, and is not expected to convert into a paid subscription.
  • If trial_start and trial_end exist, checks if a subscription's canceled_at falls between trial_start and trial_end to determine that they cancelled a free trial.
  • Email informs user: "Your free trial of productName has been canceled. Your access will end on trial_end. You will not be charged.

Issue that this pull request solves

Closes #PAY-3548

Checklist

Put an x in the boxes that apply

  • My commit is GPG signed.
  • If applicable, I have modified or added tests which pass locally.
  • I have added necessary documentation (if appropriate).
  • I have verified that my changes render correctly in RTL (if appropriate).

Screenshots (Optional)

Please attach the screenshots of the changes made in case of change in user interface.

image

Other information (Optional)

Any other information that is important to this pull request.

@elizabeth-ilina elizabeth-ilina force-pushed the PAY-3548-add-subscription-cancellation-email-variant-with-free-trial-language branch 3 times, most recently from 17cfdec to 5b8e293 Compare March 13, 2026 14:49
@elizabeth-ilina elizabeth-ilina changed the title feat(payments-next): Add SubscriptionCancellation email variant with … feat(payments-next): Add SubscriptionCancellation email variant with free trial language Mar 13, 2026
@elizabeth-ilina elizabeth-ilina force-pushed the PAY-3548-add-subscription-cancellation-email-variant-with-free-trial-language branch 9 times, most recently from afef55b to e9e372a Compare March 16, 2026 13:54
…free trial language

Because:

* We need to add a SubscriptionCancellation email variant with free trial language

This commit:

* Adds a new SubscriptionCancellation email variant stating that the user’s free trial will end. To be sent when a free trial has been cancelled, and is not expected to convert into a paid subscription.

Closes #[PAY-3548](https://mozilla-hub.atlassian.net/browse/PAY-3548)
@elizabeth-ilina elizabeth-ilina force-pushed the PAY-3548-add-subscription-cancellation-email-variant-with-free-trial-language branch from e9e372a to 13af63d Compare March 16, 2026 14:21
@elizabeth-ilina elizabeth-ilina marked this pull request as ready for review March 16, 2026 14:49
@elizabeth-ilina elizabeth-ilina requested review from a team as code owners March 16, 2026 14:49
@elizabeth-ilina elizabeth-ilina merged commit bdb9e34 into main Mar 19, 2026
22 checks passed
@elizabeth-ilina elizabeth-ilina deleted the PAY-3548-add-subscription-cancellation-email-variant-with-free-trial-language branch March 19, 2026 18:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants