Testing

The shop's integration with DIBS Payment Window can be tested by utilizing our test environment. By using this, various payment scenarios can be tested without having to carry out live payments. This means that the integration against the DIBS Payment Window can be done before signing an agreement with an acquirer

To use the test environment, the test parameter must be parsed to the DIBS Payment Window  with the value "1" along with the other parameters, such as merchant, currency and order id. If the value differs from "1" an error will occur.

<input type="hidden" name="test" value="1">

To use the LIVE environment, remove the test parameter sent to DIBS. By using different test information while sending this parameter, different types and outcomes of payments can be tested.

Please be aware that as a default setting, the test environment is enabled on new accounts, and it will be disabled when the account is set live. If you want to keep testing, you should contact our support department.

When testing, you can use the test information found in our Toolbox section

Invoice test information

The following informations can be used to test your integration towards the invoice solution.

Swedish market

You can conduct tests of an invoice transaction using the following test data for the Swedish market.

Social security number – 8301153550, 6604257292, 6112030215, 6608152994, 8312106639, 6804289509, 8506306607

Postal code - 12345

Norwegian market

You can conduct tests of an invoice transaction using the following test data for the Norwegian market.

Social security number – 18106500157

Postal code - 0563

Card testing information

The card numbers for testing, are composed by a prefix and a card number, which should be added together. If the prefix plus the cardnumber are longer then 16 charecters, the the zeroes in the card number should be removed.

prefix = 4711
card number = 1000000000000
prefix + card number = 4711100000000000

Please compose your card number for testing from the following lists

Prefix list
Card name Prefix Card type
Eurocard/Mastercard 5100 MC
VISA 4711 VISA
VISA Electron 417500 ELEC
Card number list
Card number Expiry Date CVC Result
Authentications

100000000000

06/24 684 APPROVED
000000000000 06/24 684 Rejected by acquirer
000000000001 06/24 684 Communication problems
000000000002 06/24 684 Error at DIBS
000000000003 06/24 684 Error at acquirer
000000000004 06/24 684 Card expired
Captures
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 06/24 684 Incorrect status in DIBS

 

Do you have question or need help?
Follow us
DIBS Payment Services
Stockholm +46 (0)8-527 525 00
Göteborg +46 031-600 800
København +45 7020 3077
Oslo +47 21 55 44 00