Skip to main content

Upgrade links


Create upgrade links and offer them to your customers. 


All Avangate accounts. 


Configure upgrades for your products/subscription plans.

Create the custom upgrade link

To build custom upgrade links you need the following two elements:

  1. The main upgrade link
  2. The unique subscription identifier from the Avangate system: LICENSE=1234567.

The simplest upgrade link you can build is:

Query parameters

The following table summarizes the query parameters that you can insert into links to customize upgrades.


Parameter Required Description



Use with upgrade links to trigger the upgrade of a specific subscription, such as in the following example:, where 1234567 represents the Avangate subscription reference.



Language - selected language for order processing interface and emails. By default, if the parameter is missing, Avangate serves cart content in English. 



Preselect the billing currency to be used in the transaction.



Custom URL used for "Back to shopping" link.



Preselect pricing options for the subscription, using the pricing options codes (the IDs you set for each option individually).

For example: OPTIONS5211=5usr,2year.


Required only when you also use UPGRADEOPT. Optional otherwise.

ID of the arget product for the upgrade process. 


Required together with UPGRADEPROD. Optional otherwise.

Option code belonging to the target product of the upgrade process.



Value = 1. Use DESIGN_TYPE=1 in Buy Links 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. 



LAYOUT_TYPE enables you to control which version of the shopping cart Avangate serves to shoppers. Possible values:

CLASSIC - the desktop variant of the shopping cart (using LAYOUT_TYPE=CLASSIC - Avangate serves the desktop version of the cart even to mobile device users.

MOBILE - Avangate mobile cart 

LAYOUT_TYPE=MOBILE - Avangate serves the mobile version of the shopping cart, even to users of desktop browsers.



External order reference (string). Add a string identifier to every Buy Link created (less than 100 characters). Avangate 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 details page for your orders.



To identify the source of your sales (which links are performing better), assign a separate link identifier to each link. 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: 
SRC=prodpage for the product page or SRC=dldpage for the link on the download page. dldpage and prodpage are examples.



Promotion coupon code applied to the order. Send multiple values separated by when you need several coupons to discount the same order. 
For example: [...]&COUPON=voucher1,voucher2[...]



Possible values:

1 - use this parameter with value 1 to display the payment form in the selected landing page. Shoppers get to place orders from the Review page.

2 - enable Avangate to display payment form in the selected landing page, and shoppers to place orders immediately after entering their payment data, excluding the Review page.



Allows you to set the corresponding 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.



Include AUTO_PREFILL=1 in buy links for shopping carts.

When the AUTO PREFILL feature is active and AUTO_PREFILL=1 used in buy links, the ZIP code and country pair become the only required aspects of the billing address.

Address, City and State details are calculated automatically by the Avangate system. The address can miss altogether.

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 Avangate Subscription Reference.

Domain use

  1. If your account is using the Avangate's domain, then your custom on-demand renewal links would look like this:
  2. Custom domains such as If your account is using a custom domain such as, then your custom on-demand renewal links would look like this: /order/upgrade.php?