|
|
|
|
SDK
|
|
|
|
|
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ַ
|
|
|
|
|
http://paysdk.weixin.qq.com/
|
|
|
|
|
|
|
|
|
|
<EFBFBD><EFBFBD><EFBFBD>ٴָ<EFBFBD><EFBFBD>
|
|
|
|
|
<EFBFBD>١<EFBFBD><EFBFBD><EFBFBD>װ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>nginx+phpfpm+php
|
|
|
|
|
<EFBFBD>ڡ<EFBFBD><EFBFBD><EFBFBD>SDK<EFBFBD><EFBFBD>ѹ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>վ<EFBFBD><EFBFBD>Ŀ¼
|
|
|
|
|
<EFBFBD>ۡ<EFBFBD><EFBFBD><EFBFBD>lib/WxPay.Config.phpΪ<EFBFBD>Լ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>̻<EFBFBD><EFBFBD>ŵ<EFBFBD><EFBFBD><EFBFBD>Ϣ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>˵<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
<EFBFBD>ݡ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>֤<EFBFBD><EFBFBD><EFBFBD>滻cert<EFBFBD>µ<EFBFBD><EFBFBD>ļ<EFBFBD>
|
|
|
|
|
<EFBFBD>ޡ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
|
|
|
|
|
SDKĿ¼<EFBFBD>ṹ
|
|
|
|
|
|-- 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
|
|
|
|
|
|
|
|
|
|
Ŀ¼<EFBFBD><EFBFBD><EFBFBD>ܼ<EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
lib
|
|
|
|
|
API<EFBFBD>ӿڷ<EFBFBD>װ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
WxPay.Api.php <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>֧<EFBFBD><EFBFBD>API<EFBFBD>ӿڵķ<EFBFBD>װ
|
|
|
|
|
WxPay.Config.php <EFBFBD>̻<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
WxPay.Data.php <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>װ
|
|
|
|
|
WxPay.Exception.php <EFBFBD>쳣<EFBFBD><EFBFBD>
|
|
|
|
|
WxPay.Notify.php <EFBFBD>ص<EFBFBD>֪ͨ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
|
|
|
|
|
cert
|
|
|
|
|
֤<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>·<EFBFBD><EFBFBD><EFBFBD><EFBFBD>֤<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ե<EFBFBD>¼<EFBFBD>̻<EFBFBD>ƽ̨https://pay.weixin.qq.com/index.php/account/api_cert<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
|
|
|
|
|
example
|
|
|
|
|
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>·<EFBFBD><EFBFBD>
|
|
|
|
|
|
|
|
|
|
example/phpqrcode
|
|
|
|
|
<EFBFBD><EFBFBD>Դ<EFBFBD><EFBFBD>ά<EFBFBD><EFBFBD>php<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
|
|
|
|
|
logs
|
|
|
|
|
<EFBFBD><EFBFBD>־<EFBFBD>ļ<EFBFBD>
|
|
|
|
|
|
|
|
|
|
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ָ<EFBFBD><EFBFBD>
|
|
|
|
|
MCHID = '1225312702';
|
|
|
|
|
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʼ<EFBFBD><EFBFBD>е<EFBFBD><EFBFBD>̻<EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
|
|
|
|
|
APPID = 'wx426b3015555a46be';
|
|
|
|
|
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʼ<EFBFBD><EFBFBD>еģ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>˺<EFBFBD>APPID<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ӧ<EFBFBD><EFBFBD>APPID<EF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