Skip to main content

Linking Users to the Upgrade Dialog

Create a link that takes the user to the edit plan page to upgrade or downgrade their subscription

M
Written by Michael Lindfors
Updated over a week ago

You can link users directly to the subscription upgrade dialog using a simple URL.

URL Format

https://account.sesamy.com/{lang}/subscriptions/{vendorId}/edit-plan

Replace {lang} with the language code and {vendorId} with your vendor ID.

Supported languages: sv, nb, en, fi

Basic Example

https://account.sesamy.com/sv/subscriptions/ACME/edit-plan

With a Discount Code

Add ?discountCode= to pre-apply a discount offer:

https://account.sesamy.com/sv/subscriptions/ACME/edit-plan?discountCode=ASD

How It Works

1. When a user clicks the link, they are prompted to log in if not already authenticated

2. After login, the system automatically selects their first active subscription for the specified vendor

3. The edit plan dialog opens, allowing the user to upgrade their subscription

Note: The user must have an active subscription with the specified vendor for this link to work.

Did this answer your question?