Download the PHP package dedemao/laravel-admin-payjs without Composer
On this page you can find all versions of the php package dedemao/laravel-admin-payjs. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download dedemao/laravel-admin-payjs
More information about dedemao/laravel-admin-payjs
Files in dedemao/laravel-admin-payjs
Package laravel-admin-payjs
Short Description 适用于laravel-admin的payjs支付插件
License MIT
Homepage https://github.com/dedemao/laravel-admin-payjs
Informations about the package laravel-admin-payjs
适用于laravel admin的payjs支付插件
前提
已安装好laravel及laravel admin
安装
` 执行以上命令后,将自动创建数据库表、自动生成后台相关菜单等,登录后台填写相关配置信息即可使用。
卸载
`
使用
如何支付
指定订单金额: http://yourname/pay/index?total_fee=0.01
指定订单号: http://yourname/pay/index?total_fee=0.01&out_trade_no=123456
指定订单标题: http://yourname/pay/index?total_fee=0.01&subject=测试
指定支付通道: http://yourname/pay/index?total_fee=0.01&pay_channel=weixin
指定使用JSAPI支付 http://yourname/pay/index?total_fee=0.01&pay_mode=jsapi
指定使用收银台支付 http://yourname/pay/index?total_fee=0.01&pay_mode=cashier
全都指定: http://yourname/index?out_trade_no=123456&total_fee=0.01&subject=测试&pay_channel=weixin
异步通知
异步通知在pay/notify中
退款
退款请参考OrderService中的refund方法
演示截图
支付设置
订单列表