overleaf/services/web/app/views
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
..
_mixins Merge pull request #3953 from overleaf/jel-reconfirm-thank-you 2021-04-27 02:09:32 +00:00
admin Merge pull request #3842 from overleaf/jpa-persistent-navigation-between-tabs 2021-03-31 02:05:22 +00:00
beta_program Merge pull request #3558 from overleaf/pr-logs-ui-beta-icon 2021-01-22 03:04:55 +00:00
blog WIP: migrate from jade to pug 2017-01-20 12:03:02 +00:00
general Merge pull request #3820 from overleaf/as-block-ie 2021-04-17 02:09:52 +00:00
layout Merge pull request #3903 from overleaf/as-clean-up-error-pages 2021-04-16 02:05:30 +00:00
project Merge pull request #3952 from overleaf/revert-cmg-binary-file 2021-04-24 02:10:12 +00:00
referal Merge pull request #3919 from overleaf/jpa-refactor-inline-script 2021-04-20 02:10:10 +00:00
subscriptions Schedule subscription downgrades to occur at the current term end (#3801) 2021-04-28 02:10:31 +00:00
translations Remove optional hyphens from pug templates (#3788) 2021-03-25 03:05:05 +00:00
university Merge pull request #1543 from sharelatex/as-fix-potential-angular-xss 2019-03-18 10:37:15 +00:00
user Merge pull request #3833 from overleaf/em-meta-tags 2021-04-01 02:05:44 +00:00
user_membership Merge pull request #3833 from overleaf/em-meta-tags 2021-04-01 02:05:44 +00:00
view_templates Merge pull request #2524 from overleaf/sk-add-aria-attribs-on-close-buttons 2020-01-28 04:18:45 +00:00
_metadata.pug Remove optional hyphens from pug templates (#3788) 2021-03-25 03:05:05 +00:00
layout.pug Merge pull request #3860 from overleaf/jpa-cleanup-layout 2021-04-01 02:05:12 +00:00