Testing Environment

Developer signup, test credentials

In order to try out the smoothest user experience when paying with Klarna, please request a test account by clicking below:



Purchases completed in the test environment are not processed by our production system and will not result in proper invoices or any fees collected on invoices.

Note: You may not transfer any real personal data to us during testing. Depending on which product you have integrated, we offer a few different triggers:

Klarna Checkout Test Triggers

In our playground (test) environment, you can use any valid address to make a test purchase. You can trigger different behaviour depending on your need. The following options are available:

Desired behaviourConsumer email address pattern
Desired behaviour
Only present pre-paid options
Consumer email address pattern
example-email**+red**@example.com

For example, you could use john.doe+red@abcstore.com as the customer’s email address to trigger a checkout that only offers pre-paid payment methods such as card.

Klarna Payments Test Triggers

The default response from our test environment is positive. You can use various email addresses to trigger different (stateless) behaviour depending on your need. The following options are available:

Desired behaviourConsumer email address pattern
Desired behaviour
New sign up
Consumer email address pattern
…“+require_signup@”…
Desired behaviour
Returning customer
Consumer email address pattern
any email
Desired behaviour
Show form: False (only when prescreen is enabled)
Consumer email address pattern
…“+red@"…
Desired behaviour
Approved: False
Consumer email address pattern
…“+denied@"…
Desired behaviour
Pending
Consumer email address pattern
…"+pend-{status}-{time delay}@"… * {status} the expected status after the time delay * Options are: accept or reject * {time delay} the time delay before the decision is made of {status} * Must be in two digit number format in the range 00-99

For example, you could use john.doe+require_signup@abcstore.com as the customer’s email address to trigger Klarna’s new customer sign up dialogue within the widget

Test Direct Debit

In order to simulate/test the direct debit payment flow from end user perspective, use in the loaded Klarna widget, the following sample IBAN: DE11520513735120710131. Any other valid-format IBAN would work as well.

This section only applies to the regions:
Sweden
Use the following Personal Number: 19770111-6050
End of regional section

Test Credit Card

In order to simulate/test the card payment flow from end user perspective, use the following card details in the loaded Klarna widget:

Credit card number: 4111 1111 1111 1111
CVV: 123
Exp: 12/25 (Or any other valid date in the future)

Test Credit Card in Playground flowTest Credit Card in Playground flow

This section only applies to the regions:
Sweden, Germany, Austria, Finland, Netherlands, Switzerland

Test Direct Bank Transfer

In order to simulate/test the direct bank transfer payment flow from end user perspective, look for “Demo Bank” in the loaded Klarna widget.

Test Direct bank transfer in Playground flowTest Direct bank transfer in Playground flow

End of regional section