Testing checkoutId

The checkoutId element is a low value token issued by eProtect in replacement for the CVV value. You only need to perform these test if you use eProtect and plan to use the checkoutId in place of the CVV.

To test the use of the checkoutId element, do the following:

The first test provides a response of a matching CVV, while the second and third test return checkoutId failure messages allowing you to verity your handling of these conditions. All tests return as Approved, because the CVV check does not necessarily impact the approval/decline of a transaction.

  1. Using your (test) Web site, the token value returned for orderId 1 (TABLE 2-1 Authorization Test Data) and the CVV value shown for orderId 1 to initiate an eProtect transaction. Use the checkoutId value you receive for CVV to construct an Authorization transaction within 24 hours. Verify the response data matches the information shown for orderId chkoutId_1 in TABLE 2-33.

  2. Submit an Authorization using the same token value from Step 1 and the checkoutId value from the Supplied Data Elements for orderId chkoutId_2. Verify that the response data matches the Key response Elements for orderId chkoutId_2 in Table 2-33.

  3. Submit an Authorization using the same token value from Step 1 and the checkoutId value from the Supplied Data Elements for orderId chkoutId_3. Verify that the response data matches the Key response Elements for orderId chkoutId_3 in Table 2-33.

TABLE 2-33  checkoutId Test Data

orderId

Supplied Data Elements

Key Response Elements

Element

Value

Element

Value

chkoutId_1

 

 

<cnpToken>

<checkoutId>

 

value from orderId_1

value from eProtect

 

<response>

<message>

<cardValidationResult>

000

Approved

M

chkoutId_2

 

 

 

<cnpToken>

<checkoutId>

 

 

value from orderId_1

A90999999999999999

 

 

<response>

<message>

<tokenResponseCode>

<tokenMessage>

000

Approved

826

Checkout Id was invalid

chkoutId_3

 

 

 

<cnpToken>

<checkoutId>

 

 

value from orderId_1

201234567891234567

 

 

<response>

<message>

<tokenResponseCode>

<tokenMessage>

000

Approved

827

Checkout Id was not found