[英]How to integrate ccavenue in laravel
I have merchant_id, access key and working key. 我有merchant_id,访问密钥和工作密钥。 I have downloaded integration kit which include
我已经下载了集成套件,其中包括
ccavRequestHandler.php, ccavResponseHandler.php, Crypto.php
ccavRequestHandler.php,ccavResponseHandler.php,Crypto.php
How to use those file and all those keys in laravel? 如何在laravel中使用那些文件和所有那些键?
I have created checkout page in that user will enter their own information as well as bank information. 我已经创建了结帐页面,该用户将输入自己的信息以及银行信息。
Please help me. 请帮我。
Try this package https://github.com/softon/indipay This package support ccavenue . 试试这个包https://github.com/softon/indipay这个包支持ccavenue。
After install this via composer , you have to enter these in config/indipay.php 通过composer安装后,您必须在config / indipay.php中输入它们
'merchantId' => env('INDIPAY_MERCHANT_ID', ''),
'accessCode' => env('INDIPAY_ACCESS_CODE', ''),
'workingKey' => env('INDIPAY_WORKING_KEY', ''),
You can redirect to user to ccavenue website , 您可以将用户重定向到ccavenue网站,
$parameters = [
'tid' => '1',
'order_id' =>'123',
'amount' => '1233',
];
$order = Indipay::prepare($parameters);
return Indipay::process($order);
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.