Provides V2 API information for plan replacement.
Specialized behavior applies only to SiteOwners and MemberSpacePlans
Downgrade Detected
-
Any active
Siteowned by thememberis usingfeaturesthat are not enabled by thenew_plan -
The
memberis past anylimitsimposed by thenew_plan -
The
active_planhas enabledfeatureswhich are disabled in thenew_plan -
The
active_planhas higherlimitsthan those imposed by thenew_plan
Upgrade Detected
-
The
active_planhas disabledfeatureswhich are enabled in thenew_plan -
The
active_planhas lowerlimitsthan those imposed by thenew_plan
Swap Detected
-
Neither a downgrade nor an upgrade were detected, and
-
memberis aSiteOwnerwith anactive_plan, or -
regular
Memberwith an activesubscriptionand the incomingnew_planissubscription_plan_type?
-
None Detected
-
The
memberis a regularMember(not aSiteOwner) -
Neither a downgrade nor an upgrade were detected, the
memberis aSiteOwnerand does not have anactive_plan
Restricted Downgrades
SiteOwners cannot downgrade their active_plan if:
-
They are above the
new_planmax_siteslimit -
They are using any of these
featureson any activeSiteand thenew_plandoesn’t enable them:-
can_create_free_plans -
can_invite_site_admins -
can_send_broadcasts -
can_setup_integrations
-
Restricted downgrades will add to errors
Allowed Downgrades
SiteOwners may downgrade their active_plan if:
-
They are at or below the
new_planmax_siteslimit -
They are using any of these
featureson any activeSiteeven if thenew_plandoesn’t enable them:-
can_remove_branding
-
- MODULE Admin
- MODULE DB
- CLASS PlanReplacement