> For the complete documentation index, see [llms.txt](https://docs.2checkout.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.2checkout.com/marketing/emails/email-variables/electronic-delivery.md).

# Electronic delivery

Use the variables in the list below to customize the **Electronic delivery** shopper email according to your needs.&#x20;

{% hint style="info" %}
Check the **Mandatory** column to see the variables that are required in your customized version of the e-mail.
{% endhint %}

<table><thead><tr><th width="267">Variable name</th><th width="310.0001220703125">Description &#x26; Test values</th><th>Mandatory</th></tr></thead><tbody><tr><td><code>ADDITIONAL_PRODUCT_INFO</code></td><td>Additional product-level fulfillment information set in the Avangate Control Panel.<br><strong>Test value</strong>: Additional delivery information for this product.</td><td>No</td></tr><tr><td><code>ADDRESS2</code></td><td>Second section of the billing address.<br><strong>Test value</strong>: 0</td><td>No</td></tr><tr><td><code>ALLOW_MYACCOUNT_PROMO</code></td><td>Include or exclude myAccount information in the email body.<br><strong>Test value</strong>: 1</td><td>No</td></tr><tr><td><code>ATTACHMENT</code></td><td>Indicates whether or not you configured the product keys to be sent as an email attachment. Possible values:<br>TRUE if the email contains an attachment<br>FALSE if the email doesn't contain an attachment.<br><strong>Test value</strong>: 1</td><td>No</td></tr><tr><td><code>AUTO_RENEWAL</code></td><td>Indicates whether or not the shopper has enabled automatic renewal on the subscription.<br><strong>Test value</strong>: 1</td><td>No</td></tr><tr><td><code>AVANGATE_ACTED_AS_RESELLER</code></td><td>This is mandatory content you need to keep in your emails, given Avangate acts as Reseller / Merchant of Record for online purchases on your website.<br><strong>Test value</strong>: Avangate has processed your order as the authorized reseller of #merchant commercial name.</td><td>Yes</td></tr><tr><td><code>AVANGATE_COMPANY_NAME</code></td><td>Avangate company name.<br><strong>Test value</strong>: Avangate</td><td>No</td></tr><tr><td><code>AVANGATE_SUPPORT_EMAIL</code></td><td>Avangate support email address.<br><strong>Test value</strong>: <a href="mailto:support@avangate.com">support@avangate.com</a></td><td>No</td></tr><tr><td><code>AVANGATE_SUPPORT_PHONE</code></td><td>Avangate support phone.<br><strong>Test value</strong>: +31 88 0000008</td><td>No</td></tr><tr><td><code>AVANGATE_SUPPORT_PHONE_US</code></td><td>Avangate US hotline number.<br><strong>Test value</strong>: +1 (650) 963-5701 / (888) 247-1614</td><td>No</td></tr><tr><td><code>AVANGATE_WEBSITE</code></td><td>Avangate website.<br><strong>Test value</strong>: <a href="http://www.avangate.com/">http://www.avangate.com</a></td><td>Yes</td></tr><tr><td><code>AVANGATE_LOGO</code></td><td>Avangate logo URL.<br><strong>Test value</strong>: <a href="https://secure.avangate.com/images/email/vendor_logo.png">https://secure.avangate.com/images/email/vendor_logo.png</a></td><td>Yes</td></tr><tr><td><code>BASE_URL</code></td><td>Merchant's full host.<br><strong>Test value</strong>: <a href="https://secure.avangate.com/">https://secure.avangate.com</a></td><td>No</td></tr><tr><td><code>BOLETO_SLIP_URL</code></td><td>URL pointing to Boleto slip.<br><strong>Test value</strong>: 0</td><td>No</td></tr><tr><td><code>BUSINESS_COMPANY</code></td><td>Avangate company name.<br><strong>Test value</strong>: Avangate</td><td>No</td></tr><tr><td><code>BUSINESS_HOTLINE</code></td><td>Avangate support phone.<br><strong>Test value</strong>: +31 88 0000008</td><td>No</td></tr><tr><td><code>BUSINESS_HOTLINEUS</code></td><td>* Avangate support phone for US.<br><strong>Test value</strong>: +1 (650) 963-5701 / (888) 247-1614</td><td>No</td></tr><tr><td><code>BUSINESS_SUPEMAIL</code></td><td>Avangate support email address.<br><strong>Test value</strong>: <a href="mailto:support@avangate.com">support@avangate.com</a></td><td>No</td></tr><tr><td><code>BUSINESS_WEBSITE</code></td><td>Avangate website.<br><strong>Test value</strong>: <a href="http://www.avangate.com/">http://www.avangate.com</a></td><td>No</td></tr><tr><td><code>CODES</code></td><td>Product keys to be delivered to the shopper. Each item of the array has two values: key and description.<br><strong>Test value</strong>: 0</td><td>No</td></tr><tr><td><code>CODES[index1].description</code></td><td>Product key description.<br><strong>Test value</strong>: Key description</td><td>No</td></tr><tr><td><code>CODES[index1].key</code></td><td>Product key.<br><strong>Test value</strong>: 123-ABC-1key-example</td><td>No</td></tr><tr><td><code>COMMERCIALNAME</code></td><td>Merchant's commercial name.<br><strong>Test value</strong>: [Software Company Name]</td><td>No</td></tr><tr><td><code>COMPANY</code></td><td>Shopper's company name used on the billing information.<br><strong>Test value</strong>: Customer company</td><td>No</td></tr><tr><td><code>CURRENCY</code></td><td>Order billing currency.<br><strong>Test value</strong>: 0</td><td>No</td></tr><tr><td><code>CURRENCY_ORIGINAL</code></td><td>Original order currency (applicable to refunds).<br><strong>Test value</strong>: 0</td><td>No</td></tr><tr><td><code>DISPLAY_MY_ACCOUNT_INFO</code></td><td>Include or exclude myAccount information in the email body.<br><strong>Test value</strong>: 1</td><td>No</td></tr><tr><td><code>DOWNLOAD_INSURANCE</code></td><td><p>Indicates whether or not the purchase includes Download Insurance Service. Possible values:</p><ul><li>TRUE</li><li>FALSE</li></ul><p><strong>Test value</strong>: 0</p></td><td>No</td></tr><tr><td><code>DOWNLOAD_LINK</code></td><td>Product download link.<br><strong>Test value</strong>: <a href="https://secure.avangate.com/?sid=xxxxxxxxx&#x26;dld">https://secure.avangate.com/?sid=xxxxxxxxx&#x26;dld</a></td><td>No</td></tr><tr><td><code>DOWNLOAD_LINK_DELIVERY</code></td><td><p>Indicates whether or not a download link is available. Possible values:</p><ul><li>TRUE</li><li>FALSE</li></ul><p><strong>Test value</strong>: 1</p></td><td>No</td></tr><tr><td><code>EMAIL</code></td><td>Shopper email address used on the delivery information. If no delivery information is available, the billing information is used.<br><strong>Test value</strong>: <a href="mailto:example@customer-email.com">example@customer-email.com</a></td><td>No</td></tr><tr><td><code>ENCRYPTED_MERCHANT_CODE</code></td><td>Encrypted merchant code.<br><strong>Test value</strong>: 0</td><td>No</td></tr><tr><td><code>FIRSTNAME</code></td><td>Shopper's first name used on the delivery information.<br><strong>Test value</strong>: [John</td><td>No</td></tr><tr><td><code>FIRST_NAME_DELIVERY</code></td><td>Shopper's first name used on the delivery information.<br><strong>Test value</strong>: John</td><td>No</td></tr><tr><td><code>GATEWAY_ERROR_CODE</code></td><td>Gateway error code.<br><strong>Test value</strong>: GW_PROCESSING_ERROR<br>See the full <a href="https://docs.2checkout.com/marketing/emails/email-variables/gateway-error-codes.md">list of Possible Values</a></td><td>No</td></tr><tr><td><code>GATEWAY_ERROR_MESSAGE</code></td><td>Reason why the transaction failed. (e.g. Invalid card, insufficient funds).<br><strong>Test value</strong>: Error processing the card transaction. The card account has not been debited. Card data is invalid or incomplete.</td><td>No</td></tr><tr><td><code>HAS_RENEWAL_PRODUCTS</code></td><td>Flag that indicates whether at least one product has renewal settings.<br><strong>Test value</strong>: 0</td><td>No</td></tr><tr><td><code>HOTLINE_NUMBERS</code></td><td>Array of attributes for Avangate hotline numbers.<br><strong>Test value</strong>: 0</td><td>No</td></tr><tr><td><code>IS_RENEWAL</code></td><td>Flag that indicates whether at least one product has renewal settings.<br><strong>Test value</strong>: 0</td><td>No</td></tr><tr><td><code>LANGUAGE</code></td><td>Order language (abbreviated) selected by shopper.<br><strong>Test value</strong>: en</td><td>No</td></tr><tr><td><code>LASTNAME</code></td><td>Shopper's last name used on the delivery information.<br><strong>Test value</strong>: Doe]</td><td>No</td></tr><tr><td><code>LAST_NAME_DELIVERY</code></td><td>Shopper's last name used on the delivery information.<br><strong>Test value</strong>: Doe</td><td>No</td></tr><tr><td><code>LICENCECODE</code></td><td>The subscription reference.<br><strong>Test value</strong>: FGXYZ1234</td><td>No</td></tr><tr><td><code>MERCHANT_CITY</code></td><td>Merchant's city.<br><strong>Test value</strong>: 0</td><td>No</td></tr><tr><td><code>MERCHANT_COMMERCIAL_NAME</code></td><td>Merchant's commercial name.<br><strong>Test value</strong>: [Software Company Name]</td><td>No</td></tr><tr><td><code>MERCHANT_COMPANY_NAME</code></td><td>Merchant's company name.<br><strong>Test value</strong>: 0</td><td>No</td></tr><tr><td><code>MERCHANT_STREET</code></td><td>Merchant's street name.<br><strong>Test value</strong>: 0</td><td>No</td></tr><tr><td><code>MERCHANT_SUPPORT_EMAIL</code></td><td>Merchant support email address.<br><strong>Test value</strong>: <a href="mailto:support@software-company-website.com">support@software-company-website.com</a></td><td>No</td></tr><tr><td><code>MERCHANT_SUPPORT_PHONE</code></td><td>Merchant support phone number.<br><strong>Test value</strong>: [888-xxx-xxxx]</td><td>No</td></tr><tr><td><code>MOREINFO</code></td><td>Additional product-level fulfillment information set in the Avangate Control Panel.<br><strong>Test value</strong>: Additional delivery information for this product.</td><td>No</td></tr><tr><td><code>MY_ACCOUNT_LOGIN_EMAIL</code></td><td>Email address used by shopper to login/signup to myAccount.<br><strong>Test value</strong>: <a href="mailto:example@customer-email.com">example@customer-email.com</a></td><td>No</td></tr><tr><td><code>MY_ACCOUNT_LOGIN_TOKEN</code></td><td>Token assigned to the shopper in order to access myAccount.<br><strong>Test value</strong>: xxxxxxxxxxxx</td><td>No</td></tr><tr><td><code>MY_ACCOUNT_LOGIN_URL</code></td><td>Avangate myAccount login/sign-up URL.<br><strong>Test value</strong>: secure.sofware-company-website.com/myaccount/?lang=en</td><td>Yes</td></tr><tr><td><code>NAMES_OF_PRODUCTS</code></td><td>Names of all products in the order, comma separated.<br><strong>Test value</strong>: 0</td><td>No</td></tr><tr><td><code>ORDERTOTAL</code></td><td>Total order price.<br><strong>Test value</strong>: 0</td><td>No</td></tr><tr><td><code>ORDER_ADDITIONAL_FIELDS_TEXT</code></td><td>The order additional field names configured in the Avangate Control Panel.<br><strong>Test value</strong>: 0</td><td>No</td></tr><tr><td><code>ORDER_ADDITIONAL_FIELDS_VALUE</code></td><td>The order additional field values filled in by the shopper.<br><strong>Test value</strong>: 0</td><td>No</td></tr><tr><td><code>ADDRESS1</code></td><td>First section of the billing address.<br><strong>Test value</strong>: 0</td><td>No</td></tr><tr><td><code>ORDER_AMOUNT</code></td><td>Total order price.<br><strong>Test value</strong>: 0</td><td>No</td></tr><tr><td><code>ORDER_AMOUNT_ORIGINAL</code></td><td>Original order value (applicable to refunds).<br><strong>Test value</strong>: 0</td><td>No</td></tr><tr><td><code>ORDER_DATE</code></td><td>Order placement date.<br><strong>Test value</strong>: 42563.96863</td><td>Yes</td></tr><tr><td><code>ORDER_DATE_STANDARD_FORMAT</code></td><td>Standard format used for the order placement date.<br><strong>Test value</strong>: 0</td><td>No</td></tr><tr><td><code>ORDER_FLOW</code></td><td>Purchase flow used to place the order.<br><strong>Test value</strong>: 0</td><td>No</td></tr><tr><td><code>ORDER_REFERENCE_NUMBER</code></td><td>Order reference number.<br><strong>Test value</strong>: [9xxxxxx]</td><td>Yes</td></tr><tr><td><code>ORDER_STATUS</code></td><td>Order status.<br><strong>Test value</strong>: 0</td><td>No</td></tr><tr><td><code>ORDER_WEBSITE</code></td><td>Website where the shopper placed the order.<br><strong>Test value</strong>: <a href="http://www.software-company-website.com/">http://www.software-company-website.com</a></td><td>Yes</td></tr><tr><td><code>PAYABLE_TO</code></td><td>Payee name (applicable to wire transfer).<br><strong>Test value</strong>: 0</td><td>No</td></tr><tr><td><code>PAYMENT_TYPE_INFO</code></td><td>English payment method name. Includes last four card digits (if applicable).<br><strong>Test value</strong>: 0</td><td>No</td></tr><tr><td><code>PRODUCT</code></td><td>Product data.<br><strong>Test value</strong>: 0</td><td>No</td></tr><tr><td><code>PRODUCT.CODE</code></td><td>Product code.<br><strong>Test value</strong>: 0</td><td>No</td></tr><tr><td><code>PRODUCT.CODES</code></td><td>Product keys to be delivered to the shopper. Each item of the array has two values: key and description.<br><strong>Test value</strong>: 0</td><td>No</td></tr><tr><td><code>PRODUCT.DOWNLOAD_LINK</code></td><td>Product download link.<br><strong>Test value</strong>: <a href="https://secure.avangate.com/?sid=xxxxxxxxx&#x26;dld">https://secure.avangate.com/?sid=xxxxxxxxx&#x26;dld</a></td><td>No</td></tr><tr><td><code>PRODUCT.HAS_CODES_ATTACHED</code></td><td><p>Indicates whether or not you configured the product keys to be sent as an email attachment. Possible values:</p><ul><li>TRUE if the email contains an attachment</li><li>FALSE if the email doesn't contain an attachment.</li></ul><p><strong>Test value</strong>: 1</p></td><td>No</td></tr><tr><td><code>PRODUCT.HAS_DOWNLOAD_LINK</code></td><td><p>Indicates whether or not a download link is available. Possible values:</p><ul><li>TRUE</li><li>FALSE</li></ul><p><strong>Test value</strong>: 1</p></td><td>No</td></tr><tr><td><code>PRODUCT.ID</code></td><td>Product ID number.<br><strong>Test value</strong>: 4682814</td><td>No</td></tr><tr><td><code>PRODUCT.INFO</code></td><td>Additional product information defined by merchant when generating buy links.<br><strong>Test value</strong>: 0</td><td>No</td></tr><tr><td><code>PRODUCT.NAME</code></td><td>Product name.<br><strong>Test value</strong>: Product Name</td><td>No</td></tr><tr><td><code>PRODUCT.NUMBER_OF_DELIVERED_PRODUCTS</code></td><td>Number of distinct products to be delivered to the shopper.<br><strong>Test value</strong>: 2</td><td>No</td></tr><tr><td><code>PRODUCT.PRODUCT_OPTIONS</code></td><td>Product pricing options configured in the Avangate Control Panel.<br><strong>Test value</strong>: 0</td><td>No</td></tr><tr><td><code>PRODUCT.PRODUCT_OPTIONS[index1].OptionText</code></td><td>Product pricing option name.<br><strong>Test value</strong>: option 1</td><td>No</td></tr><tr><td><code>PRODUCT.QUANTITY</code></td><td>Purchased product quantity.<br><strong>Test value</strong>: 1</td><td>No</td></tr><tr><td><code>PRODUCTCODE</code></td><td>Product code.<br><strong>Test value</strong>: 0</td><td>No</td></tr><tr><td><code>PRODUCTID</code></td><td>Product ID number.<br><strong>Test value</strong>: 4682814</td><td>No</td></tr><tr><td><code>PRODUCTNAME</code></td><td>Product name.<br><strong>Test value</strong>: [Product Name]</td><td>No</td></tr><tr><td><code>PRODUCTQTY</code></td><td>Purchased product quantity.<br><strong>Test value</strong>: 1</td><td>No</td></tr><tr><td><code>PRODUCTS[index1].LICENSE_TYPE</code></td><td>Type of purchased subscription.<br><strong>Test value</strong>: 0</td><td>No</td></tr><tr><td><code>PRODUCTS[index1].SHORT_DESCRIPTION</code></td><td>Short product description.<br><strong>Test value</strong>: 0</td><td>No</td></tr><tr><td><code>PRODUCTS_DATA[index1].IdProduct</code></td><td>Product ID number.<br><strong>Test value</strong>: 0</td><td>No</td></tr><tr><td><code>PRODUCTS_DATA[index1].PRODUCT_SHORT_DESCRIPTION</code></td><td>Short product description.<br><strong>Test value</strong>: 0</td><td>No</td></tr><tr><td><code>PRODUCTS_NO</code></td><td>Number of products in cart.<br><strong>Test value</strong>: 0</td><td>No</td></tr><tr><td><code>PRODUCT_INFO</code></td><td>Additional product information defined by merchant when generating buy links.<br><strong>Test value</strong>: 0</td><td>No</td></tr><tr><td><code>PRODUCT_OPTIONS</code></td><td>Product pricing options configured in the Avangate Control Panel.<br><strong>Test value</strong>: 0</td><td>No</td></tr><tr><td><code>REFNO</code></td><td>Order reference number.<br><strong>Test value</strong>: [9xxxxxx]</td><td>No</td></tr><tr><td><code>RETRYLINK</code></td><td>Payment retry link.<br><strong>Test value</strong>: 0</td><td>No</td></tr><tr><td><code>RETRY_LINK</code></td><td>Payment retry link.<br><strong>Test value</strong>: 0</td><td>No</td></tr><tr><td><code>SELLERCITY</code></td><td>Merchant's city.<br><strong>Test value</strong>: 0</td><td>No</td></tr><tr><td><code>SELLERCOMPANY</code></td><td>Merchant's commercial name.<br><strong>Test value</strong>: 0</td><td>No</td></tr><tr><td><code>SELLERCOUNTRY</code></td><td>Merchant's country.<br><strong>Test value</strong>: 0</td><td>No</td></tr><tr><td><code>SELLERSTREET</code></td><td>Merchant's street name.<br><strong>Test value</strong>: 0</td><td>No</td></tr><tr><td><code>SELLERWEBSITE</code></td><td>Website where the shopper placed the order.<br><strong>Test value</strong>: <a href="http://www.software-company-website.com/">http://www.software-company-website.com</a></td><td>No</td></tr><tr><td><code>SELLERZIP</code></td><td>Mechant's zip code.<br><strong>Test value</strong>: 0</td><td>No</td></tr><tr><td><code>SHOPPER_ADDRESS_1_DELIVERY</code></td><td>First section of the delivery address.<br><strong>Test value</strong>: 0</td><td>No</td></tr><tr><td><code>SHOPPER_ADDRESS_2_DELIVERY</code></td><td>Second section of the delivery address.<br><strong>Test value</strong>: 0</td><td>No</td></tr><tr><td><code>SHOPPER_COMPANY_DELIVERY</code></td><td>Shopper company name used on the delivery information. If no delivery information is available. no company name is displayed.<br><strong>Test value</strong>: Customer company</td><td>No</td></tr><tr><td><code>SHOPPER_EMAIL_ADDRESS_DELIVERY</code></td><td>Shopper email address used on the delivery information. If no delivery information is available. the billing information is used.<br><strong>Test value</strong>: <a href="mailto:example@customer-email.com">example@customer-email.com</a></td><td>No</td></tr><tr><td><code>TECHEMAIL</code></td><td>Merchant support email address.<br><strong>Test value</strong>: <a href="mailto:support@software-company-website.com">support@software-company-website.com</a></td><td>No</td></tr><tr><td><code>TECHPHONE</code></td><td>Merchant support phone number.<br><strong>Test value</strong>: [888-xxx-xxxx]</td><td>No</td></tr><tr><td><code>TO_BE_DELIVERED</code></td><td>Number of distinct products to be delivered to the shopper.<br><strong>Test value</strong>: 2</td><td>No</td></tr><tr><td><code>UPLOADLINK</code></td><td>File upload link.<br><strong>Test value</strong>: 0</td><td>No</td></tr><tr><td><code>UPLOAD_LINK</code></td><td>File upload link.<br><strong>Test value</strong>: 0</td><td>No</td></tr><tr><td><code>USER_EMAIL</code></td><td>Email address used by shopper to login/signup to myAccount.<br><strong>Test value</strong>: <a href="mailto:example@customer-email.com">example@customer-email.com</a></td><td>No</td></tr><tr><td><code>USER_TOKEN</code></td><td>Shopper token for Avangate myAccount access.<br><strong>Test value</strong>: xxxxxxxxxxxx</td><td>No</td></tr><tr><td><code>WEBSITE</code></td><td>Website where the shopper placed the order.<br><strong>Test value</strong>: 0</td><td>No</td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.2checkout.com/marketing/emails/email-variables/electronic-delivery.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
