微信支付插件
命令字 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);
カテゴリー
と連携
Fresns 3.x
データベース
データベースサポート
- MySQL/MariaDB
関与するFresnsデータテーブル
- configs
- plugins
- accounts
- wallets
- users
約
バージョン 1.2.0
リリース日 2024年10月10日 04:13
修复一些问题 规范订单号存放 目前需要手动吧 account_wallet_logs表的transaction_id 字段类型 改成字符串(varchar)
修复因Fresns 2升3导致的各种BUG
修复 类命令问题 修复 命令字问题
更换JS仓库
修复清理缓存的问题
兼容3.1.1
版本号同步
兼容3.0.0
修正充值问题和一些BUG
fix 一处报错
兼容 2.19.0
大幅度整理代码 修正若干问题 兼容小程序 增加2个命令字 makeOrder 创建订单 callbackResponse 查询回调
更换CDN JS加速地址
fix 一些问题 add 开始兼容小程序
同步版本号
兼容 2.16.0 修改
测试版
Fresnsマーケットプレイス免責事項
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