Skip to main content
knowledgecenter.avangate.com

Payment receipt

Use the variables in the list below to customize the Payment receipt shopper email according to your needs.

Variable name

Description

Test value

ADDRESS1

First section of the delivery address

123, Main Street

ADDRESS1_D

First section of the delivery address

123, Main Street

ADDRESS2

Second section of the delivery address

0

ADDRESS2_D

Second section of the delivery address

0

ALLOW_MYACCOUNT_PROMO

Include or exclude myAccount information in the email body

1

APPROVAL

Issuer (bank) payment idetifier

AU1234

AUTO_RENEWAL

Indicates whether or not the shopper has enabled automatic renewal on the subscription

1

AVANGATE_COMPANY_NAME

Avangate company name

Avangate

AVS_MATCH

Gateway AVS

Z

BANK_STATEMENT

Account statement descriptor

avangate*software.com

BANK_STATEMENT_DESCRIPTOR

Account statement descriptor

avangate*software.com

BASE_URL

Merchant's full host

https://secure.avangate.com

BUSINESS_COMPANY

Avangate company name

Avangate

BUSINESS_HOTLINE

Avangate support phone

0

BUSINESS_HOTLINEUS

Avangate US hotline number

0

BUSINESS_SUPEMAIL

Avangate support email address

support@avangate.com

BUSINESS_WEBSITE

Avangate website

http://www.avangate.com

CARD_LAST_DIGITS

Last 4 digits of the card used to perform the payment

1111

CBANKACCOUNT

Shopper's bank account used on the billing information

0

CBANKNAME

Shopper's bank name used on the billing information

0

CITY

Shopper's city used on the billing information

Anytown

CITY_D

Shopper's city used on the delivery information

Anytown

COMMERCIALNAME

Merchant's commercial name

Software Company Name

COMPANY

Shopper company name used on the delivery information. If no delivery information is available, no company name is displayed.

Customer company

COMPANY_D

Shopper company name used on the delivery information. If no delivery information is available, no company name is displayed.

Customer company

COUNTRY

Shopper's country used on the billing information

France

COUNTRY_D

Shopper's country used on the delivery information

U.S.A

CURRENCY

Order billing currency

USD

CURRENCY_ORIGINAL

Original order currency (applicable to refunds)

0

CUSTOMEREMAIL

Shopper's email address used on the billing information

example@customer-email.com

CVV2_MATCH

Gateway CVV2 check response

M

DELIVERABILITY

Order delivery status

0

DELIVRABILITY

The delivery status of the loaded order

0

DISPLAY_MY_ACCOUNT_INFO

Include or exclude myAccount information in the email body

1

ENCRYPTED_MERCHANT_CODE

Encrypted merchant code

0

FIRSTNAME

Shopper's first name used on the delivery information

John

FIRSTNAME_D

Shopper's first name used on the delivery information

John

FIRST_NAME_BILLING

Shopper's first name used on the billing information

John

FIRST_NAME_DELIVERY

Shopper's first name used on the delivery information

John

FISCALCODE

Shopper's fiscal code used on the billing information

0

FISCAL_CODE

Shopper's fiscal code used on the billing information

0

GENERALTOTAL

Total order price

79

GLOBALDISCOUNT

Order total discount

3

HAS_BACKUPCD

Indicates whether or not backup media needs to be delivered. Possible values:

TRUE

FALSE

1

HAS_RENEWAL_PRODUCTS

Flag that indicates whether at least one product has renewal settings

0

HOTLINE_NUMBERS

Array of attributes for Avangate hotline numbers

0

HOTLINE_NUMBERS.NG_PHONE[index1].HotlineName

Countries where Avangate support information is available

USA/Canada

HOTLINE_NUMBERS.NG_PHONE[index1].HotlineValue

Avangate phone number(s) for shopper support

+1 (650) 963-5701

INT_REF

Global Collect internal reference

123456789

IS_RENEWAL

Flag that indicates whether at least one product has renewal settings

0

