ponchopay/pp-php
最新稳定版本:1.3.0
Composer 安装命令:
composer require ponchopay/pp-php
包简介
Tools to integrate PonchoPay on PHP
README 文档
README
Tools to integrate PonchoPay on PHP
Installation
Install it from packagist:
composer require ponchopay/pp-php
Usage
This package declares the following functions:
- createToken: This function allows the creation of tokens for the initialisation endpoints.
- createJWT: This function allows the creation of JWTs for the payment manipulation endpoints.
And the Client class which provides the following methods:
- initiatePayment: This method allows to initialise a payment in PonchoPay.
- initiateSubscription: This method allows to initialise a subscription in PonchoPay.
- updatePaymentMethod: This method allows to change the Payment Method properties.
- refundPaymentMethod: This method allows to fully or partially refund a Payment Method.
- cancelPayment: This method allows to cancel a Payment.
- cancelRecursion: This method allows to cancel a Recurring Payment.
Development
Linting and formatting
To automatically fix linting and formatting errors, run
composer exec php-cs-fixer fix .
Testing
To ensure the project is bug-free, run
composer exec phpunit tests/
统计信息
- 总下载量: 4.35k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-09-15