You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(payments): offer self-service plan switch on the conflict notice (#458)
The parallel-subscription conflict notice shown by /checkout and
/checkout/manual (issue #459) still told students to "contact your
school" to switch plans, even after #463 shipped a real self-service
switch (changePlan action + pricing-page CTAs). The notice was never
updated to use it.
Now the notice renders a "Switch to this plan" button (reusing the
existing changePlan action) whenever the current subscription's
provider supports an automated switch and the target plan uses the
same provider, falling back to the old contact-your-school copy only
for genuine cross-provider cases changePlan itself can't handle.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HHYmMbZvQvZWJXYxyqKPUH
Copy file name to clipboardExpand all lines: messages/en.json
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -4267,6 +4267,7 @@
4267
4267
"descriptionWithPlan": "Your subscription to {planName} is still active. Subscribing to another plan would not replace it — you would be billed for both plans at the same time.",
4268
4268
"description": "You already have an active subscription in this school. Subscribing to another plan would not replace it — you would be billed for both plans at the same time.",
4269
4269
"howToSwitch": "To switch plans, contact your school and ask them to cancel your current plan first.",
4270
+
"howToSwitchSelfService": "You can switch to this plan yourself — no need to contact your school.",
Copy file name to clipboardExpand all lines: messages/es.json
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -4260,6 +4260,7 @@
4260
4260
"descriptionWithPlan": "Tu suscripción a {planName} sigue activa. Suscribirte a otro plan no la reemplazaría — se te cobrarían ambos planes al mismo tiempo.",
4261
4261
"description": "Ya tienes una suscripción activa en esta escuela. Suscribirte a otro plan no la reemplazaría — se te cobrarían ambos planes al mismo tiempo.",
4262
4262
"howToSwitch": "Para cambiar de plan, contacta a tu escuela y pide que cancelen tu plan actual primero.",
4263
+
"howToSwitchSelfService": "Puedes cambiar a este plan tú mismo — no necesitas contactar a tu escuela.",
0 commit comments