- 支付分退款后,退款到账通知中的退款原因乱码,是什么原因?
退款文档:https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter6_1_26.shtml httpPost.setHeader("Content-Type","application/json; charset=utf-8"); httpPost.setHeader("Accept", "application/json"); 请求信息: {"reason":"测试退款","transaction_id":"xxxxxxxx","out_refund_no":"xxxxxxxxx","notify_url":"xxxxxxxxx","funds_account":"AVAILABLE","amount":{"refund":1,"total":1,"currency":"CNY"}} 问题:[图片]
06-21 - 微信支付分创建免确认模式订单,返回的状态一直是CREATE,怎么样会变成是DOING?
2024-06-20 11:23:51.159 INFO 10800 --- [ main] c.h.c.wx.service.impl.PayScoreService : 请求主体: {"attach":"","needUserConfirm":false,"out_order_no":"7b1e78b4a0c0448e85cfec75b881a984","appid":"XXXXXX","service_id":"XXXXXX","service_introduction":"测试创建免确认支付分订单","time_range":{"start_time":"20240620112356"},"risk_fund":{"name":"ESTIMATE_ORDER_COST","amount":10},"notify_url":"http://2e257573.r3.cpolar.cn/wx/payScore/paid/callback","openid":"XXXXXXX"} 2024-06-20 11:23:51.650 DEBUG 10800 --- [ main] c.h.c.wx.service.impl.PayScoreService : 获取到的响应数据: {"appid":"XXXXXX","attach":"","location":{},"mchid":"XXXXXX","notify_url":"http://2e257573.r3.cpolar.cn/wx/payScore/paid/callback","order_id":"1000000000202406201447020532653","out_order_no":"7b1e78b4a0c0448e85cfec75b881a984","package":"AAQTnZoAAAABAAAAAACMdFLmeemuHowpyaBzZiAAAABcwQVtru-5k9MmEOZJ_Pv_Nq7Cw56dNKKN5EjZKnt5jaxOGXPt26sDRuiEqkFB6uyiPBrGz72xbWu5heNCe-unlRtulKEXoi_6JS-qi09NuATa7jhDhWrdMJCC9WqCciKfPnFAHhzwvGqezxVZez5jQhL7iQ1VedfbPLW2wwDghnS1MTgNF3sSmDGMUOpinaMovQdah5FLoq0v","post_discounts":[],"post_payments":[],"risk_fund":{"amount":10,"description":"","name":"ESTIMATE_ORDER_COST"},"service_id":"XXXXXX","service_introduction":"测试创建免确认支付分订单","state":"CREATED","time_range":{"start_time":"20240620112356"}} 查询文档对此的说明如下:如免确认模式下返回的是CREATED:商户已创建服务订单,则为创单失败。 那么这个创单失败一般是什么原因造成的?
06-20