PHP library for Postpay API.
The recommended way to install postpay-php is through Composer:
composer require postpay/postpay-php
After installing, you need to require Composer's autoloader:
require 'vendor/autoload.php';
All configs are passed around as a single variable config
:
$postpay = new \Postpay\Postpay([
'merchant_id' => 'id_ ...',
'secret_key' => 'sk_live_ ...',
]);
Fantastic documentation is available at https://php.postpay.io.