Content
More informations
Presentation
Payline offers two options :
- simulation of return codes with transaction amounts.
- simulation of return codes with card numbers.
It no should combined the both case.
In this case, the card number simulation takes over the transaction amounts simulation.
You can only simulate Payline back return codes, it means codes beginning by 01 : Return codes - Payline Back (01)
Simulate a return code with the transactions amounts
This table shows the list of amounts to be sent to Payline to simulate a return code from the authorization server of your bank. All return codes are therefore not simulated: case of an authentication error, internal error, etc. You can use them on the probate environment.
Amount to send | Return code response |
---|---|
333.00 | 00000 |
333.08 | 00000 |
333.05 | 01100 |
333.60 | 01103 |
333.02 | 01108 |
333.03 | 01109 |
333.13 | 01110 |
333.14 | 01111 |
333.51 | 01116 |
333.55 | 01117 |
333.56 | 01118 |
333.57 | 01119 |
333.58 | 01120 |
333.61 | 01121 |
333.63 | 01122 |
333.31 | 01199 |
333.54 | 01201 |
333.34 | 01202 |
333.38 | 01206 |
333.12 | 01902 |
333.30 | 01904 |
333.91 | 01907 |
333.96 | 01909 |
333.15 | 01912 |
333.16 | 01131 |
333.94 | 01913 |
More information on types (shortmessage) and descriptions (longmessage) see the page Return codes - Payline Back (01).
If you want to simulate a particular return code, when entering your test card number in the payment form you need to replace the 10th digit by the number 9 then add the return code and complete the card number with the appropriate last digit. This last digit must be calculated via a Luhn key generator. Example : if you want to simulate the return code 01206 , in the payment form you will enter 497010346 9 01206 6. The last digit was determined using a simulator from dcode.fr. : This operating mode is valid for the moment only for codes starting with "01XXX" and CB, VISA, MC cards. The most used codes work: 01119, 01116, 01100, 01108, ... Payline does not yet simulate all return codes, such as 01197 and 01198. The merchant is therefore able to manage card numbers. If the 10th digit no matchs with any defined code, then the return code is 00000 with the status ACCEPTED.Simulate a return code by card number