Arborescence des pages

Vous regardez une version antérieure (v. /display/DT/Return+Codes+-+Simulator) de cette page.

afficher les différences afficher l'historique de la page

« Afficher la version précédente Vous regardez la version actuelle de cette page. (v. 16) afficher la version suivante »

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.

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 sendReturn 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

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.1601131

333.94

01913



Plus d'information sur les types (shortmessage) et les descriptions (longmessage) consulter la page Return codes - Payline Back (01)


Simulate a return code by card number

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 01208 (lost card), in the payment form you will enter 497010346 9 01208 2.

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, 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.

  • Aucune étiquette