simplecms/payment is a Laravel package for 支付模块.
It currently has 0 GitHub stars and 8 downloads on Packagist (latest version 1.0.1).
Install it with composer require simplecms/payment.
Discover more Laravel packages by simplecms
or browse all Laravel packages to compare alternatives.
Last updated
一个基于国家地理的地理信息表
composer require simplecms/payment
。。。。。
use SimpleCMS\Payment\Models\Payment;
//创建支付
Event::listen('plugin.payment.created',function(Payment $payment){
//Todo...
});
//待支付
Event::listen('plugin.payment.pending',function(Payment $payment){
//Todo...
});
//支付成功
Event::listen('plugin.payment.paid',function(Payment $payment){
//Todo...
});
//退款申请中
Event::listen('plugin.payment.refunding',function(Payment $payment){
//Todo...
});
//退款成功
Event::listen('plugin.payment.refunded',function(Payment $payment){
//Todo...
});
Event::listen('plugin.payment.close',function(Payment $payment){
//Todo...
});
//订单关闭
Event::listen('plugin.payment.pending',function(Payment $payment){
//Todo...
});
请先加载simplecms/framework
use SimpleCMS\Payment\Facades\Payment; #支付
更多操作参考IDE提示