Download the PHP package catpkt/thirdpay-receiver without Composer
On this page you can find all versions of the php package catpkt/thirdpay-receiver. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download catpkt/thirdpay-receiver
More information about catpkt/thirdpay-receiver
Files in catpkt/thirdpay-receiver
Download catpkt/thirdpay-receiver
More information about catpkt/thirdpay-receiver
Files in catpkt/thirdpay-receiver
Vendor catpkt
Package thirdpay-receiver
Short Description Required by user applications of catpkt/thirdpay-provider
License MIT
Package thirdpay-receiver
Short Description Required by user applications of catpkt/thirdpay-provider
License MIT
Please rate this library. Is it a good library?
Informations about the package thirdpay-receiver
第三方支付使用者
概述
配合 catpkt/thirdpay-provider 实现通用第三方支付集成。
- catpkt/thirdpay-provider 用于提供统一接口的第三方支付微服务
- catpkt/thirdpay-receiver 用于调用这些微服务
使用
- 在类中引入trait
\CatPKT\ThirdPayReceiver\TThirdPayReceiver。 - 实现抽象方法
getEncryptor提供加密器。 - 实现抽象方法
getApiUri, 提供所要调用微服务的接口链接。 - 实现抽象方法
asyncCallback, 实现支付成功后的异步回调。 - 设定路由,将某个目录指向
handle方法,用于接收回调。 - 调用类中的
createPay方法发起支付。
All versions of thirdpay-receiver with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.0.0
catpkt/simple-http-server-lib Version ^0.0.2
fenzland/http Version ^0.1.3
catpkt/simple-http-server-lib Version ^0.0.2
fenzland/http Version ^0.1.3
The package catpkt/thirdpay-receiver contains the following files
Loading the files please wait ...