Skip to content

fix(next): missing metadata on upgrade#18803

Merged
StaberindeZA merged 1 commit intomainfrom
fxa-11540-add-missing-metadata
May 2, 2025
Merged

fix(next): missing metadata on upgrade#18803
StaberindeZA merged 1 commit intomainfrom
fxa-11540-add-missing-metadata

Conversation

@StaberindeZA
Copy link
Copy Markdown
Contributor

Because

  • On a subscription upgrade, plan_change_date and previous_plan_id need to be added to the subscription metadata.

This pull request

  • Adds missing plan_change_date and previous_plan_id to subscription updates.

Issue that this pull request solves

Closes: FXA-11540

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)

image

Because:

- On a subscription upgrade, `plan_change_date` and `previous_plan_id`
  need to be added to the subscription metadata.

This commit:

- Adds missing `plan_change_date` and `previous_plan_id` to subscription
  updates.

Closes #FXA-11540
@StaberindeZA StaberindeZA requested a review from a team as a code owner May 2, 2025 18:29
Copy link
Copy Markdown
Contributor

@xlisachan xlisachan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

r+, thanks Reino!

I pulled down your branch and created/upgraded subscriptions using both credit card and PayPal. I see both previous_plan_id and plan_change_date in the subscription metadata! 🎉

@StaberindeZA StaberindeZA merged commit 46a6b73 into main May 2, 2025
20 checks passed
@StaberindeZA StaberindeZA deleted the fxa-11540-add-missing-metadata branch May 2, 2025 21:05
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.

2 participants