微信支付插件
微信支付插件

微信支付插件

Free

微信支付插件

Installation with fskey
Installation with Command

微信支付插件

命令字 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

Wallet

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

1.1.3 05/06/2024 11:41

修复清理缓存的问题

1.1.2 05/01/2024 05:03

兼容3.1.1

1.1.1 04/28/2024 08:34

版本号同步

1.1.0 04/24/2024 11:00

兼容3.0.0

1.0.9 11/04/2023 22:54

修正充值问题和一些BUG

1.0.7 10/12/2023 12:09

fix 一处报错

1.0.6 10/09/2023 09:51

兼容 2.19.0

1.0.5 09/06/2023 09:55

大幅度整理代码 修正若干问题 兼容小程序 增加2个命令字 makeOrder 创建订单 callbackResponse 查询回调

1.0.4 08/20/2023 19:54

更换CDN JS加速地址

1.0.3 08/02/2023 23:08

fix 一些问题 add 开始兼容小程序

1.0.2 07/04/2023 17:09

同步版本号

1.0.1 06/24/2023 10:00

兼容 2.16.0 修改

1.0.0 06/19/2023 23:28

测试版

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