With the help of our test system, virtually any situation imaginable can be tested prior to going online.
To place DIBS in the test mode, two things must be carried out first:
Once this variable is declared, the transaction will not be sent to the acquirer, but will instead be handled by the DIBS test system. When a transaction is carried out, the test transaction can be seen in DIBS Administration, where the transaction can also be completed. Test transactions can be distinguished from actual transactions, since test transactions are shown in italics in the administration and also feature the addition of (test) next to the indication of the card type.
If you have integrated the capture functionality with the help of DIBS-API, it is also possible to test this communication.
The module is set up so that certain card numbers give certain replies. If a card number, contrary to those described below, is inadvertently sent, the reply will be “Rejected by acquirer”. Examples of other error codes are:
Below is a list of card numbers relating to various card types which return different error types (or are approved) so you can test your own system’s reactions to these errors.
Test card numbers are composed of a prefix and a postfix. The prefix indicates the card type and the postfix indicates the desired result. I.e.:
Test card number = prefix + postfix
Example of a 4-numeral prefix:
You wish to test the authorization of a Dankort, and to have it approved:
Prefix for Dankort: 5019
Code for approval: 100000000000
Test-Dankort with an approved authorization: 5019100000000000
Card | Prefix | Card type | Test cards which will be approved |
Dankort | 5019 | DK | 5019100000000000 |
VISA/Dankort | 4571 | V-DK | 4571100000000000 |
VISA (SE) | 402005 | VISA(SE) | 4020051000000000 |
VISA | 4711 | VISA | 4711100000000000 |
Eurocard/Mastercard (DK) | 541303 | MC(DK) | 5413031000000000 |
Eurocard/Mastercard (SE) | 512586 | MC(SE) | 5125861000000000 |
Eurocard/Mastercard | 5100 | MC | 5100100000000000 |
Diners Club (DK) *) | 361480 | DIN(DK) | 36148010000000 |
Diners Club *) | 3040 | DIN | 30401000000000 |
American Express (DK) | 3747 | AMEX(DK) | 3747100000000000 |
American Express | 3700 | AMEX | 3700100000000000 |
Maestro (DK) | 676927 | MTRO(DK) | 6769271000000000 |
Maestro | 5020 | MTRO | 5020100000000000 |
VISA Electron | 417500 | ELEC | 4175001000000000 |
JCB | 3528 | JCB | 3528100000000000 |
Forbrugsforeningen | 600722 | FFK | 6007221000000000 |
*) Diners Club consists of only 14 digits minus the two middle zeros.
Card number | Expiry date | CVC | Reason | Result |
100000000000 | 06/24 | 684 | Approved | |
000000000000 | 06/24 | 684 | 0 | Rejected by acquirer |
000000000001 | 06/24 | 684 | 1 | Communication problems |
000000000002 | 06/24 | 684 | 2 | Error at DIBS |
000000000003 | 06/24 | 684 | 3 | Error at acquirer |
000000000004 | 06/24 | 684 | 4 | Card expired |
*) Card Verification Code
Card number | Expiry date | CVC | Reason |
100000000000 | 06/24 | 684 | Approved |
100000000001 | 06/24 | 684 | Rejected by acquirer |
100000000002 | 06/24 | 684 | Rejected by acquirer |
100000000003 | 06/24 | 684 | Card expired |
100000000004 | 06/24 | 684 | Rejected by acquirer |
100000000005 | 06/24 | 684 | Authorization outdated |
100000000006 | Incorrect status in DIBS |