allandereal/pesapal-laravel 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-11-04