Content
Sommaire | ||
---|---|---|
|
More informations
Presentation
Payline offers two options :
- simulation of return codes with transaction amounts;
- simulation of return codes with card numbers.
You can use thoses web services with doWebPayment and doAuthorization.
Avertissement |
---|
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 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.54
333.55 | 01117 |
333.56 | 01118 |
333.57 | 01119 |
333.58 | 01120 |
333.61 | 01121 |
333.63 | 01122 |
333.31 | 01199 |
333. |
01200
54 | 01201 |
333.34 | 01202 |
333.38 | 01206 |
333. |
01207
333.41
01208
333.43
01209
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).
Extrait | ||
---|---|---|
Simulate a return code by card numberIf 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 Example : if you want to simulate the return code 01208 (lost card) : 01206 , in the payment for form you will enter 497010346 9 01208 201206 6. 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) Développer | | |
|
Avertissement |
---|
Note that this simulation method takes over the amount simulation described above. |
The merchant is therefore able to manage card numbers.
Extrait | ||||||
---|---|---|---|---|---|---|
| ||||||
|
...