Download the PHP package rajib/custompaytm without Composer
On this page you can find all versions of the php package rajib/custompaytm. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package custompaytm
This is simple custom php PAYTM gatewaye integration.
Install
composer require rajib/custompaytm
uses
require_once DIR . '/vendor/autoload.php'; use rajib\PayTM\PayTM;
Create instant
$config['environment']='local'; // for pruduction 'production'
$config['merchant_id']='your merchant id';
$config['merchant_key']='your merchant key';
$config['merchant_website']='merchant website';
$config['industry_type']='type';
$config['chanel']='chanel';
$paytm = new PayTM($config);
For sending payment request
$data=[
'order_id'=>'order_id', // Order id must be unique
'user_id'=>'user_id',
'amount'=>10.00,
'call_back_url'=>'' // where recieved response
]; $paytm->pay($data);
Recieved Responce In call back
$config['environment']='local'; // for pruduction 'production'
$config['merchant_id']='your merchant id';
$config['merchant_key']='your merchant key';
$config['merchant_website']='merchant website';
$config['industry_type']='type';
$config['chanel']='chanel';
$paytm = new PayTM($config);
$responce = $paytm->recived($_POST);All versions of custompaytm with dependencies
PHP Build Version
Package Version
No informations.
The package rajib/custompaytm contains the following files
Loading the files please wait ...