1. Go to this page and download the library: Download croatiangrn/pikpay-php library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
croatiangrn / pikpay-php example snippets
bash
$ composer
php
$gateway = new Gateway(getenv('ENDPOINT'), getenv('API_KEY'), getenv('SECRET_KEY'));
php
$response = $gateway->authorize($data);
if ($response->isSuccessfull()) {
//handle success case
} else {
//display error
}