微信支付插件
命令字 1.0.5 开始支持
makeOrder 创建订单
callbackResponse 查询回调
$wordBody = [
'payPlatform'=>"mini_program", mini_program / official_account
'type'=>"weixin", // weixin pc h5
'out_trade_no'=>订单号, // 可为空 为空自动生成
'description'=>标题,
'openid'=>connect_account_id,
'money'=>价格,
'user_id'=>user_id,
'ip'=>IP,//可为空 type h5场景必传
];
$res = \FresnsCmdWord::plugin('WxPay')->makeOrder($wordBody);
$wordBody['token'] = $token; //token 上面命令字会返回
$pluginJson = \FresnsCmdWord::plugin('WxPay')->callbackResponse($wordBody);
Categories
Works With
Fresns 3.x
Database
Database Supports
- MySQL/MariaDB
Involved Fresns Data Tables
- configs
- plugins
- accounts
- wallets
- users
About
Version 1.1.3
Released on 05/06/2024 11:41
修复清理缓存的问题
兼容3.1.1
版本号同步
兼容3.0.0
修正充值问题和一些BUG
fix 一处报错
兼容 2.19.0
大幅度整理代码 修正若干问题 兼容小程序 增加2个命令字 makeOrder 创建订单 callbackResponse 查询回调
更换CDN JS加速地址
fix 一些问题 add 开始兼容小程序
同步版本号
兼容 2.16.0 修改
测试版
Fresns Marketplace Disclaimer
The Fresns App Marketplace is a repository of Fresns extensions, aggregating public and private extensions developed on top of the Fresns ecosystem.
The Fresns Marketplace is an open platform and any account registered as a developer can publish apps (certified developer can publish paid apps). As a result, the Fresns App Marketplace is unable to fully monitor applications uploaded to the App Marketplace by third parties and therefore does not guarantee the legitimacy, security, integrity, authenticity or quality of applications. By downloading an application from the Fresns Marketplace, you agree to use your own judgement and assume all risks without relying on the Fresns Marketplace.
Free applications are not explicitly stated and the developer is not obliged to provide technical support, so please install your own test functions.
In any case, Fresns Marketplace reserves the right to discontinue the Application Marketplace service and to take appropriate action in accordance with the law, including but not limited to removal of the application in question, suspension of all or part of the service. Fresns shall not be liable, directly, indirectly or jointly, for any damages that may be caused to you or to third parties.
Fresns