appid:wx08fdc2e2d1d8ed1c
沙箱环境下测试扣款接口返回加密错误,套用接口文档内的参数到代码,生成的sig值和文档内一致。有检查过请求的url和加密的均为cgi-bin/midas/sandbox/pay
根据文档内拼接出的参与加密参数:
amt=10&appid=wx08fdc2e2d1d8ed1c&bill_no=202105210952362813215&offer_id=****&openid=o94yf5U6jUeerjit7zMiesvB9KLw&pf=android&ts=1621583113&zone_id=1&org_loc=/cgi-bin/midas/sandbox/pay&method=POST&secret=****
请求URL:
https://api.weixin.qq.com/cgi-bin/midas/sandbox/pay?access_token=*******
请求参数:
{"appid":"wx08fdc2e2d1d8ed1c","openid":"o94yf5U6jUeerjit7zMiesvB9KLw","offer_id":"****","ts":1621583318,"zone_id":"1","pf":"android","amt":10,"bill_no":"202105210952362813215","sig":"a413c6b67d4b3b5bb49324931a6b1814af6515ccaedd565fe6ab4a2736eef5ba"}
麻烦官方人员看下,谢谢!!
别回复open.qq.com内的sig签名,已测试过无效,谢谢。