allandereal/pesapal-laravel
Composer 安装命令:
composer create-project allandereal/pesapal-laravel
包简介
PesaPal payment driver for Laravel.
关键字:
README 文档
README
##PesaPal Laravel package
Minimum Requirements
- Laravel
11.x - A PesaPal account with consumer key and secret
Installation
Require the composer package
composer require allandereal/pesapal-laravel
Publish the configuration
This will publish the configuration under config/pesapal.php.
php artisan vendor:publish --tag=pesapal.config
Publish the views (optional)
PesaPal comes with some helper components for you to use on your checkout, if you intend to edit the views they provide, you can publish them.
php artisan vendor:publish --tag=pesapal.components
Add your PesaPal credentials
Make sure you have the PesaPal credentials set in config/pesapal.php
'base_url' => env('PESAPAL_BASE_URL'), 'consumer_key' => env('PESAPAL_CONSUMER_KEY'), 'consumer_secret' => env('PESAPAL_CONSUMER_SECRET'), 'webhook_path' => env('PESAPAL_WEBHOOK_URL'),
Keys can be found in your PesaPal account https://developers.pesapal.com/
Contributing
Contributions are welcome, if you are thinking of adding a feature, please submit an issue first so we can determine whether it should be included.
统计信息
- 总下载量: 15
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-11-04