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, in minutes, before the decision is made of {status} * Must be in two digit number format in the range 00-99. Note: Only works for US and UK.

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, Belgium, United Kingdom, United States of America, Spain, Australia, Italy

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
This section only applies to the regions:
Spain, Italy

Test ID Card

You can test the ID card by uploading the following image twice.

Test ID CardTest ID Card

End of regional section

Test Phone OTP (One Time Password)

In order to simulate/test the Phone OTP flow from end user perspective, use in the loaded Klarna widget, any valid phone number, for example +491755555555. Enter any 6 digit number except 999999 for OTP. Using 999999 will cause the flow to fail.

Test Phone OTP in Playground with successTest Phone OTP in Playground with success

Test Phone OTP in Playground with failureTest Phone OTP in Playground with failure