Payline offers two options:
- simulation of return codes with transaction amounts;
- simulation of return codes with card numbers.
Simulate a return code with the 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 |
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.54 | 01201 |
333.55 | 01117 |
333.56 | 01118 |
333.57 | 01119 |
333.58 | 01120 |
333.61 | 01121 |
333.63 | 01122 |
333.31 | 01199 |
333.04 | 01200 |
333.33 | 01201 |
333.34 | 01202 |
333.38 | 01206 |
333.07 | 01207 |
333.41 | 01208 |
333.43 | 01209 |
333.12 | 01902 |
333.30 | 01904 |
333.91 | 01907 |
333.96 | 01909 |
333.15 | 01912 |
333.94 | 01913 |
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. Exemple : you want to simulate the return code 01208 (lost card) : in the payment for you will enter 497010346 9 01208 2. The last digit was determined using Luhn key : enter the number of digits of the card number you are using (1) then enter your card number minus the last digit (2), as shown below. The last digit will be displayed (3) Example: 497010346 9 01108 4 This operating mode is valid for the moment only for "01XXX" and CB, VISA, MC cards. The most used codes work: 01119, 01116, 01100, 01108, 01208, ... Payline does not yet simulate all return codes, such as 01197 and 01198. Note that this simulation method takes over the amount simulation described above. The merchant is therefore able to manage card numbers.Simulate a return code by card number