-
Notifications
You must be signed in to change notification settings - Fork 216
feat(payments-next): Update page: Subscription Management #19838
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
base: main
Are you sure you want to change the base?
feat(payments-next): Update page: Subscription Management #19838
Conversation
78ed29b to
d0c1a9a
Compare
4dcef96 to
b804803
Compare
| acceptLanguage?: string | null, | ||
| selectedLanguage?: string | ||
| ) { | ||
| /*return { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Used for testing (and, equivalently, in determineCancellationIntervention). Will remove both before merging.
b804803 to
000b094
Compare
| subscriptionId: subscription.id, | ||
| offeringApiIdentifier, | ||
| currentInterval: subplatInterval, | ||
| upgradeInterval: SubplatInterval.Yearly, // For now, have only yearly plan upgrades |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we want to keep this comment here?
| import { SubplatInterval } from '@fxa/payments/customer'; | ||
| import { SubplatInterval, | ||
| SubscriptionManager, | ||
| /*Enum_Churnintervention_Churntype, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as this comment
Because: * We want to reduce churn by giving customers offers when they either go to cancel their subscription, or encourage them to stay subscribed to a subscription that will soon expire. This commit: * Determines customer's eligibility, and either displays appropriate messages + takes them to corresponding links, or keeps existing behaviour. Closes #PAY-3365
000b094 to
4ed8c7d
Compare
Because
This pull request
Issue that this pull request solves
Closes: (issue number) #PAY-3365
Checklist
Put an
xin the boxes that applyScreenshots (Optional)
Please attach the screenshots of the changes made in case of change in user interface.
Stay Subscribed churn content exists and customer is eligible:

Clicking on Cancel button when:

Cancel churn content exists and customer is eligible (for 123Done Pro):
No cancel churn content exists or they are not eligible to redeem, but there is a cancel interstitial offer:

No offers exist or customer is not eligible for either:

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