Upgrade or cancel a plan

A customer changes their subscription from the Billing page. An upgrade is charged now for the rest of the period, while a downgrade or a cancel takes effect at the end of the period. Before a cancel, the page asks why and makes one half-price offer; accepting it keeps the plan with a discount from the next period.

13 screens and steps16 arrows0 warnings

What UJN shows here Point at a note to see its part of the drawing

Upgrade or cancel a plan  PLANUpgrade now, or downgrade or cancel at the end of the billing periodStart From account settingsStartFrom account settingsBilling (View) Current plan and next invoice Route: /settings/billingViewBillingCurrent plan and next invoice/settings/billingPause plan (View) Up to 3 months Route: /settings/billing/pause Inherited flags: future (planned for a later release)ViewPause planUp to 3 months/settings/billing/pause»Change plan (View) Compare plans Route: /settings/billing/plansViewChange planCompare plans/settings/billing/plansConfirm plan change (Modal) Upgrade: prorated charge now. Downgrade: next periodModalConfirm plan changeUpgrade: prorated charge now. Downgrade: next periodCancel plan (View) Why are you leaving? Route: /settings/billing/cancelViewCancel planWhy are you leaving?/settings/billing/cancelStay at half price (Modal) 50% off for 3 months, offered onceModalStay at half price50% off for 3 months, offered onceUpdate subscription (Action)ActionUpdate subscriptionBilling provider (System, external) Host: api.billing.exampleSystem, externalBilling providerapi.billing.examplePlan upgraded (View) New limits apply now Route: /settings/billing/upgradedViewPlan upgradedNew limits apply now/settings/billing/upgradedEnd, success Upgraded nowEnd, successUpgraded nowEnd, success Downgrade, cancel or discount from the next periodEnd, successDowngrade, cancel or discount from the next periodEnd, failure Card declined, plan unchangedEnd, failureCard declined, plan unchangedNo label Navigation from from_settings to BillingChange plan Navigation from Billing to Change planChange planCancel plan Navigation from Billing to Cancel planCancel planChoose plan Navigation from Change plan to Confirm plan changeChoose planConfirm Navigation from Confirm plan change to Update subscription Payload: {plan_id, prorated_amount}Confirm{plan_id, prorated_amount}Continue Navigation from Cancel plan to Stay at half price Payload: {reason}Continue{reason}Accept offer Navigation from Stay at half price to Update subscription Payload: {coupon}Accept offer{coupon}Cancel anyway Navigation from Stay at half price to Update subscription Payload: {reason}Cancel anyway{reason}upgrade, paid now Navigation from Update subscription to Plan upgradedupgrade, paid nowupgrade, card declined Negative from Update subscription to not_paidupgrade, card declinedat period end Navigation from Update subscription to period_endat period endPause plan Navigation from Billing to Pause plan Flags: future (planned for a later release)Pause plan»No label Navigation, call from Update subscription to Billing provider Payload: {subscription_id, change}{subscription_id, change}Done Navigation from Plan upgraded to upgraded_nowDoneBack Return from Confirm plan change to Change planBackNo label Return, reply from Billing provider to Update subscription Payload: {invoice_status}{invoice_status}
The source (37 lines)
plan-change.puml
@startujnrender { direction: down; arrow_spacing: 24 }journey PLAN "Upgrade or cancel a plan"description: "Upgrade now, or downgrade or cancel at the end of the billing period"unique_id_friendly: plan start from_settings { description: "From account settings" }view billing { title: "Billing"; description: "Current plan and next invoice"; route: /settings/billing }view pause { title: "Pause plan"; description: "Up to 3 months"; route: /settings/billing/pause }view plans { title: "Change plan"; description: "Compare plans"; route: /settings/billing/plans }view preview { type: modal; title: "Confirm plan change"; description: "Upgrade: prorated charge now. Downgrade: next period" }view cancel_form { title: "Cancel plan"; description: "Why are you leaving?"; route: /settings/billing/cancel }view offer { type: modal; title: "Stay at half price"; description: "50% off for 3 months, offered once" }action update { title: "Update subscription" }system provider { type: external; title: "Billing provider"; host: api.billing.example }view upgraded { title: "Plan upgraded"; description: "New limits apply now"; route: /settings/billing/upgraded }end upgraded_now { type: success; description: "Upgraded now" }end period_end { type: success; description: "Downgrade, cancel or discount from the next period" }end not_paid { type: failure; description: "Card declined, plan unchanged" } from_settings --> billingbilling -right-> pause : [Pause plan] { flags: [future] }billing --> plans : [Change plan]billing --> cancel_form : [Cancel plan]plans --> preview : [Choose plan]preview ..> plans : [Back]preview --> update : [Confirm] { payload: [plan_id, prorated_amount] }cancel_form --> offer : [Continue] { payload: [reason] }offer --> update : [Accept offer] { payload: [coupon] }offer --> update : [Cancel anyway] { payload: [reason] }update -left-> provider { payload: [subscription_id, change] }provider ..> update { payload: [invoice_status] }update --> upgraded : upgrade, paid nowupdate -x-> not_paid : upgrade, card declinedupdate --> period_end : at period endupgraded -left-> upgraded_now : [Done]@endujn