LANGUAGE

Order language (abbreviated) selected by shopper

0

LASTNAME

Shopper's last name used on the delivery information

Doe

LASTNAME_D

Shopper's last name used on the delivery information

Doe

LAST_NAME_BILLING

Shopper's last name used on the billing information

Doe

LAST_NAME_DELIVERY

Shopper's last name used on the delivery information

Doe

MERCHANT_COMMERCIAL_NAME

Merchant's commercial name

Software Company Name

MERCHANT_COMPANY

Merchant's company name

0

MERCHANT_ID

Seller ID

0

MERCHANT_SUPPORT_EMAIL

Merchant support email address

merchant@email.com

MERCHANT_SUPPORT_PHONE

Merchant support phone number

123 456 789 0

MY_ACCOUNT_LOGIN_EMAIL

Email address used by shopper to login/signup to myAccount

customer@email.com

MY_ACCOUNT_LOGIN_TOKEN

Token assigned to the shopper in order to access myAccount

0

MY_ACCOUNT_LOGIN_URL

Avangate myAccount login/sign-up URL

Signup / Login

MY_ACCOUNT_URL

URL for myAccount. To the BASE_URL we add /myaccount/

0

NAMES_OF_PRODUCTS

Names of all products in the order, comma separated

0

ORDERDATE

Order placement date

41970.18889

ORDER_AMOUNT

Total order price

79

ORDER_AMOUNT_ORIGINAL

Original order value (applicable to refunds)

0

ORDER_DATE

Order placement date

42563

ORDER_DATE_STANDARD_FORMAT

Standard format used for the order placement date

0

ORDER_FLOW

Purchase flow used to place the order

0

ORDER_REFERENCE_NUMBER

Order reference number

9xxxxxx

ORDER_STATUS

Order status

0

ORDER_WEBSITE

Website where the shopper placed the order

http://www.software-company-website.com

PAYMENT_METHOD

English name for the payment method used

Visa/MasterCard/Eurocard

PAYMENT_TYPE_INFO

English payment method name. Includes last four card digits (if applicable).

0

PAYTYPE

Identification number for the payment method selected during ordering process

1

PAYTYPESTR

English name for the payment method used

Visa/MasterCard/Eurocard

PAY_TYPE

Identification number for the payment method selected during ordering process

1

PHONE

Shopper's phone number used on the billing information

0

PHONE_D

Shopper's phone number used on the delivery information

555-555-555

PRODUCTS

Products data.

0

PRODUCTS[index1].DISCOUNT

Product discount value per product line

2

PRODUCTS[index1].ID

Product ID number

4572518

PRODUCTS[index1].INFO

Additional product information defined by merchant when generating buy links

Product info 1

PRODUCTS[index1].IS_TRIAL

Indicates whether this is a trial product

1

PRODUCTS[index1].LICENSE_TYPE

Type of purchased subscription

RENEWAL

PRODUCTS[index1].NAME

Product name

Installation Service

PRODUCTS[index1].PCODE

Product code.

P_CODE_1

PRODUCTS[index1].PID

Product ID number

4572518

PRODUCTS[index1].PNAME

Product name

Installation Service

PRODUCTS[index1].PRICE

Product unit price

20

PRODUCTS[index1].PRODUCT_OPTIONS

Product pricing options configured in the Avangate Control Panel

0

PRODUCTS[index1].PRODUCT_OPTIONS[index2].OptionText

Ignore internal var.

0

PRODUCTS[index1].PROMONAME

Name of the promotion applied to the product

Some promotion

PRODUCTS[index1].QUANTITY

Purchased product quantity

2

PRODUCTS[index1].SHORT_DESCRIPTION

Short product description

0

PRODUCTS[index1].TOTAL

Total gross price per product line (before applying discounts)

40

PRODUCTS[index1].TOTAL_PRICE

Total net price per product line (before applying discounts)

40

PRODUCTS[index1].TRIAL_PERIOD

Product trial period.

7

PRODUCTS[index1].UNIT_PRICE

