v3版本微信支付,之前的业务退款是正常的 新上的业务无法退款 始终提示400
2023-11-03 14:11:44.237 INFO 8864 --- [0880-thread-114] c.g.c.service.impl.WeChatPayServiceImpl : 微信支付接收到122158010843905179-4726-683320退款请求
2023-11-03 14:11:44.479 ERROR 8864 --- [0880-thread-114] c.w.p.c.apache.httpclient.SignatureExec : 应答的状态码不为200-299。request body[{"reason":"","amount":{"total":100,"currency":"CNY","refund":100},"out_trade_no":"122158010843905179-4726-683320","out_refund_no":"122158036315802983-4727-683320","notify_url":"https://.com/CashPayServer/pay/weChat_notify_back"}]
2023-11-03 14:11:44.479 INFO 8864 --- [0880-thread-114] c.g.c.service.impl.WeChatPayServiceImpl : outTradeNo:122158010843905179-4726-683320,请求微信退款失败,失败原因:{"protocolVersion":{"major":1,"minor":1,"protocol":"HTTP"},"reasonPhrase":"Bad Request","statusCode":400}
打印一下详细日志看看,会有错误说明的