PHP code example of dbhosale / indipay
1. Go to this page and download the library: Download dbhosale/indipay 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/ */
dbhosale / indipay example snippets
/* All Required Parameters by your Gateway */
$parameters = [
'tid' => '1233221223322',
'order_id' => '1232212',
'amount' => '1200.00',
];
$order = Indipay::prepare($parameters);
return Indipay::process($order);
/* All Required Parameters by your Gateway */
$parameters = [
'tid' => '1233221223322',
'order_id' => '1232212',
'amount' => '1200.00',
];
// gateway = CCAvenue / PayUMoney / EBS / Citrus / InstaMojo
$order = Indipay::gateway('NameOfGateway')->prepare($parameters);
return Indipay::process($order);