"requestPayment,fail parameter error : parameter. package should be String instead of Undefined;"
提示缺少参数,但是有传的
console.log(result.Data.appId);
console.log(result.Data.nonceStr);
console.log(result.Data.merchant_no);
console.log(result.Data.out_trade_no);
console.log(result.Data.timeStamp);
console.log(result.Data.paySign);
console.log(result.Data.signType);
console.log(result.Data.package_str);
wxAAAAAAAAAAAAAAAAA
2492a82feAAAAAAAAAAAAAA
8521AAAAAAAAAAAAAAA
34341056992162AAAAAAAAAAAAAA
1650438799xynCMHmhGq5Mdw4Q5Xg04FEWvbeK9nLU8uQ3SS7TwLazzlHDCAN4s9yi7siH4GFIRBk3VdkXK8rt0cyPs2GbXtsB+XzToBR+bnT2FJaBWf091rKpcGX/lA7BULA4PZE29mOe3QYIusbe3MfOIufF28I1HRy4YRKG51yYL0dZ+MLjbvZPA64DsGx6G9cbuSUGP6BLOlChevyvAdvGL105nljIkqqm6h7yTdNQ3CoH1ND1Q2tM1ub4W94BT+Vwm9cDIffeSj0w+SmmFOZJDCQH/Ze/wtSZBOwwHsPDsKd2AjYtLL5+kB4UO/tS2YFqjzBJMHzEtJGvkrN9aeQyI7XWjg==
RSA
prepay_id=wx2015131971240183aAAAAAAAAAAAA
在线等·~~~~~~~
https://zhuanlan.zhihu.com/p/405837290
先看看这个,如果不对,那么可以和后端一起核对一下参数,看是否是按照约定的规则传递的。