overleaf/services/web/app/views/subscriptions/dashboard
Thomas 72af966c9c Schedule subscription downgrades to occur at the current term end (#3801)
* Schedule subscription downgrades to occur at the current term end.

If the plan is a downgrade, schedule the subscription change for term
end. Use Recurly v3 API subscription change event instead of v2 update
subscription.

* Add ability for user to revert a pending subscription change

In the case where a user has downgraded, but has since decided they'd
rather stay on their current plan, we need a way to let them revert. It
isn't enough to re-use a subscription change, because Recurly sees it as
an attempt to make a change from the current plan to itself.

Instead, we use a new dialog and call a new endpoint that has the
specific intent of reverting the pending plan change, by calling the
removeSubscriptionChange recurly client method.

* Add message prompting users to contact support for immediate changes

We're showing this in the confirmation modal for a plan change that
would occur in the future, and and on the subscription page if a pending
change is due.

Most users shouldn't need this, but it should help them out if they find
an edge case like moving from eg. Student (Annual) to Professional
(Monthly) and were expecting to be "upgraded" immediately.

GitOrigin-RevId: c5be0efbeb8568ed9caa941aadcef6f6db65c420
2021-04-28 02:10:31 +00:00
..
_change_plans_mixins.pug Schedule subscription downgrades to occur at the current term end (#3801) 2021-04-28 02:10:31 +00:00
_group_memberships.pug Remove optional hyphens from pug templates (#3788) 2021-03-25 03:05:05 +00:00
_institution_memberships.pug Merge pull request #3765 from overleaf/jpa-xss-6 2021-03-18 03:04:34 +00:00
_managed_groups.pug Merge branch 'master' into dcl-i1207 2018-11-30 13:24:27 +00:00
_managed_institutions.pug Merge pull request #3833 from overleaf/em-meta-tags 2021-04-01 02:05:44 +00:00
_managed_publishers.pug Merge pull request #3765 from overleaf/jpa-xss-6 2021-03-18 03:04:34 +00:00
_personal_subscription.pug Merge pull request #2609 from overleaf/ta-cmg-recurly-email-update 2020-02-21 04:21:12 +00:00
_personal_subscription_custom.pug Merge pull request #2920 from overleaf/ta-custom-subscription-contact 2020-06-19 02:10:27 +00:00
_personal_subscription_recurly.pug Schedule subscription downgrades to occur at the current term end (#3801) 2021-04-28 02:10:31 +00:00
_personal_subscription_recurly_sync_email.pug Merge pull request #3373 from overleaf/jpa-block-recurly-xss 2020-11-10 03:04:14 +00:00
_team_name_mixin.pug Remove optional hyphens from pug templates (#3788) 2021-03-25 03:05:05 +00:00
_v1_subscription_status.pug Remove optional hyphens from pug templates (#3788) 2021-03-25 03:05:05 +00:00