Redirect_uri 10003错误,微信公众号信息配置 没修改
url未注册 统一下单链接http://xxxxx.com/example/jsapi.php,配置的地址是http://xxx.com/example/
微信支付appid不存在
拆开来写WeixinJSBridge.invoke(
'getBrandWCPayRequest', {"appId":"{$canshu['appId']}", //公众号名称,由商户传入
"timeStamp":"{$canshu['timeStamp']}", //时间戳,自1970年以来的秒数
"nonceStr":"{$canshu['nonceStr']}", //随机串
"package":"{$canshu['package']}",
"signType":"MD5", //微信签名方式:
"paySign":"{$canshu['paySign']}" //微信签名
}