Skip to main content
The FS Portal - Cancel Subscription component (fs_portal_cancelSubscription) hosts the cancellation experience that a portal user reaches from the Subscription Hub. It is part of the unmanaged Portal Components package (no namespace), so you can clone and customize it.
The rendered Cancel Membership page in the portal, showing the subscription summary, a note that membership stays active through the grace period, and Cancel Membership and Never mind buttons

The Cancel Membership page as a member sees it

This page covers placing and configuring the component. For what cancellation actually does and the full eligibility rules, see the behavior page.
For what happens when a subscription is cancelled — including the complete eligibility rules for who may cancel — see Subscription Cancellation.

Before You Start

  • Grant cancelling portal users the FS_PORTAL_Cancel_Subscription permission set.
  • On the Business Unit record, set the portal URL (FCORE_PORTAL__Portal_URL__c) and the cancel page path (FS_Portal_Cancel_Subscription_Page_Path__c). Together these build the cancellation link (FS_Portal_Cancel_Subscription_URL__c) that the Subscription Hub surfaces on each eligible subscription.

Setting Up the Cancel Subscription Component

1

Create the page

Make sure you have created a page for Cancel Subscription.
2

Add the component

On the page, drag and drop the FS Portal - Cancel Subscription component.
The FS Portal - Cancel Subscription component placed on a portal page

The Cancel Subscription component on a portal page

3

Optionally set the redirect URLs

You can optionally define the following URLs. None are required.
  • Success URL — where to redirect after a successful cancellation.
  • Back URL — where to redirect when the user goes back.
  • Contact Support — a URL or support email to contact. For an email, prefix it with mailto:, for example mailto:help@example.com.
The Cancel Subscription component properties with Success, Back, and Contact Support URLs

The Cancel Subscription component properties

Contact Support appears only when there is an error during cancellation and the field has been configured.
A cancellation error showing the Contact Support link

The Contact Support link shown on a cancellation error

4

Publish

Click Publish to save your changes.

Organization Subscription Cancellation (Optional)

By default, a portal user can cancel an organization subscription only when they are the subscription’s own contact. Two org Constants extend this, and both ship turned off:
  • FS_Billing_Contact_Can_Cancel_Org_Subs — when on, an account’s Billing Contact may also cancel the account’s organization subscriptions.
  • FS_Primary_Contact_Can_Cancel_Org_Subs — when on, an account’s Primary Contact may also cancel the account’s organization subscriptions.
Turn these on only if you want billing or primary contacts to cancel on the account’s behalf.

Limitations and Common Pitfalls

  • The cancellation link is blank in the Subscription Hub. The link (FS_Portal_Cancel_Subscription_URL__c) renders only when the subscription is Active or Pending, the Business Unit portal URL and cancel page path are both set, and the subscription is not already cancelled. A blank link is almost always an unset cancel page path (FS_Portal_Cancel_Subscription_Page_Path__c) on the Business Unit.
  • Cancellation stops the renewal only. It does not issue a refund or end the current term — the subscription runs to the end of its paid period. See Subscription Cancellation for details.
  • Expired and non-subscription items cannot be cancelled. The component blocks already-expired subscriptions, items that are not subscriptions, and subscriptions that are already cancelled.
  • Billing and primary contacts cannot cancel by default. Organization subscription cancellation by the Billing or Primary Contact is off until you enable the matching Constant above.