/kco_rest_php

PHP library for Klarna Checkout v3 and Order Management APIs

Primary LanguagePHP

Klarna Checkout REST PHP SDK

Packagist Version Build Status Coverage Status

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.

Get started

Prerequisites

  • PHP 5.4 or above
  • API credentials

Usage

Example files can be found in the docs/ directory.

Documentation

Additional documentation can be found at https://developers.klarna.com.

Questions and feedback

If you have any questions concerning this product or the implementation, please contact integration@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 PSR-2 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 tests should pass

Acknowledgements

License

Klarna Checkout REST PHP SDK is licensed under Apache License, Version 2.0