CheckoutFinland / checkout-finland-php-sdk

PHP SDK for using Checkout Finland payment service
https://www.checkout.fi
MIT License
5 stars 8 forks source link
checkout-finland php-sdk

Checkout Finland PHP-SDK

⚠️ DEPRECATED

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

Requirements

PHP

Composer packages

Library packages

Installation

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 contents & descriptions

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

Basic functionalities

Payments and refunds

Creating payment request

Documentation for creating payment requests can be found in Checkout PSP API Checkout PSP API reference.

Creating payment status request

Documentation for creating payment status requests can be found in Checkout PSP API reference

Creating refund request

Documentation for creating refund requests can be found in Checkout PSP API reference

Tokenized credit cards and payments

Creating Add card form request

Documentation for adding tokenized credit card form request can be found in Checkout PSP API reference

Creating Get token request

Documentation for Get token request and response can be found in Checkout PSP API reference

Creating CIT or MIT payment requests

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