fix(emails): Subscription invoice emails have outdate email addresses#19498
Merged
david1alvarez merged 1 commit intomainfrom Sep 23, 2025
Merged
fix(emails): Subscription invoice emails have outdate email addresses#19498david1alvarez merged 1 commit intomainfrom
david1alvarez merged 1 commit intomainfrom
Conversation
Because: * When a customer changes their FxA account email, this change is not propagated through to Stripe * Emails relating to Stripe's invoices pull the customer's email field from their invoice * This causes these emails to contain outdated email addresses This commit: * Because the text of the invoice references the customer receiving the email because there is a Mozilla account with the listed email address, this commit updates the emails to use the account's primary email for these fields. Closes #PAY-3215
0187fd3 to
69e8dae
Compare
xlisachan
approved these changes
Sep 23, 2025
Contributor
xlisachan
left a comment
There was a problem hiding this comment.
Confirming that I was able to see the new primary email address in the downloaded invoice when I upgraded a subscription and created a new subscription.
r+, thanks Davey!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Because:
This commit:
Closes #PAY-3215
Checklist
Put an
xin the boxes that applyScreenshots (Optional)
Prior to updating my email address via FxA Account Settings:

After updating my email address

Other information (Optional)
Any other information that is important to this pull request.