Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Premium downgrade new ping #1643

Merged
merged 2 commits into from
Mar 17, 2022
Merged

Premium downgrade new ping #1643

merged 2 commits into from
Mar 17, 2022

Conversation

lloan
Copy link
Contributor

@lloan lloan commented Mar 15, 2022

This PR addresses MPP-1003.

New feature description

All this PR does is add a ping within the _update_all_data function which is called via the _handle_fxa_profile_change function. The new ping is identified by the event name user_has_downgraded and is triggered if the user is no longer a premium user, but they had premium and now does not have premium.

Screenshot (if applicable)

Not applicable.

How to test

We should have a test user that has a subscription - have that user cancel the subscription.

Checklist

  • l10n dependencies have been merged, if any.
  • All acceptance criteria are met.
  • I've added or updated relevant docs in the docs/ directory.
  • All UI revisions follow the coding standards, and use Protocol tokens where applicable (see /static/scss/libs/protocol/css/includes/tokens/dist/index.scss).
  • Commits in this PR are minimal and have descriptive commit messages.

@groovecoder groovecoder merged commit 06425a8 into main Mar 17, 2022
@groovecoder groovecoder deleted the premium-downgrade-new-ping branch March 17, 2022 18:39
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