2017 © Pedro Peláez
 

library weixin_pay_sdk

微信支付相关的所有接口

image

xybingbing/weixin_pay_sdk

微信支付相关的所有接口

  • Tuesday, July 4, 2017
  • by xybingbing
  • Repository
  • 1 Watchers
  • 1 Stars
  • 17 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 0 % Grown

The README.md

微信商户平台所以接口相关, (*1)

1.安装, (*2)

composer require xybingbing/weixin_pay_sdk

2.使用, (*3)

require "vendor/autoload.php";

基本参数, (*4)

$parameter=array(
    'appid'=>'',    //微信ID
    'appsecret'=>'', //微信密钥
    'mch_id'=>'', //微信商户ID
    'paykey'=>'', //微信商户密钥
    'debug'=>true, //是否开启调试模式。关闭调试模式后 报错 会输出到weixin_log.txt
);
  1. 微信公众号支付相关
$wxpay=new xybingbing\weixin_pay($parameter);       详细请看examples/wechat.php
  1. APP微信支付相关
$wxpay=new xybingbing\weixin_app_pay($parameter);       详细请看examples/app.php
  1. 扫码支付相关
$wxpay=new xybingbing\weixin_scancode_pay($parameter);      详细请看examples/scancode.php
  1. 微信刷卡支付相关
$wxpay=new xybingbing\weixin_pay_card($parameter);      详细请看examples/card.php
  1. 微信红包相关
$wxpay=new xybingbing\weixin_bonus($parameter);     详细请看examples/bonus.php
  1. 微信代金券相关
$wxpay=new xybingbing\weixin_coupon($parameter);        详细请看examples/coupon.php
  1. 企业付款相关
$wxpay=new xybingbing\weixin_payment($parameter);       详细请看examples/payment.php

The Versions

04/07 2017

dev-master

9999999-dev

微信支付相关的所有接口

  Sources   Download

Apache-2.0

The Requires

 

by Avatar xybingbing

26/04 2017

1.3

1.3.0.0

微信支付相关的所有接口

  Sources   Download

Apache-2.0

The Requires

 

by Avatar xybingbing

26/04 2017

1.2

1.2.0.0

微信支付相关的所有接口

  Sources   Download

Apache-2.0

The Requires

  • php >=5.4.0

 

by Avatar xybingbing

16/03 2017

1.1

1.1.0.0

微信支付相关的所有接口

  Sources   Download

Apache-2.0

The Requires

  • php >=5.4.0

 

by Avatar xybingbing

16/03 2017

v1.0

1.0.0.0

微信支付相关的所有接口

  Sources   Download

Apache-2.0

The Requires

  • php >=5.4.0

 

by Avatar xybingbing