Merge pull request #30520 from overleaf/ii-flexible-group-licensing-upgrade-message

[web] Plan upgrade error message when subscription is manually collected

GitOrigin-RevId: 76bda80c81a5f934cbddfb6f24d29c4dd3d6da56
This commit is contained in:
Jessica Lawshe
2026-01-23 09:06:19 +00:00
committed by Copybot
parent 866e67cef1
commit a116175698
8 changed files with 29 additions and 23 deletions
@@ -181,7 +181,7 @@ async function addSeatsToGroupSubscription(req, res) {
if (error instanceof HasNoAdditionalLicenseWhenManuallyCollectedError) {
return res.redirect(
'/user/subscription/group/manually-collected-subscription'
'/user/subscription/group/manually-collected-subscription?error_type=no-additional-license'
)
}
@@ -375,7 +375,7 @@ async function subscriptionUpgradePage(req, res) {
if (error instanceof ManuallyCollectedError) {
return res.redirect(
'/user/subscription/group/manually-collected-subscription'
'/user/subscription/group/manually-collected-subscription?error_type=plan-upgrade'
)
}
@@ -437,6 +437,7 @@ async function manuallyCollectedSubscription(req, res) {
res.render('subscriptions/manually-collected-subscription', {
groupName: subscription.teamName,
errorType: req.query.error_type,
})
} catch (error) {
logger.err(
@@ -6,6 +6,7 @@ block entrypointVar
block append meta
meta(name='ol-user' data-type='json' content=user)
meta(name='ol-groupName' data-type='string' content=groupName)
meta(name='ol-errorType' data-type='string' content=errorType)
block content
main#manually-collected-subscription-root.content.content-alt