微信支付返回值

//调用微信JS api 支付
function jsApiCall()
{
WeixinJSBridge.invoke(
'getBrandWCPayRequest',
<%=wxJsApiParam%>,//josn串
function (res)

if(res.err_msg == "get_brand_wcpay_request:ok" ){

//处理一些事务

}
alert(JSON.stringify(res))
//WeixinJSBridge.log(res.err_msg);
//alert(res.err_code + res.err_desc + res.err_msg);
}
);
}

猜你喜欢

转载自www.cnblogs.com/xinyunyou/p/12424825.html