Simulator Test scenarios
In order to do a full system test there are several test scenario’s that will result in a response message which is not successful. These messages are triggered by the usage of the following amounts and the corresponding results are being presented by the simulators CM POS Payments created on its development platform. To make the CM POS Payments platform as accurate as possible, CM POS Payments has several simulators imitating the behavior of important processors.
The only response code for a successful transaction is SUCCESS. With all other response codes the transaction has failed. Other (fail) messages may occur in production environment. To use contactless flow and error codes are required. The same codes are used but with a different amount.
case | Value | Description | Result Code | |
All | Under NFC limit | |||
1 | €200,01 | €20,01 | The cardholder has reached the total amount limit of his/her card | AMOUNT_EXCEEDED |
2 | €200,02 | €20,02 | The cardholder does not have enough funds to buy the goods | INSUFFICIENT_FUNDS |
3 | €200,03 | €20,03 | The issuer was not able to respond in time | AUTHORIZATION_TIMEOUT |
4 | €200,04 | €20,04 | The issuer denies the transaction due to special conditions, i.e., fraud suspect | AUTHORIZATION_FAILURE |
5 | €200,05 | €20,05 | The card used is valid but has been blocked, i.e., exceeded the number of PIN tries | CARD_BLOCKED |
6 | €200,06 | €20,06 | The card used is not valid anymore, i.e., the card is expired | CARD_INVALID |
7 | €200,07 | €20,07 | The cardholder has entered a wrong PIN and the processor gives another opportunity to enter it correctly | PIN_INCORRECT_RETRY |
8 | €200,08 | €20,08 | This case represents the generic error case. | FAILED |
9 | SCA | €20.90 | The issuer asks for further identification, in this case the PIN is needed | SCA_ADDITION_REQUIRED |
10 | €20.91 | The issuer asks to change the interface used to perform a contact chip transaction | CONTACT_CHIP_REQUIRED | |
11 | €170,70 | €170,70 | The authorization response from processor is delayed | SUCCESS |
Cases 7, 9 and 10 can be performed by sending the corresponding amount from partner application, but PayPlaza terminal application is going to handle the Pin Retry and SCA process by itself. This way, if the process is successful, partner Application will receive SUCCESS as a result code or the corresponding error code otherwise.
As mentioned before, the PayPlaza platform has several different Processor simulators, which try to mimic the real world behavior of actual processors in production. As a result it should be noted that not all cases are supported by every processor, which will be reflected in the behavior of the processor simulators as stated below.
| Case | OmniPay Simulator | CCV Simulator | Equens Simulator | SIX Simulator | Amex Simulator |
|---|---|---|---|---|---|
1 | YES | YES | YES | YES | Not Supported |
2 | YES | YES | YES | YES | Not Supported |
3 | YES | YES | YES | Not Supported | Not Supported |
4 | YES | YES | YES | YES | YES |
5 | YES | YES | YES | YES | YES |
6 | YES | YES | YES | YES | Not Supported |
7 | YES | Not Supported | Not Supported | YES | YES |
8 | YES | YES | YES | YES | YES |
9 | YES | YES | YES | YES | Not Supported |
10 | YES | YES | YES | YES | Not Supported |
11 | YES | YES | YES | YES | YES |