Menu

Test Cases

There are two kinds of test case:

  • Mandatory - All merchants must do all the mandatory test cases. The mandatory test case numbers all start with an M

  • Customer specific - These depend on your business, and the type of transactions you want to make. We will tell you what customer-specific test cases you need to do. These test case numbers all start with an O

Mandatory test cases

Test case No.DescriptionTest typeICC solution cardAmountPINOutput
M01Sale: Signature verified or rejectedSaleVISA credit signature card, ending in 011910.00N/A2 Merchant Receipts: signature and void, and a customer receipt
M02Sale: Signature verified, approvedSaleVISA credit signature card, ending in 011911.00N/AMerchant receipt signature only and a customer receipt
M03Sale: Chip & PIN verified, approvedSaleMastercard credit card, ending in 004510.001234Merchant receipt and customer receipt
M04Sale: Fallback to magstripe rejectedSaleVISA credit signature card, ending in 011915.00N/A2 Merchant Receipts: Signature and Void, and a customer receipt
M05Sale: Fallback to magstripe approvedSaleVISA credit signature card, ending in 011916.00N/AMerchant receipt signature only and a customer receipt
M06Sale: PIN & signature verified, approvedSaleVisa chip and PIN and signature card ending in 001022.001234Merchant receipt signature only and a customer receipt
M07Sale: Chip and PIN verified, declinedSaleMastercard credit card, ending in 004540.001234Merchant receipt, customer receipt
M08Sale: Contactless declinedSaleVISA PayWave card, ending in 001010.51N/AMerchant receipt, customer receipt
M09Sale: Contactless approvedSaleMastercard PayPass card, ending in 001010.00N/AMerchant receipt, customer receipt
M10Sale: Contactless above CVM limit approvedSaleMastercard PayPass card, ending in 001050.00N/AMerchant receipt, customer receipt
M11Refund: No CVM approvedRefundMastercard credit card ending in 004525.00N/AMerchant receipt, customer receipt
M12Sale referral rejected. IPS and the Mobile SDK issue a referral if connection is lost with the Integrated POS Service. For example, because of a comms failure. This allows you to accept the transaction by contacting the aquirer's authorization centre for an Auth codeSaleMastercard credit ending with 004580.001234Merchant receipt, customer rejected

Customer specific test cases

Test case No.DescriptionTest typeICC solution cardAmountPINOutput
OPTO1Sale: Referral Accepted. IPS and Mobile SDK will issue a Referral if connection is lost with the Integrated POS service, for example because of comms failure. This allows the merchant the option to accept the transaction by contacting the acquirers Authorisation centre for an Auth code.SaleMastercard credit card ending in 004580.001234Merchant receipt, customer receipt
OPTO2Sale: with Cashback(PWCB) Approved. IPS prompts for cashback only if this feature is enabled for the TID. Discuss with your Worldpay contact to enable cashback.Purchase with cashbackInternational Maestro card, ending in 0010Sale: 2.00 Cashback: 1.001234Merchant receipt, customer receipt
OPTO3Sale: with Gratuity approved. Use the IPS Configuration Portal (or the Configuration REST API) to configure this option to apply a Profile where the ‘Gratuity’ flag is ticked to your Pay pointSales with gratuityMastercard credit card ending in 004510.00 1.001234Merchant receipt, customer receipt
OPTO4Sale: Split Transaction Approved. This tests POS handling for transactions where more than one tender is required e.g. cash and card, or two different cards.Sale, cashVisa credit signature card, ending in 011910.00 (both card and cash)N/AMerchant receipt, customer receipt or a combined customer/cash receipt
OPT05Sale: Card not present, AVS details acceptedCNP saleCard number - 5454-5454-5454-5454 Expiry Date - Specify a date up to 7 years in the future in format MMYY e.g. 0927 CVV- 083 Address - 16 Post Code - 15520.00N/AMerchant receipt, customer receipt
OPT06Sale: Card not present, AVS details rejected - invalid address and post codeCNP SaleCard number - 4012-0010-3714-1112 Expiry Date - Specify a date up to 7 years in the future in format MMYY e.g. 0927 CVV - 083 Address - 16 Post Code - 15525.00N/AMerchant receipt, customer receipt
OPT07Refund: Card not presentCard number - 5454-5454-5454-5454 Expiry Date - Specify a date up to 7 years in the future in format MMYY e.g. 0927105N/AMerchant receipt, customer receipt