一,下载微信支付V3插件。

       下载地址:https://pan.baidu.com/s/1XP0W-R3GpgrLBxMMNvCcBQ点击打开链接

       密码 :dquy

二,部署代码

       1,解压下载下来的插件,打开插件mobile/payment/language/zh_cn, 复制 wxpay.php 文件

            到你的项目mobile/plugins/payment/language/zh_cn下;打开插件mobile/payment,复制 

            wxpay.php 文件到你的项目mobile/plugins/payment下;打开插件mobile/,复制 respondwx.php

            文件到你的项目mobile下;

            图解:

           ecshop/ectouch JSAPI微信支付V3插件安装

       2,打开你的项目/mobile/include/apps/default/controller/CommonController.class.php,约在88行

            左右 define('SESS_ID', self::$sess->get_session_id()); 之后插入以下代码,注意:修改之前请注意备份

           ecshop/ectouch JSAPI微信支付V3插件安装

        下载下来的插件mobile/CommonController.class.php里的文件可以参考

三,前往微信公众平台设置获取微信支付所需要参数

四,安装

    1,登入网站手机端后台(一般为http://您的域名/mobile/admin/),在支付方式中找到微信支付并安装

    2,安装完成后点击编辑,填上所需要填的选项确定提交,完成后就可以测试支付了。


相关文章:

  • 2022-01-01
  • 2021-10-05
  • 2021-04-24
  • 2021-09-03
  • 2021-05-24
  • 2021-10-11
  • 2021-08-19
  • 2022-12-23
猜你喜欢
  • 2021-12-09
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-02-08
  • 2021-09-28
  • 2021-08-02
相关资源
相似解决方案