This package is abandoned and no longer maintained. The author suggests using the klarna/kco_rest package instead.

Wrapper for the Klarna Checkout API

v4.0.0 2015-06-11 12:26 UTC


Packagist Version Build Status Coverage Status

Deprecation notice

This repo has been marked as deprecated. The SDK is not longer supported. Please use https://github.com/klarna/kco_rest_php SDK instead.

About Klarna

Klarna was founded in Stockholm in 2005 with the idea of providing a zero-friction online payment solution that would allow consumers and merchants to interact with each other as safely and simply as possible. We do this by letting the consumer receive the goods first and pay afterwards, while we assume the credit and fraud risks for the merchants. Today, Klarna is one of Europe's fastest growing companies. In just 8 years, we've grown to 800 employees operating in 7 European countries with over 8 million consumers. But we are not satisfied with that. Our goal is to become market leaders within invoice-based payments worldwide and change the way the world shops online.

Klarna Checkout is a revolutionary new payment solution that is changing the way people shop online. First, consumers verify their purchase with a minimal amount of information through intelligent identification, securing your order immediately, and then complete their payment afterwards – separating buying from paying and dramatically increasing conversion. Klarna Checkout also allows merchants to offer all payment methods through one supplier, minimizing administration, costs and integration time.


Documentation and more examples can be found at developers.klarna.com.

How to contribute

At Klarna, we strive toward achieving the highest possible quality for our products. Therefore, we require you to follow these guidelines if you wish to contribute.

To contribute, the following criteria needs to be fulfilled:

  • Description regarding what has been changed and why
  • Pull requests should implement a boxed change
  • All code and documentation must follow the PEAR coding standards
  • All classes must follow the PSR-0 standard
  • New features and bug fixes must have accompanying unit tests:
    • Positive tests
    • Negative tests
    • Boundary tests (if possible)
    • No less than 90% decision coverage
  • All unit tests should pass

Questions and feedback

If you have any questions concerning this product or the implementation, please contact integration@klarna.com.


  • David Keijser
  • Rickard Dybeck
  • Majid Garmaroudi
  • Magnus Nordlander
  • Christer Gustavsson
  • Fredrik Liljegren
  • Jan Kohlhof
  • Maksim Kotlyar
  • Matthias Feist


The Klarna Checkout PHP library is released under Apache License, Version 2.0