- 自定义交易组件未发货的单,创建售后单 退款提示 未传入收货地址?
未发货的订单创建售后提示这个错误,是什么原因? 通知微信交易组件售后订单请求:{"out_order_id":"661233349","out_aftersale_id":"661233349215653","openid":"ogKxA4y17VtqNGySV2Yvg38YOQ78","type":1,"refund_reason":"客人申请退款,guntuan于2022-04-27 16:24:43对订单做异常设定:<font color=blue>1</font>","refund_reason_type":2,"orderamt":2800,"product_info":{"out_product_id":"30946426","out_sku_id":"30946426","product_cnt":1}} 通知微信交易组件售后订单响应:{"state":"error","msg":"未传入收货地址","code":null,"success":false}
2022-05-06 - 没有默认退货地址,需要在接口中传入?
appid:wxc0e3b950a0fe56ba ,out_order_id:661046391,out_aftersale_id:661046391703508, 调用退货接口请求:{"out_aftersale_id":"661046391703508","address_info":{"receiver_name":"测试","detailed_address":"广东省广州市天河区羊城创意产业园","tel_number":"13533877021","country":"","province":"","city":"","town":""}} 调用退货接口请求:responseData:{"errcode":2747017,"errmsg":" 没有默认退货地址,需要在接口中传入"} 请问这个怎么解决。商家的地址更新了很多遍了。返回提示也是成功的。还是这个提示
2022-04-26 - 生成售后单 errcode:2747014,售后金售后金额不合法,大于最大可退款金额?
调用新版微信交易组件后,售后退款一直返回:售后金额不合法,大于最大可退款金额 我通过订单详情接口得到这个订单的状态是:20 {"state":"success","msg":"小程序获取订单详情成功","code":null,"data":{"order":{"order_id":"3302784357715017984","out_order_id":"660352136","status":20,"path":"user/order/orderdetail?orderId=660352136","scene":1195,"address_info":{"receiver_name":"测试","detailed_address":"广东省广州市天河区羊城创意产业园","tel_number":"13533877021","country":"","province":"","city":"","town":""},"create_time":"2022-04-22 15:12:38","update_time":"2022-04-22 15:13:48","out_user_id":"","order_detail":{"promotion_info":{"promoter_id":"WXT5FE547oippwuJAXFo3SCPxLdgMuDrQSq7WDnNyco","finder_nickname":"帅帅哒鬼"},"sharer_info":null,"product_infos":[{"out_product_id":"30946426","out_sku_id":"","product_cnt":1,"sale_price":2800,"path":"/product/detail/index?infoId=30946426","title":"SMART·全自动智能感应垃圾桶【限时抢购48元/个】开启智能家居生活时代","head_image":null,"real_price":null}],"pay_info":{"pay_method":null,"prepay_id":"wx221512397466089f611226c4c292dc0000","prepay_time":"2022-04-22 15:12:39","transaction_id":"4200001362202204227069645236","pay_time":"2022-04-22 15:12:48","pay_method_type":0},"price_info":{"order_price":2800,"freight":0,"discounted_price":0,"additional_price":0,"additional_remarks":""},"delivery_detail":null}}},"success":true} 然后调用新版售后接口:通知微信交易组件售后请求:{"out_order_id":"660352136","out_aftersale_id":"660352136761326","openid":"ogKxA4y17VtqNGySV2Yvg38YOQ78","type":2,"refund_reason":"客人申请退款,分销商确认收货","refund_reason_type":2,"orderamt":2800,"product_info":{"out_product_id":"30946426","out_sku_id":"30946426","product_cnt":1}} 通知微信交易组件退款售后响应:{"state":"error","msg":"小程序创建售后失败: 售后金额不合法,大于最大可退款金额","code":"2747014","success":false} 试了其他新下的单也都是这个错误。可以帮查查嘛?
2022-04-24 - price_info字段异常,请检查json及字段合法性?
调用https://api.weixin.qq.com/shop/order/add?access_token=xxxxxxxxx 返回错误交易组件下单:{"create_time":"2022-04-13 16:42:42","type":0,"out_order_id":"659253003","openid":"ok-oD5paVPd9ls6oVYjGNkqYHqro","path":"user/order/orderdetail?orderId=659253003","scene":"1195","out_user_id":"zahngli","order_detail":{"product_infos":[{"out_product_id":"63602992","out_sku_id":"wx008948","product_cnt":2,"sale_price":5000,"real_price":5000,"path":"/product/detail/index?infoId=63602992","title":"zy123测试3333","head_img":"https://mmecimage.cn/p/wxc627db84bc3463e9/HCKupVHhxxqVOPRjkDJMY6M93PRjxjlUL4f6c3zj5A"}],"pay_info":{"pay_method_type":0,"prepay_id":"wx202204122009395522657a690389285100","prepay_time":"2022-04-13 16:42:42"},"price_info":{"order_price":5000,"freight":0,"discounted_price":0,"additional_price":0,"additional_remarks":"测试信息"}},"delivery_detail":{"delivery_type":2},"address_info":{"receiver_name":"test","detailed_address":"广东广州市天河区","tel_number":"13875687908","country":"","province":"","city":"","town":""}} 交易组件下单返回:{"state":"error","msg":"小程序生成订单出错:错误代码:1010005, 错误信息:price_info字段异常,请检查json及字段合法性 rid: 62568d02-52941c04-4ae48589,微信原始报文:{\"errcode\":1010005,\"errmsg\":\"price_info字段异常,请检查json及字段合法性 rid: 62568d02-52941c04-4ae48589\"}","code":null,"data":null,"success":false}
2022-04-13