Skip to content

ux: show different success message when extending an existing PRO subscription #2081

Description

@wa0x6e

After completing payment for a Snapshot PRO subscription, the success modal always displays "Upgraded to SNAPSHOT PRO" — even when the space is already on PRO and the user is just extending or renewing their subscription.

The "Upgraded to" wording is misleading in the renewal/extension case since nothing was upgraded — the space was already PRO.

Current behavior

The success modal shows "Upgraded to SNAPSHOT PRO" regardless of whether the space was previously on a free plan or already had an active PRO subscription.

Expected behavior

The success message should branch based on whether the space already had an active PRO subscription at the time of payment:

  • New upgrade (no active PRO subscription, i.e. turbo_expiration is 0 or in the past): keep the current "Upgraded to SNAPSHOT PRO" message.
  • Extension/renewal (active PRO subscription, i.e. turbo_expiration is in the future): show a different message such as "Subscription extended" with the new end date.

Location

Hardcoded in apps/ui/src/views/Space/Pro.vue around L445–457 (#transactionModalSuccessTitle / #transactionModalSuccessSubtitle slots of ModalPayment). The selectedSpace.turbo_expiration value is already used a few lines above (L429) to compute the new end date, so the same check can drive the message.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions