Skip to main content

Payment failed (instant payment methods)

Payment failed (instant payment methods)

Last updated: 07-Jul-2023
Rate this article:

Overview

Use the variables in the list below to customize the Payment failed (instant payment methods) shopper email according to your needs.

Check the Mandatory column to see the variables that are required in your customized version of the e-mail.

Variable name Description Test value Mandatory

2CHECKOUT_COMPANY_NAME

2Checkout company name

2Checkout

No
2CHECKOUT_LOGO 2Checkout logo URL https://secure.2checkout.com/images/e...endor_logo.png Yes

2CHECKOUT_OPERATIONAL_EMAIL

2Checkout operational email address

0

No

2CHECKOUT_OPERATIONAL_FAX

2Checkout operational fax number

0

No
2CHECKOUT_RESELLER_ROLE This is mandatory content you need to keep in your emails, given 2Checkout acts as Reseller / Merchant of Record for online purchases on your website. 2Checkout acts as an authorized reseller of #Merchant commercial name online products and services. Yes

2CHECKOUT_SUPPORT_EMAIL

2Checkout support email address

support@2checkout.com

Yes

2CHECKOUT_SUPPORT_PHONE

2Checkout support phone

0

No

2CHECKOUT_SUPPORT_PHONE_US

2Checkout US hotline number

0

No

2CHECKOUT_WEBSITE

2Checkout website

http://www.2checkout.com

Yes

BUSINESS_COMPANY

2Checkout company name

2Checkout No

BUSINESS_HOTLINE

2Checkout support phone

0

No

BUSINESS_HOTLINEUS

2Checkout US hotline number

0

No

BUSINESS_OPEMAIL

2Checkout operational email address

0

No

BUSINESS_OPFAX

2Checkout operational fax number

0

No

BUSINESS_SUPEMAIL

2Checkout support email address

support@2checkout.com

No

CARD_LAST_DIGITS

Last 4 digits of the card used to perform the payment

0

No

COMMERCIALNAME

Merchant's commercial name

0

No

CONVERTED_ORDER_AMOUNT

Order amount converted in all vendor currencies

0

No

CURRENCY

Order billing currency

USD

Yes

CURRENCY_ORIGINAL

Original order currency (applicable to refunds)

0

No

ENCRYPTED_MERCHANT_CODE

Encrypted merchant code

0

No

FIRSTNAME

Shopper's first name used on the billing information

John

No

FIRST_NAME_BILLING

Shopper's first name used on the billing information

John

No
GATEWAY_ERROR_CODE Gateway error code

GW_PROCESSING_ERROR 

See the full list of Possible Values

No
GATEWAY_ERROR_MESSAGE

Reason why the transaction failed. (e.g. Invalid card, insufficient funds)

 

Error processing the card transaction. The card account has not been debited. Card data is invalid or incomplete. No

GENERALTOTAL

Total order price

56.5

No

HAS_RENEWAL_PRODUCTS

Flag that indicates whether at least one product has renewal settings

1

No

HOTLINE_NUMBERS

Array of attributes for 2Checkout hotline numbers

0

No

IS_RENEWAL

Flag that indicates whether at least one product has renewal settings

1

No

LASTNAME

Shopper's last name used on the billing information

Doe

No

LAST_NAME_BILLING

Shopper's last name used on the billing information

Doe

No

MERCHANT_COMMERCIAL_NAME

Merchant's commercial name

Software Company Name

No

MYACCOUNT_URL_UPDATE_CC

URL for updating credit card information in myAccount

0

No

MY_ACCOUNT_LOGIN_URL

2Checkout myAccount login/sign-up URL

https://secure.2checkout.com/myaccoun...m&k=xxxxxxxxxx

Yes

MY_ACCOUNT_URL_UPDATE_CC

URL for updating credit card information in myAccount

0

No

NAMES_OF_PRODUCTS

Names of all products in the order, comma-separated

My product name

Yes

ORDERDATE

Order placement date

42515

No

ORDER_AMOUNT

Total order price

56.5

No

ORDER_AMOUNT_ORIGINAL

Original order value (applicable to refunds)

0

No

ORDER_DATE

Order placement date

42515

No

ORDER_DATE_STANDARD_FORMAT

Standard format used for the order placement date

42515

Yes

ORDER_FLOW

Purchase flow used to place the order

0

No

ORDER_REFERENCE_NUMBER

Order reference number

9xxxxx

Yes

ORDER_STATUS

Order status

0

No

ORDER_WEBSITE

Website where the shopper placed the order

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

Yes

PAYABLE_TO

Payee name (applicable to wire transfer)

0

No

PAYMENT_METHOD

English name for the payment method used

Visa/MasterCard/Eurocard - 1234

No

PAYMENT_TYPE_INFO

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

Visa - 1234

No

PAYMETHOD

English name for the payment method used

0

Yes

PAYTYPE

Identification number for the payment method selected during the ordering process

1

No

PAY_TYPE

Identification number for the payment method selected during the ordering process

1

No

PRODUCTS

Products data.

0

No

PRODUCTS[index1].BILLING_CYCLE

Indicates how many renewals have been successfully performed so far (on the subscription)

11

No
PRODUCTS[index1].CODE Product code. P_CODE No

PRODUCTS[index1].DISCOUNT

Product discount value per product line

1

No

PRODUCTS[index1].INFO

Additional product information defined by merchant when generating buy links

Product info 1

No

PRODUCTS[index1].LICENSE_TYPE

Type of purchased subscription

0

No

PRODUCTS[index1].PCODE

Product code.

P_CODE_1

No

PRODUCTS[index1].PID

Product ID number

1234

No

PRODUCTS[index1].PNAME

Product name

Test

No

PRODUCTS[index1].PRICE

Product unit price

20

No

PRODUCTS[index1].PRODUCT_OPTIONS

0

0

No

PRODUCTS[index1].PRODUCT_OPTIONS[index2].OptionText

Ignore internal var.

0

No

PRODUCTS[index1].PROMONAME

Name of the promotion applied to the product

Some promotion

No

PRODUCTS[index1].QUANTITY

Purchased product quantity

2

No

PRODUCTS[index1].SHORT_DESCRIPTION

Short product description

0

No
PRODUCTS[index1].SKU Product SKU SKU1234 No

PRODUCTS[index1].TOTAL

Total gross price per product line (before applying discounts)

45.6

No

PRODUCTS[index1].VAT

VAT/Sales tax value per product line

3.8

No

PRODUCTS_DATA[index1].IdProduct

Product ID number

0

No

PRODUCTS_DATA[index1].PRODUCT_SHORT_DESCRIPTION

Short product description

0

No

PRODUCTS_NO

Number of products in cart

0

No

QR_CODE_SRC

The QR code URL to be used for payments with bank/wire transfer

0

No

REFNO

Order reference number

9xxxxx

No

RETRY_LINK

Payment retry link

https://secure.2checkout.com/order/fi...?id=xxxxxxxxxx

Yes

SELLERCOMPANY

Merchant's company name

Software Company Name

No

TOTALEQUIV

The order amount converted to all the merchant's currencies

0

No

UPLOADLINK

File upload link

0

No

UPLOAD_LINK

File upload link

0

No

WEBSITE

Website where the shopper placed the order

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

No
Rate this article:

Need help?

Do you have a question? If you didn’t find the answer you are looking for in our documentation, you can contact our Support teams for more information. If you have a technical issue or question, please contact us. We are happy to help.

Not yet a Verifone customer?

We’ll help you choose the right payment solution for your business, wherever you want to sell, in-person or online. Our team of experts will happily discuss your needs.

Verifone logo