Testing Stored Credentials Processing

When you submit the first transaction in a recurring/installment stream, or when storing credentials for future purchases, you must set the <processingType> element to either initialRecurring, initialInstallment, or initialCOF (Card on File), as applicable. With the exception of an American Express transaction, the XML response message includes the <networkTransactionId> element. You must retain the value returned for use in future transactions. When you submit the next and all subsequent transactions in the recurring/installment stream, set the <orderSource> to recurring or installment as appropriate, and include the networkTransactionId value in the <originalNetworkTransactionId> element. For a CoF transaction, set the <orderSource> to ecommerce and the <processingType> element to either merchantInitiatedCOF, or cardholderInitiatedCOF (Card on File), as applicable.

To test recurring/installment and CoF transactions, do the following:

  1. Submit either Authorization or Sale transactions for orderIds Net_Id1, Net_Id2, and Net_Id3 using the data shown in Table 2-9. Verify that each transactions response indicates approval and that you parse and store the value of the networkTransactionId element for each transaction.

In the Pre-Live environment, the system may return all zeros for the networkTransactionId.

  1. Submit transactions Net_Id1a, Net_Id2a, Net_Id3a and Net_Id3b using the supplied data. Verify that each transaction results in an approval.

Each of the responses include a networkTransactionId value. You can either store this value for future use in subsequent transactions or continue to use the original value returned in the initial transactions.

TABLE 2-9 Stored Credentials Test Data

orderId

Supplied Data Elements

Key Response Elements

Element

Value

Element

Value

Net_Id1

 

 

 

 

 

Authorization/Sale:

<amount>

<type>

<number>

<expDate>

<cardValidationNum>

<processingType>

<paymentType>

 

4999

VI

4100200300011001

0550

463

initialRecurring

Fixed Amount

Authorization Response:

<response>

<message>

<networkTransactionId>

 

 

 

000

Approved

Dynamically generated value

 

 

Net_Id1a

 

 

 

 

 

 

 

 

Authorization/Sale:

<amount>

<type>

<number>

<expDate>

<orderSource>

<originalNetworkTrans

actionId>

 

4999

VI

4100200300011001

0550

recurring

Value from Net_Id1

response

<response>

<message>

 

 

 

 

 

 

 

000

Approved

 

 

 

 

 

 

 

Net_Id2

 

 

 

 

 

 

 

 

 

 

 

 

Authorization/Sale:

<amount>

<name>

<addressLine1>

<city>

<state>

<zip>

<country>

<type>

<number>

<expDate>

<cardValidationNum>

<processingType>

<paymentType>

 

5500

John & Mary Smith

1 Main St.

Burlington

MA

01803-3747

US

VI

4457010000000009

0150

349

initialInstallment

Variable Amount

Authorization Response:

<response>

<message>

<authCode>

<avsResult>

<cardValidationResult>

<networkTransactionId>

 

 

 

 

 

 

 

000

Approved

11111

01

M

Dynamically generated value

 

 

 

 

 

 

Net_Id2a

 

 

 

 

 

 

Authorization/Sale:

<amount>

<type>

<number>

<expDate>

<orderSource>

<originalNetworkTransactionId>

 

5500

VI

4457010000000009

0150

installment

Value from Net_Id2 response

Authorization Response:

<response>

<message>

 

000

Approved

Net_Id3

 

 

 

 

 

 

 

 

 

 

 

 

Authorization/Sale:

<amount>

<name>

<addressLine1>

<city>

<state>

<zip>

<country>

<type>

<number>

<expDate>

<cardValidationNum>

<processingType>

 

5500

John Smith

1 Main St.

Waltham

MA

02453

US

VI

4457000800000002

0150

349

initialCOF

Authorization Response:

<response>

<message>

<authCode>

<avsResult>

<cardValidationResult>

<networkTransactionId>

 

 

 

 

 

 

 

000

Approved

654321

00

P

Dynamically generated value

 

 

 

 

 

 

Net_Id3a

 

 

 

 

 

 

 

Authorization/Sale:

<amount>

<type>

<number>

<expDate>

<orderSource>

<processingType>

<originalNetworkTransactionId>

 

2500

VI

4457000800000002

0150

ecommerce

merchantInitiatedCOF

Value from Net_Id3 response

Authorization Response:

<response>

<message>

 

 

 

 

 

 

000

Approved

 

 

 

 

 

Net_Id3b

 

 

 

 

 

 

Authorization/Sale:

<amount>

<type>

<number>

<expDate>

<orderSource>

<processingType>

 

4000

VI

4457000800000002

0150

ecommerce

cardholderInitiatedCOF

Authorization Response:

<response>

<message>

 

 

 

 

 

000

Approved