hsq-wxpay
v1.0.6
Published
//需安装第三方模块 q, xml2 示例: var wxpay = require('wxpay');
Downloads
2
Readme
//需安装第三方模块 q, xml2 示例: var wxpay = require('wxpay');
方法: 支付:wxpay.pay(params); 查询订单:wxpay.orderquery(queryParams);
params = {
openId //JSAPI支付时传
scene_info //H5支付时传
price
ip
out_trade_no //订单号
appId
body
mch_id
notify_url
attach //附带数据 可选
}
queryParams = {
out_trade_no //订单号
appId
mch_id
}