README 1.6 KiB

il y a 3 ans
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. SDK
  2. �����ַ
  3. http://paysdk.weixin.qq.com/
  4. ���ٴָ��
  5. �١���װ����nginx+phpfpm+php
  6. �ڡ���SDK��ѹ����վ��Ŀ¼
  7. �ۡ��޸�lib/WxPay.Config.phpΪ�Լ�������̻��ŵ���Ϣ���������˵����
  8. �ݡ�����֤���滻cert�µ��ļ�
  9. �ޡ�����
  10. SDKĿ¼�ṹ
  11. |-- cert
  12. | |-- apiclient_cert.pem
  13. | `-- apiclient_key.pem
  14. |-- index.php
  15. |-- lib
  16. | |-- WxPay.Api.php
  17. | |-- WxPay.Config.php
  18. | |-- WxPay.Data.php
  19. | |-- WxPay.Exception.php
  20. | `-- WxPay.Notify.php
  21. |-- logs
  22. | |-- 2015-03-06.log
  23. | `-- 2015-03-11.log
  24. `-- example
  25. |-- WxPay.JsApiPay.php
  26. |-- WxPay.MicroPay.php
  27. |-- WxPay.NativePay.php
  28. |-- download.php
  29. |-- micropay.php
  30. |-- native.php
  31. |-- native_notify.php
  32. |-- notify.php
  33. |-- orderquery.php
  34. |-- qrcode.php
  35. |-- refund.php
  36. |-- refundquery.php
  37. |-- jsapi.php
  38. |-- log.php
  39. `-- phpqrcode
  40. Ŀ¼���ܼ��
  41. lib
  42. API�ӿڷ�װ����
  43. WxPay.Api.php ��������΢��֧��API�ӿڵķ�װ
  44. WxPay.Config.php �̻�����
  45. WxPay.Data.php ���������װ
  46. WxPay.Exception.php �쳣��
  47. WxPay.Notify.php �ص�֪ͨ����
  48. cert
  49. ֤����·����֤����Ե�¼�̻�ƽ̨https://pay.weixin.qq.com/index.php/account/api_cert����
  50. example
  51. �����������·��
  52. example/phpqrcode
  53. ��Դ��ά��php����
  54. logs
  55. ��־�ļ�
  56. ������ָ��
  57. MCHID = '1225312702';
  58. ��������ʼ��е��̻���
  59. APPID = 'wx426b3015555a46be';
  60. ��������ʼ��еģ������˺�APPID����Ӧ��APPID��
  61. KEY = 'e10adc3949ba59abbe56e057f20f883e'
  62. ������ʹ���̻�ƽ̨��¼�˻��������¼http://pay.weixin.qq.com ƽ̨���õġ�API��Կ����Ϊ�˰�ȫ��������Ϊ32�ַ�����
  63. APPSECRET = '01c6d59a3f9024db6336662ac95c8e74'
  64. �IJ�����JSAPI֧����openƽ̨�˻����ܽ���JSAPI֧������ʱ����Ҫ������ȡ�û�openid����ʹ��APPID��Ӧ�Ĺ���ƽ̨��¼http://mp.weixin.qq.com �Ŀ��������Ļ�ȡAppSecret��