WxpayAPI_php_v3
支付 

所属分类:WEB开发
开发工具:PHP
文件大小:256KB
下载次数:0
上传日期:2021-03-29 11:12:44
上 传 者烟铁u
说明:  微信支付 PHP 实例(包括支付接口调用方法)
(PHP instance of wechat payment (including payment interface call method))

文件列表:
WxpayAPI_php_v3\cert\apiclient_cert.pem (1606, 2015-03-02)
WxpayAPI_php_v3\cert\apiclient_key.pem (1675, 2015-03-02)
WxpayAPI_php_v3\example\assets\js\jquery-1.9.1.min.js (92629, 2016-06-17)
WxpayAPI_php_v3\example\download.php (1594, 2015-04-07)
WxpayAPI_php_v3\example\jsapi.php (4117, 2015-04-21)
WxpayAPI_php_v3\example\log.php (2216, 2015-03-24)
WxpayAPI_php_v3\example\micropay.php (2227, 2015-03-24)
WxpayAPI_php_v3\example\native.php (3754, 2016-06-23)
WxpayAPI_php_v3\example\native_notify.php (2107, 2015-03-25)
WxpayAPI_php_v3\example\notify.php (1367, 2015-03-24)
WxpayAPI_php_v3\example\orderquery.php (1990, 2015-03-24)
WxpayAPI_php_v3\example\orderquery2.php (803, 2016-06-23)
WxpayAPI_php_v3\example\phpqrcode\bindings\tcpdf\qrcode.php (82952, 2010-08-18)
WxpayAPI_php_v3\example\phpqrcode\cache\frame_1.dat (97, 2010-08-18)
WxpayAPI_php_v3\example\phpqrcode\cache\frame_1.png (126, 2010-08-18)
WxpayAPI_php_v3\example\phpqrcode\cache\frame_10.dat (204, 2010-08-18)
WxpayAPI_php_v3\example\phpqrcode\cache\frame_10.png (202, 2010-08-18)
WxpayAPI_php_v3\example\phpqrcode\cache\frame_11.dat (210, 2010-08-18)
WxpayAPI_php_v3\example\phpqrcode\cache\frame_11.png (205, 2010-08-18)
WxpayAPI_php_v3\example\phpqrcode\cache\frame_12.dat (222, 2010-08-18)
WxpayAPI_php_v3\example\phpqrcode\cache\frame_12.png (216, 2010-08-18)
WxpayAPI_php_v3\example\phpqrcode\cache\frame_13.dat (223, 2010-08-18)
WxpayAPI_php_v3\example\phpqrcode\cache\frame_13.png (210, 2010-08-18)
WxpayAPI_php_v3\example\phpqrcode\cache\frame_14.dat (227, 2010-08-18)
WxpayAPI_php_v3\example\phpqrcode\cache\frame_14.png (213, 2010-08-18)
WxpayAPI_php_v3\example\phpqrcode\cache\frame_15.dat (242, 2010-08-18)
WxpayAPI_php_v3\example\phpqrcode\cache\frame_15.png (219, 2010-08-18)
WxpayAPI_php_v3\example\phpqrcode\cache\frame_16.dat (242, 2010-08-18)
WxpayAPI_php_v3\example\phpqrcode\cache\frame_16.png (211, 2010-08-18)
WxpayAPI_php_v3\example\phpqrcode\cache\frame_17.dat (237, 2010-08-18)
WxpayAPI_php_v3\example\phpqrcode\cache\frame_17.png (211, 2010-08-18)
WxpayAPI_php_v3\example\phpqrcode\cache\frame_18.dat (251, 2010-08-18)
WxpayAPI_php_v3\example\phpqrcode\cache\frame_18.png (228, 2010-08-18)
WxpayAPI_php_v3\example\phpqrcode\cache\frame_19.dat (259, 2010-08-18)
WxpayAPI_php_v3\example\phpqrcode\cache\frame_19.png (225, 2010-08-18)
WxpayAPI_php_v3\example\phpqrcode\cache\frame_2.dat (119, 2010-08-18)
WxpayAPI_php_v3\example\phpqrcode\cache\frame_2.png (144, 2010-08-18)
WxpayAPI_php_v3\example\phpqrcode\cache\frame_20.dat (250, 2010-08-18)
... ...

SDK 体验地址 http://paysdk.weixin.qq.com/ 快速搭建指南 ①、安装配置nginx+phpfpm+php ②、建SDK解压到网站根目录 ③、修改lib/WxPay.Config.php为自己申请的商户号的信息(配置详见说明) ⑤、下载证书替换cert下的文件 ⑥、搭建完成 SDK目录结构 |-- cert | |-- apiclient_cert.pem | `-- apiclient_key.pem |-- index.php |-- lib | |-- WxPay.Api.php | |-- WxPay.Config.php | |-- WxPay.Data.php | |-- WxPay.Exception.php | `-- WxPay.Notify.php |-- logs | |-- 2015-03-06.log | `-- 2015-03-11.log `-- example |-- WxPay.JsApiPay.php |-- WxPay.MicroPay.php |-- WxPay.NativePay.php |-- download.php |-- micropay.php |-- native.php |-- native_notify.php |-- notify.php |-- orderquery.php |-- qrcode.php |-- refund.php |-- refundquery.php |-- jsapi.php |-- log.php `-- phpqrcode 目录功能简介 lib API接口封装代码 WxPay.Api.php 包括所有微信支付API接口的封装 WxPay.Config.php 商户配置 WxPay.Data.php 输入参数封装 WxPay.Exception.php 异常类 WxPay.Notify.php 回调通知基类 cert 证书存放路径,证书可以登录商户平台https://pay.weixin.qq.com/index.php/account/api_cert下载 example 样例程序代码路径 example/phpqrcode 开源二维码php代码 logs 日志文件 ※配置指南 MCHID = '1225312702'; 这里填开户邮件中的商户号 APPID = 'wx426b3015555a46be'; 这里填开户邮件中的(公众账号APPID或者应用APPID) KEY = 'e10adc3949ba59abbe56e057f20f883e' 这里请使用商户平台登录账户和密码登录http://pay.weixin.qq.com 平台设置的“API密钥”,为了安全,请设置为32字符串。 APPSECRET = '01c6d59a3f9024db6336662ac95c8e74' 改参数在JSAPI支付(open平台账户不能进行JSAPI支付)的时候需要用来获取用户openid,可使用APPID对应的公众平台登录http://mp.weixin.qq.com 的开发者中心获取AppSecret。

近期下载者

相关文件


收藏者