[图片] 注意⚠️:这里有深坑。。。 问题1: 文档上面说新增参数orderInfo ,下面接着说order_info参数格式,额,好吧,各位开发者注意啊 问题2: 无论你传的参数对不对hove不传参数,报错信息都是1010005,极具误导性,注意啊
调自定义交易组件,前端添加订单接口报price_info字段异常,提示错误1010005,怎么解决?https://developers.weixin.qq.com/miniprogram/dev/platform-capabilities/business-capabilities/ministore/minishopopencomponent2/API/order/requestOrderPayment.html 前端调用上面api,进行自定义组件订单上传,数据如下: 前端使用该数据报1010005错误,使用数据order_info调用后端https://api.weixin.qq.com/shop/order/add接口可以正常添加订单 { "timeStamp": "1631012895", "nonceStr": "wr1glsc7eaml0tddq23tps9hp1m272sf", "package": "prepay_id=wx0719081562089042843e6b7d122b8d0000", "signType": "RSA", "paySign": "fK6ybra695ugC0B367Jn8xhZ2s2WXdXA7YpQslTBti105Bsv7pl7q5fC9Sg3oYtsHi+cMWPeMyq1IltYqzk1K6bRjzPeskfd3GG1HkSSPxTHl7wYaafs3/hGokadAc6lqAwBrsyWdPdwtNT4YZ1ceMaSBP4KtG7lKyS2+kGvpKovTgACH6wgPZ0r7lqcATIuNv1xhvIbCG4HJb1YouYiten5FPhl/1HTsIejMDK9nulis++URWmr06zAmpW2VTpyJ7iK6osZKDU4+n/yE5Z16s9BG2lDmnljY+sX6usEoZCRbeMEpYP3OVCxa1sbT0SxnYhX/h5L3ldsLTbI4Y9O7Q==", "order_info": { "create_time": "2021-09-07 19:08:15", "out_order_id": "1353607598518272", "openid": "ocUkF5euUcOlNpAGMLBpI6X-WAGo", "path": "/pages/customer/order-detail/order-detail?order_sn=1353607598518272", "out_user_id": "595", "order_detail": { "product_infos": [ { "out_product_id": "3", "out_sku_id": "", "product_cnt": 1, "sale_price": 50, "real_price": 50, "path": "pages/common/goods-detail/goods-detail?id=3", "title": "MMA-S 唇膏女01", "head_img": "https://xxy.qcloud.com/resource/1614913608780396.jpg" } ], "pay_info": { "pay_method_type": 0, "prepay_id": "wx0719081562089042843e6b7d122b8d0000", "prepay_time": "2021-09-07 19:08:15" }, "price_info": { "order_price": 50, "freight": 0 } }, "delivery_detail": { "delivery_type": 1 }, "address_info": { "receiver_name": "王磊", "detailed_address": "天安门广场", "tel_number": "13333333333", "province": "北京市", "city": "北京市" } } }
2021-09-08需要加载平台证书,类似这样,解决了[图片]
微信支付V3接口,应答的微信支付签名验证失败我调用的是v3版的接口,总是报错误 应答的微信支付签名验证失败 排查一下发现是服务器应答头的证书编号和我上送的证书编号不一致,这个该如何处理?
2021-01-25解决了。。。
wechatpay-postman-script中Pre-request内容wechatpay-postman-script 导入后,[代码]Pre-request Script[代码]一栏没有任何内容,麻烦发一份
2019-08-02