raad/payment-gateway
最新稳定版本:v0.1
Composer 安装命令:
composer require raad/payment-gateway
包简介
it is a test payment gateway
README 文档
README
aamarPay payment gateway package
Install it using this command -
composer require aamarpay/payment-gateway
add providers and aliases in your project config\app.php -
'providers' => [
Aamarpay\PaymentGateway\Providers\formProvider::class,
],
'aliases' => Facade::defaultAliases()->merge([
'aamarpay'=> Aamarpay\PaymentGateway\Providers\formProvider::class,
])->toArray(),
Create a form and hit the pay route it will redirect you to the Payment Gateway
Mandatory input field name ->
- cus_name,
- cus_email,
- cus_phone,
- currency ,
- amount ,
- store_id(Provided by aamarpay) ,
- signature_key(Provided by aamarpay)
Make 3 routes for successful payment,failed paymnet and canceled case in your project & named them 'success','fail','cancel'
declare this routes in App\http\Middleware\VerifyCsrfToken file.
统计信息
- 总下载量: 6
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-03-27