Testing Account Updater
To test Account Updater, you submit a normal Authorization transaction. The certification system returns an Authorization response that includes Account Update information. You should verify that you correctly parse the update information.
You can also perform the tests in this section using Sale transactions instead of Authorization transactions.
To test the Account Updater service:
-
Submit authorization transactions using the values provided in Supplied Data Elements of Table 2-20.
-
Verify that your response values match those shown in Key Response Elements section of Table 2-20.
-
If you have coded to receive Extended Response Codes, proceed to the next test.
TABLE 2-20 Account Updater Test Data
orderId |
Supplied Data Elements |
Key Response Elements |
||
---|---|---|---|---|
Element |
Value |
Element |
Value |
|
100
|
<amount> <type> <number> <expDate>
|
10000 MC 5112010000047111 0899
|
<originalCardInfo> <type> <number> <expDate> <newCardInfo> <type> <number> <expDate> <extentedCardResponse> <code> <message> |
(parent element) MC 5112010000047111 0899 (parent element) MC 5112010000010556 0999 (parent element) 500 The account number was changed |
101
|
<amount> <type> <number> <expDate>
|
10000 MC 5112 0100 55830007 0199
|
<originalCardInfo> <type> <number> <expDate> <newCardInfo> <type> <number> <expDate> <extentedCardResponse> <code> <message> |
(parent element) MC 5112 0100 55830007 0199 (parent element) MC 5112 0100 55830007 0399 (parent element) 502 The expiration date was changed |