请求URL:

POST/wapstore/addons/execute/addons/store/controller/wapstore/action/storePay

—————————————————————————————————————————————————

提交数据结构:

{"order_data":{
	"pay_type" : 2 ,
	"is_deduction" : 0,
	"discount" : 5,
	"manual_amout" : 0,
	"goods_amount" : 200,
	"total_amount" : 100,
	"is_membercard_deduction" : 0,
	}
}

发票 - 参数:

参数名 是否必须 类型 说明
pay_type int 支付类型//0-在线支付 1-微信支付 2-支付宝 5-余额支付 10-现金支付
is_deduction int 是否使用积分抵扣
discount string 打多少折
manual_amout string 优惠多少金额
goods_amount string 商品合计
total_amount string 总计
is_membercard_deduction int 是否使用会员卡抵扣

返回示例:

成功时返回:

{
  "data": {
    "img": "upload/1/md_qrcode/pay\\MD157510630482261000al.png",
    "out_trade_no": "MD157510630482261000"
  },
  "code": 0
}

错误时返回:

{
    "code": -1,//小于0
    "message": "返回信息"
}