1 Star 0 Fork 6

15173979285 / wx_pay

forked from 子弹兄 / wx_pay 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

#微信公众号支付

1、文件结构

├─Application
│  ├─Api
│  │  ├─Controller
│  │  │  │─WeixinpayController.class.php    微信公众号支付
│  │  │  │  │─public function notify()      notify_url接收页面
│  │  │  │  │─public function pay()         公众号支付
│  ├─Common
│  │  ├─Conf
│  │  │  │  │─config.php    配置文件
│  │  ├─Common
│  │  │  │─function.php
│  │  │  │  │─function curl_get_contents($url)  使用curl获取远程数据
│  ├─Home
│  │  ├─Controller
│  │  │  │─IndexController.class.php    微信公众号支付
│  │  │  │  │─public function weixinpay_js      支付跳转
├─ThinkPHP
│  ├─Library
│  │  ├─Vendor
│  │  │  │─Weixinpay
│  │  │  │  │─Weixinpay.php 微信支付类
├─tpl
│  ├─Api
│  │  ├─Weixinpay
│  │  │  │─pay.html  支付页面
├─.htaccess 伪静态设置
├─MP_verify_EOH4jxCPHol6JuYL.txt    微信支付根目录需要安装的文件(根据微信支付提示来设置)

2、说明

微信支付是不需要证书的,只有退款和红包才会使用证书!

应该使用URL模式的 rewrite ,这一点特别注意!

3、图片

支付授权目录

微信配置-支付授权目录

网页授权域名

微信配置-网页授权域名

微信公众号支付链接

微信使用-微信公众号支付链接

微信公众号支付界面

微信使用-微信公众号支付界面

空文件

简介

微信公众号支付,基于ThinkPHP3.2.3来制作的! 展开 收起
PHP
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
PHP
1
https://gitee.com/nysllnjb/wx_pay.git
git@gitee.com:nysllnjb/wx_pay.git
nysllnjb
wx_pay
wx_pay
master

搜索帮助