Product unit price

20

PRODUCTS[index1].VAT

VAT/Sales tax value per product line

3.8

PRODUCTS_DATA[index1].IdProduct

Product ID number

0

PRODUCTS_DATA[index1].PRODUCT_SHORT_DESCRIPTION

Short product description

0

PRODUCTS_NO

Number of products in cart

0

REFERENCE_NUMBER_EXTERNAL

External order reference (can be added by the merchant as buy link parameter)

0

REFNO

Order reference number

9xxxxxx

REFNOEXT

External order reference (can be added by the merchant as buy link parameter)

0

REGISTRATIONNUMBER

Shopper's registration number used on the billing information

0

REGISTRATION_NUMBER

Shopper's registration number used on the billing information

0

RETRYLINK

Payment retry link

0

RETRY_LINK

Payment retry link

0

SELLERCOMPANY

Merchant's company name

0

SELLERID

Seller ID

0

SHIPPING

Shipping fee amount

2

SHIPPING_FEE

Shipping fee amount

2

SHOPPER_ADDRESS_1_BILLING

First section of the billing address

123, Main Street

SHOPPER_ADDRESS_1_DELIVERY

First section of the delivery address

123, Main Street

SHOPPER_ADDRESS_2_BILLING

Second section of the billing address

0

SHOPPER_ADDRESS_2_DELIVERY

Second section of the delivery address

0

SHOPPER_BANK_ACCOUNT

Shopper's bank account used on the billing information

0

SHOPPER_BANK_NAME

Shopper's bank name used on the billing information

0

SHOPPER_CITY_BILLING

Shopper's city used on the billing information

Anytown

SHOPPER_CITY_DELIVERY

Shopper's city used on the delivery information

Anytown

SHOPPER_COMPANY_BILLING

Shopper's company name used on the billing information

Customer company

SHOPPER_COMPANY_DELIVERY

Shopper company name used on the delivery information. If no delivery information is available. no company name is displayed.

Customer company

SHOPPER_COUNTRY_BILLING

Shopper's country used on the billing information

U.S.A

SHOPPER_COUNTRY_DELIVERY

Shopper's country used on the delivery information

U.S.A

SHOPPER_EMAIL_ADDRESS_BILLING

Shopper's email address used on the billing information

example@customer-email.com

SHOPPER_PHONE_BILLING

Shopper's phone number used on the billing information

0

SHOPPER_PHONE_DELIVERY

Shopper's phone number used on the delivery information

555-555-555

SHOPPER_STATE_BILLING

Shopper's state used on the billing information

Anystate

SHOPPER_STATE_DELIVERY

Shopper's state used on the delivery information

Anystate

SHOPPER_ZIP_CODE_BILLING

Shopper's ZIP code used on the billing information

12345

SHOPPER_ZIP_CODE_DELIVERY

Shopper's ZIP code used on the delivery information

12345

STATE

Shopper's state used on the billing information

Anystate

STATE_D

Shopper's state used on the delivery information

Anystate

SUBTOTAL

The order amount without vat and shipping

79

SUPPORTEMAIL

Merchant support email address

0

SUPPORTPHONE

Merchant support phone number

0

TECHEMAIL

Merchant support email address

0

TECHPHONE

Merchant support phone number

0

TOTALEQUIV

Order amount converted in all vendor currencies

0

TOTAL_DISCOUNT

Total order discount

3

TOTAL_VAT

Total order VAT

0

UPLOADLINK

File upload link

0

UPLOAD_LINK

File upload link

0

USER_EMAIL

Email address used by shopper to login/signup to myAccount

example@customer-email.com

USER_TOKEN

Shopper token for Avangate myAccount access

0

VALIDATION_CODE

Global Collect validation code

VA0122

WEBSITE

Website where the shopper placed the order

http://www.software-company-website.com

ZIPCODE

Shopper's ZIP code used on the billing information

12345

ZIPCODE_D

Shopper's ZIP code used on the delivery information

12345