nrbsolution/nagad_payment_gateway
Composer 安装命令:
composer require nrbsolution/nagad_payment_gateway
包简介
Laravel nagad payment package
README 文档
README
Nagad is a payment gateway service provided by the Bangladesh Post Office. It enables merchants to accept online payments from customers in a secure and convenient manner. Nagad offers a range of features, including the ability to receive payments 24/7, real-time payment tracking, and support for multiple payment methods such as mobile banking . With Nagad, merchants can easily manage their online transactions and grow their business.
Installation
Run the command below to install via Composer
composer require nrbsolution/nagad_payment_gateway
Getting Started
Nagad Payment Gateway requires change to your composer.json file
"minimum-stability": "stable",
to
"minimum-stability": "dev",
Nagad Payment Gateway requires add to your env file
NAGAD_SANDBOX=true // true only sandbox testing purpose or main api work only NAGAD_SANDBOX=false NAGAD_MERCHANT_ID= //Your NAGAD_MERCHANT_ID NAGAD_MERCHANT_NUMBER= // Your NAGAD_MERCHANT_NUMBER NAGAD_PUBLIC_KEY= // Your NAGAD_PUBLIC_KEY NAGAD_PRIVATE_KEY= // Your NAGAD_PRIVATE_KEY NAGAD_ORDER_ID_PREFIX= // You can change your order id prefix NAGAD_LOGO=// Your logo url // if you controls the response type callback //You need change to your config/nagad_payment_gateway.php file // Supported: "json", "html", "response_type" => "html" // You need to publish this package php artisan vendor:publish --provider="App\Providers\NagadPaymentGatewaySerivceProvider"
Instructions for usegs
Route: http://{Your Host address}/nagad/{reference_id}/{amount} // Example: http://127.0.0.1:8000/nagad/pid_234234234/3000
License
Released under the MIT License attached with this code.
统计信息
- 总下载量: 40
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-02-02