wx.requestCommonPayment
signData:{"amount":{"order_amount":1,"currency":"CNY"},"out_trade_no":"DD24101400002-D02","mchid":"1685170799","description":"测试测试","env":1}
paySig: 87e4793a1b1b15c658539365f2d8973c30b50c2025c40c6f0a1f6da1a90242cb
signature:feaa0aba736ea13a179c7f5f9aae808dec73d2fe822b58a3d432e072f90c7bde
mode: 'retail_pay_goods'
报错
index.js:242 requestCommonPayment:fail webapi_wxa_createmidasorder:fail invalid signature 702002
你好,用户态签名不对,需要看下用来加密的sessionkey是否拿对
注意大小写问题,签名都是小写的,很坑,文档没标注
简单
请问问题解决了嘛?
你好,请问你怎么解决的呢