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 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 about Swedbank Pay's API Platform can be found on the Swedbank Pay Developer Portal for now.
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 or simply clone this repository.
The preferred method is via Composer. Follow the installation instructions if you do not already have composer installed.
Once composer is installed, execute the following command in your project root to install this SDK:
composer require swedbank-pay/swedbank-pay-sdk-php
You can find examples in /tests
directory or check out Swedbank Pay Core for WooCommerce code.