Download the PHP package zoujingli/think-plugs-payment without Composer
On this page you can find all versions of the php package zoujingli/think-plugs-payment. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download zoujingli/think-plugs-payment
More information about zoujingli/think-plugs-payment
Files in zoujingli/think-plugs-payment
Download zoujingli/think-plugs-payment
More information about zoujingli/think-plugs-payment
Files in zoujingli/think-plugs-payment
Vendor zoujingli
Package think-plugs-payment
Short Description Payment Plugin for ThinkAdmin
License
Homepage https://thinkadmin.top
Package think-plugs-payment
Short Description Payment Plugin for ThinkAdmin
License
Homepage https://thinkadmin.top
Please rate this library. Is it a good library?
Informations about the package think-plugs-payment
ThinkPlugsPayment for ThinkAdmin
多端支付中心,此插件为会员尊享插件,未授权不可商用。
支付类型主要定义为两种类型,分别为:线上支付和线下支付。
- 线下支付包含:账户余额支付、账户积分抵扣。
- 线上支付包含:各种类型的微信支付、各种类型的支付宝支付、大额凭证支付。
其中 账户余额支付 与 账户积分抵扣 默认支持,由业务系统自行控制是否向用户开发,支付优先级为:积分 > 余额 > 支付。 如果需要彻底关闭 积分抵扣 及 余额支付,需要在在支付配置处取消对应支付方式选项。
目前同一业务订单支持混合支付,由业务系统负责传入对应订单需支付总金额以及此次支付金额。 通过已完成的支付总额来判断该业务订单是否已经支付完成,同时会触发全局支付事件,可在任意初始化文件中通过监听支付事件进行订单状态刷新处理。
TODO: 子支付单后面会支持独立退款操作,目前已经支持积分抵扣、余额支付、凭证支付、微信支付退款操作。
开放接口
现有的插件接口文档: https://documenter.getpostman.com/view/4518676/2s93eeRpDr
支付事件
PluginAccountBind
注册用户绑定事件,回调参数function (array $data);
PluginPaymentAudit
注册支付审核事件,回调参数function (PluginPaymentRecord $payment);
PluginPaymentRefuse
注册支付拒审事件,回调参数function (PluginPaymentRecord $payment);
PluginPaymentSuccess
注册支付完成事件,回调参数function (PluginPaymentRecord $payment);
PluginPaymentCancel
注册支付取消事件,回调参数function (PluginPaymentRecord $payment);
PluginPaymentConfirm
注册订单确认事件,回调参数function (array $data);
安装插件
卸载插件
插件数据
本插件涉及数据表有:
- 插件-支付-地址:
plugin_payment_address
- 插件-支付-余额:
plugin_payment_balance
- 插件-支付-积分:
plugin_payment_integral
- 插件-支付-配置:
plugin_payment_config
- 插件-支付-行为:
plugin_payment_record
版权说明
ThinkPlugsPayment 为 ThinkAdmin 会员插件,未授权不可商用,了解商用授权请阅读 《会员尊享介绍》。
All versions of think-plugs-payment with dependencies
PHP Build Version
Package Version
Requires
php Version
>7.1
ext-json Version *
zoujingli/think-plugs-admin Version ^1.0|@dev
zoujingli/think-plugs-account Version ^1.0|@dev
ext-json Version *
zoujingli/think-plugs-admin Version ^1.0|@dev
zoujingli/think-plugs-account Version ^1.0|@dev
The package zoujingli/think-plugs-payment contains the following files
Loading the files please wait ....