Giter VIP home page Giter VIP logo

kco_rest_dotnet's Introduction

Official Klarna .NET Core SDK

NuGet Version Build Status Coverage Status

Shop now. Pay later.

Shop at your favorite stores today and experience the freedom to pay later with Klarna.

Get started

The Klarna .NET Core SDK covers all of Klarna APIs under: https://developers.klarna.com/api/

Prerequisites

API Credentials

Before getting a production account you can get a playground one. Register here to be able to test your SDK integration before go live:

Installation and Usage

Examples

Example files can be found in the examples project.

Sample Apps

Also you can check for the Sample projects:

  • Sample Simple projects for demonstrating a backend API call
  • WebApp MVC MVC project for demonstrating Klarna Checkout and Klarna Payment
  • WebForms WebForms project with Klarna Checkout integrated

Installation with Package Manager

To install the Klarna .NET Core SDK, run the following command in the Package Manager Console:

PM> Install-Package Klarna.Rest.Core -Version x.y.z

.NET CLI

dotnet add package Klarna.Rest.Core --version x.y.z

Paket CLI

paket add Klarna.Rest.Core --version x.y.z

Usage

Check the https://www.nuget.org/packages/Klarna.Rest.Core/ to get information about the latest version.

Documentation

Klarna API documentation: https://developers.klarna.com/api/
SDK References: https://klarna.github.io/kco_rest_dotnet/

Example files can be found in the Klarna.Rest/Klarna.Rest.Core.Examples/ project.
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 create an issue: https://github.com/klarna/kco_rest_dotnet/issues/new/choose

or use the Contact Us form at https://klarna.com website.

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 need to be fulfilled:

  • Provide a description of what has been changed and why
  • Pull requests should implement a boxed change
  • All code and documentation must follow the style specified by the StyleCop 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

License

The Klarna .NET Core SDK is licensed under Apache License, Version 2.0

kco_rest_dotnet's People

Contributors

alexions avatar joakimlofgren avatar freethan avatar samuelotter avatar martingust avatar johnkors avatar matthiasfeist avatar mnording avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.