Testing MasterPass Transactions
If you are planning to support MasterPass transaction, in addition to other required certification testing, you should submit the following transactions to test the use of the additional cnpAPI elements required for a MasterPass transaction.
To test the MasterPass functionality using the data supplied in Table 2-29:
-
Submit an Authorization transaction using the data supplied for Order Id MCWalletAuth. Verify that the response data matches the values for the Key Response Elements for that orderId.
-
Submit a Sale transaction using the data supplied for Order Id MCWalletSale. Verify that the response data matches the values for the Key Response Elements for that orderId.
TABLE 2-29 MasterPass Test Data
orderId |
Supplied Data Elements |
Key Response Elements
|
||
---|---|---|---|---|
Element |
Value |
Element |
Value |
|
MCWalletAuth |
<wallet> <walletSourceType> <walletSourceTypeId> |
(parent element) MasterPass 102 |
<response> <message> |
000 Approved |
MCWalletSale |
<wallet> <walletSourceType> <walletSourceTypeId> |
(parent element) MasterPass 102 |
<response> <message> |
000 Approved |