后端能统一下单,经过两次加密生成sign,加密方式md5。返回信息为:
{
"appid": "wx。。。。。。",
"partnerid": "。。。。。。。。",
"prepayid": "wx061559236745460be55857de1736845700",
"timestamp": 1594022400,
"noncestr": "693861594022400",
"package": "Sign=WXPay",
"sign": "。。。。。。"
}
前端获取预付单信息,无法调起微信支付。
https://pay.weixin.qq.com/wiki/doc/api/app/app_sl.php?chapter=9_12&index=2