PHP code example of skuola / pagonline
1. Go to this page and download the library: Download skuola/pagonline 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/ */
skuola / pagonline example snippets
ify transaction
use PagOnline\init\IgfsCgVerify;
$verify = new IgfsCgVerify();
$verify->serverURL = "server url";
$verify->tid = "terminal id";
$verify->kSig = "signature";
$verify->timeout = "timeout";
$verify->shopID = "ShopID";
$verify->paymentID = "PaymentID";
var_dump("Result", $verify->execute());