sayeed/payment-by-sslcommerz
最新稳定版本:1.1.1
Composer 安装命令:
composer require sayeed/payment-by-sslcommerz
包简介
Payment by SSL Commerz
README 文档
README
Made by Sayeed
Integration
Run below command for installing the package
Step 1
composer require sayeed/payment-by-sslcommerz
Step 2
php artisan migrate
Step 3
Put below information in .env file
IS_LOCALHOST=true(for local environment TRUE other then FALSE)SSLCZ_TESTMODE=true(for test environment TRUE and for LIVE FALSE)SSLCZ_STORE_ID=<STORE_ID>SSLCZ_STORE_PASSWORD=<STORE_PASSWORD>SSLCZ_SUCCESS_URL=/success_paymentSSLCZ_FAILED_URL=/failed_paymentSSLCZ_CANCEL_URL=/cancel_payment
php artisan config:clear
Step 4 (Uses)
Submit your request to /pay route with params:
- amount
- customer_name
- customer_email
- customer_mobile
- product_name
- customer_address [optional]
- customer_country [optional]
[Custom value on your requirement]
- value_a
- value_b
- value_c
- value_d
Step 5 (Uses)
After successful request you will get a base64 encoded data with status and message, which is shown as:
{"status":"completed", "transaction_id":"63jk232h323d", "message":"Transaction is successfully Completed"}
Then you can get full response from sslcommerz_orders table by using transaction_id
统计信息
- 总下载量: 90
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-10-08