paymob/laravel-package
最新稳定版本:1.0.0
Composer 安装命令:
composer require paymob/laravel-package
包简介
Paymob Payment for Laravel.
README 文档
README
Installation
- Install the Paymob Laravel Package via paymob/laravel-package
composer require paymob/laravel-package
- Publish the Paymob Service Provider using the following command.
php artisan vendor:publish --provider="Paymob\LaravelPackage\PaymobServiceProvider" --tag="paymob"
- Customize the process and callback actions that exist in app/Http/Controllers/PaymobController.php file as per your needs.
Configuration
Paymob Account
- Login to the Paymob account → Setting in the left menu.
- Get the Secret, public, API keys, HMAC and Payment Methods IDs (integration IDs).
Merchant Configurations
- Edit the config/paymob.php file and paste each key in its place.
- Please ensure adding the integration IDs separated by comma ,. These IDs will be shown in the Paymob payment page.
- Copy integration callback URL that exists in config/paymob.php file, replace only the {YourWebsiteURL} with your site domain. Then, paste it into each payment integration/method in Paymob account.
- Below URL is considered as your website payment process for Paymob Payment. Just replace the
{YourWebsiteURL}with the actual domain.
统计信息
- 总下载量: 280
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0-only
- 更新时间: 2024-05-14