This SDK has been deprecated.
All of its functionality now exists as the rebranded paytrail/paytrail-php-sdk
.
PHP SDK for using Checkout Finland payment service
- PHP version >= 7.3
- PHPUnit - A programmer-oriented testing framework for running unit tests in PHP.
- Guzzle v6.5.5 - PHP HTTP client for performing HTTP request.
Install with Composer:
composer require checkout-finland/checkout-finland-php-sdk
The package uses PSR-4 autoloader. Activate autoloading by requiring the Composer autoloader:
require 'vendor/autoload.php';
Note the path to the vendor directory is relative to your project.
Folder/File | Content/Description |
---|---|
src/Exception | Exception classes and functions |
src/Interfaces | Interface classes and functions for all the related classes to implement |
src/Model | Model classes and functions |
src/Request | Request classes and functions |
src/Response | Response classes and functions |
src/Util | Utility/trait classes and functions |
src/Client.php | Client class and functions |
lib | Library packages eg. Guzzle |
tests/unit | PHP unit tests |
examples | Examples |
Documentation for creating payment requests can be found in Checkout PSP API Checkout PSP API reference.
Documentation for creating payment status requests can be found in Checkout PSP API reference
Documentation for creating refund requests can be found in Checkout PSP API reference
Documentation for adding tokenized credit card form request can be found in Checkout PSP API reference
Documentation for Get token request and response can be found in Checkout PSP API reference
Documentation for Customer Initiated Transactions (CIT) and Merchant Initiated Transactions (MIT) payment processes using tokenized credit cards can be found in Checkout PSP API reference