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 numberThe return code is simulated according to the card number. Payline is based on the 10 th digit of the card. If this digit is set to 9, Payline triggers an error code simulation mode and sends the next 5 digits, for example: 01108. 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. : Example: 497010346 9 01108 4 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 , 01208, ... Payline does not yet simulate all return codes, such as 01197 and 01198.
The merchant is therefore able to manage card numbers. |
Extrait | ||||||
---|---|---|---|---|---|---|
| ||||||
|
...