Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/swedbankpay/swedbank-pay-sdk-php

Swedbank Pay SDK for PHP
https://github.com/swedbankpay/swedbank-pay-sdk-php

api composer ecom ecommerce packagist payment payments php sdk swedbank-pay swedbank-pay-sdk swedbankpay web-api

Last synced: 5 days ago
JSON representation

Swedbank Pay SDK for PHP

Awesome Lists containing this project

README

        

# Swedbank Pay SDK for PHP

![Build status][build-badge]
[![Latest Stable Version][version-badge]][packagist]
[![Total Downloads][downloads-badge]][packagist]
[![Codecov][codecov-badge]][codecov]
[![License][license-badge]][packagist]

[![Swedbank Pay SDK for PHP][og-image]][packagist]

## About

**UNSUPPORTED**: This SDK is at an early stage of development and is not
supported as of yet by Swedbank Pay. It is provided as a convenience to speed
up your development, so please feel free to play around. However, if you need
support, please wait for a future, stable release.

The Swedbank Pay SDK for PHP simplifies integrations against
[Swedbank Pay's API Platform][dev-portal] by providing native PHP interface towards
the REST API.

This SDK includes the following payments options:

* Checkout
* Credit and debit cards (Visa, Mastercard, Visa Electron, Maestro etc).
* Invoice
* Swish
* Vipps
* MobilePay Online
* Trustly

## Documentation

Documentation about Swedbank Pay's API Platform can be found on the
[Swedbank Pay Developer Portal][dev-portal] for now.

## Installation

The recommended way to install the Swedbank Pay SDK for PHP library is with
Composer. You can also download the source code from one of the
[releases here on GitHub][releases] or simply clone this repository.

### Composer

The preferred method is via [Composer][composer]. Follow the
[installation instructions][composer-intro] if you do not already have
composer installed.

Once composer is installed, execute the following command in your project root
to install this SDK:

```sh
composer require swedbank-pay/swedbank-pay-sdk-php
```

## Examples

You can find examples in `/tests` directory or check out [Swedbank Pay Core for WooCommerce][core-library] code.

[build-badge]: https://github.com/SwedbankPay/swedbank-pay-sdk-php/workflows/PHP/badge.svg?branch=master
[dev-portal]: https://developer.swedbankpay.com/
[releases]: https://github.com/SwedbankPay/swedbank-pay-sdk-php/releases
[composer]: https://getcomposer.org
[composer-intro]: https://getcomposer.org/doc/00-intro.md
[version-badge]: https://poser.pugx.org/swedbank-pay/swedbank-pay-sdk-php/version
[downloads-badge]: https://poser.pugx.org/swedbank-pay/swedbank-pay-sdk-php/downloads
[license-badge]: https://poser.pugx.org/swedbank-pay/swedbank-pay-sdk-php/license
[packagist]: https://packagist.org/packages/swedbank-pay/swedbank-pay-sdk-php
[codecov]: https://codecov.io/gh/SwedbankPay/swedbank-pay-sdk-php
[codecov-badge]: https://codecov.io/gh/SwedbankPay/swedbank-pay-sdk-php/branch/master/graph/badge.svg
[og-image]: https://repository-images.githubusercontent.com/211837579/156c6000-53ed-11ea-8927-782b8067996f
[core-library]: https://github.com/SwedbankPay/swedbank-pay-woocommerce-core