Create upgrade links and offer them to your customers.
All 2Checkout accounts.
Configure upgrades for your products/subscription plans.
Create the upgrade link
To build upgrade links you need the following two elements:
- The main upgrade link
The unique subscription identifier from the 2Checkout system: LICENSE=ABC1D2E345. The simplest upgrade link you can build is:
The following table summarizes the query parameters that you can insert into links to customize upgrades.
|Parameters||Required/Optional||Type / Description|
Specifies the subscription to be upgraded.
ISO country code of the language used for the order processing interface and shopper emails.
Default value: EN.
|CURRENCY||Optional||Preselects the billing currency to be used in the transaction.|
|SHOPURL||Optional||Custom URL used for "Back to shopping" link.|
Preselects the pricing options for the subscription, using the pricing options codes (the IDs you set for each option individually). You need to append the unique product identifier generated by the 2Checkout platform after the OPTIONS parameter.
Required in conjunction with UPGRADEOPT.
|Product ID of the target product used in the upgrade process.|
|UPGRADEOPT||Optional||Product option code of the target product used in the upgrade process. Can only be used in conjunction with UPGRADEPROD.|
|DESIGN_TYPE||Optional||Use DESIGN_TYPE=1 to change the layout of the shopping cart template interface, positioning the payment methods selector in a more prominent position, above the billing details area.|
Enables you to control which version of the shopping cart 2Checkout serves to shoppers.
|REF||Optional||External order reference (string). Add a string identifier to every URL (less than 100 characters). 2Checkout saves the string at order-level, in addition to the system generated order reference. If there is a need for longer references, use a md5 hash. To access external reference info navigate to the order details page.|
|SRC||Optional||Identifies the source of a sale by assigning a unique URL identifier. For instance, if there are two buy links on your website, one in the product page and another one in the download page, you can track the source page by entering the following parameters:
Promotion coupon code applied to the order. Use commas (,) to separate multiple values.
|ORDERSTYLE||Optional||Allows you to set the desired ordering interface template, overriding the default template assigned to the product group. Each template defined in the Interface Templates area of the Control Panel has a unique identifier associated which is visible in the browser address bar when previewing the shopping cart.|
Requires 2Checkout activation before using.
Use AUTO_PREFILL=1 to set the ZIP code and country fields as mandatory. Address, City and State details are calculated automatically by the 2Checkout system. The address can be excluded completely. Using the AUTO_PREFILL=1 parameter without the feature being enabled for your account will result in shoppers following the classic purchase flow, where all billing address data is mandatory.
Upgrade a specific subscription
To trigger the upgrade of a specific subscription, include the LICENSE parameter in the upgrade link, where 1A22223BC4 represents the 2Checkout Subscription Reference.
- secure.2checkout.com. If your account is using the 2Checkout's secure.2checkout.com domain, then your custom on-demand renewal links would look like this: https://secure.2checkout.com/order/upgrade.php?
- Custom domains such as store.YourDomain.com. If your account is using a custom domain such as store.YourDomain.com, then your custom on-demand renewal links would look like this: https://store.YourDomain.com /order/upgrade.php?