我遇见的是签名的方式不对,我参考是 demo wechatpay-java com.wechat.pay.java.service.partnerpayments.jsapi.JsapiServiceExtension #prepayWithRequestPayment
服务商发起支付提示 AppID不存在,请检查后再试 请问是什么问题?[图片] AppID :wx65439739882e0afe { "code": 400, "msg": "ERROR_GATEWAY: Get Wechat API Error:AppID不存在,请检查后再试", "data": { "config": { "order": { "attach": "花有有", "body": "花有有-订单支付", "out_trade_no": "20220616967014", "total_fee": 3, "sub_openid": "o5HFE5BasfCs2HGuEeMr2QDvK6d0" }, "configs": { "app_id": "wx65439739882e0afe", "sub_miniapp_id": "wxa5f23718ce751a25", "mch_id": "1621146496", "sub_mch_id": "1626917369", "key": "xxxxx", "profit_sharing": "Y", "mode": "service", "notify_url": "http://www.yiquhuashang.com/api/v1/verify/order", "log": { "file": "./logs/wechat.log", "level": "debug", "type": "single", "max_file": 30 } } } } }
2023-01-26楼主解决了没有 我也遇见了,用开发者工具就能复现, 上传一个没事,上传2个就不行了 [图片]
安卓客户端在公众号H5里调用wx.getLocalImgData,当上传多张图片的时候,会报错https://developers.weixin.qq.com/doc/offiaccount/OA_Web_Apps/JS-SDK.html 问题:上传一张图片时不报错,上传多张就会报错 报错信息:wx is not defined 代码如下: localIds.forEach((item, index) => { wx.getLocalImgData({ localId: item, // 图片的localID success: function (res) { var localData = res.localData; // localData是图片的base64数据,可以用img标签显示 if (localData.substr(0, 5) != 'data:') { localData = 'data:image/jpeg;base64,' + localData; } }, fail: function (res) { console.log("获取base64失败", res) } }); });
2022-09-26