Brak opisu

README 1.6KB

    <p>SDK ַ <a href="http://paysdk.weixin.qq.com/" rel="nofollow">http://paysdk.weixin.qq.com/</a></p> <p>ٴָ ١װnginx+phpfpm+php ڡSDKѹվĿ¼ ۡ޸lib/WxPay.Config.phpΪԼ̻ŵϢ˵ ݡ֤滻certµļ ޡ</p> <p>SDKĿ¼ṹ |-- cert | |-- apiclient_cert.pem | <code>-- apiclient_key.pem |-- index.php |-- lib | |-- WxPay.Api.php | |-- WxPay.Config.php | |-- WxPay.Data.php | |-- WxPay.Exception.php |</code>-- WxPay.Notify.php |-- logs | |-- 2015-03-06.log | <code>-- 2015-03-11.log </code>-- example</p> <pre><code>|-- 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 </code></pre> <p>Ŀ¼ܼ lib APIӿڷװ WxPay.Api.php ΢֧APIӿڵķװ WxPay.Config.php ̻ WxPay.Data.php װ WxPay.Exception.php 쳣 WxPay.Notify.php ص֪ͨ</p> <p>cert ֤·֤Ե¼̻ƽ̨<a href="https://pay.weixin.qq.com/index.php/account/api_cert%CF%C2%D4%D8" rel="nofollow">https://pay.weixin.qq.com/index.php/account/api_cert</a></p> <p>example ·</p> <p>example/phpqrcode Դάphp</p> <p>logs ־ļ</p> <p>ָ MCHID = &#39;1225312702&#39;; ʼе̻</p> <p>APPID = &#39;wx426b3015555a46be&#39;; ʼеģ˺APPIDӦAPPID</p> <p>KEY = &#39;e10adc3949ba59abbe56e057f20f883e&#39; ʹ̻ƽ̨¼˻¼<a href="http://pay.weixin.qq.com" rel="nofollow">http://pay.weixin.qq.com</a> ƽ̨õġAPIԿΪ˰ȫΪ32ַ</p> <p>APPSECRET = &#39;01c6d59a3f9024db6336662ac95c8e74&#39; IJJSAPI֧openƽ̨˻ܽJSAPI֧ʱҪȡûopenidʹAPPIDӦĹƽ̨¼<a href="http://mp.weixin.qq.com" rel="nofollow">http://mp.weixin.qq.com</a> ĿĻȡAppSecret</p>