1. Go to this page and download the library: Download ineffablesam/indipay-2 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/ */
ineffablesam / indipay-2 example snippets
/* All Required Parameters by your Gateway will differ from gateway to gateway refer the gate manual */
$parameters = [
'transaction_no' => '1233221223322',
'amount' => '1200.00',
'name' => 'Jon Doe',
'email' => '[email protected]'
];
$order = Indipay::prepare($parameters);
return Indipay::process($order);