@PostMapping("/refunds/notify")
public String refundsNotify(HttpServletRequest request, HttpServletResponse response){
response.setStatus(200);
map.put("code", "SUCCESS");
map.put("message", "成功");
System.out.println("返回给微信的:" + gson.toJson(map));
return gson.toJson(map);
}
控制台也打印出返回给微信的:{"code":"SUCCESS","message":"成功"}
但是为什么还是重复收到微信发过来的回调通知?
{"mchid":"1558950191","out_trade_no":"ORDER_20221123215216573","transaction_id":"4200001647202211239756458359","out_refund_no":"REFUND_20221123215248108","refund_id":"50301403952022112327558288433","refund_status":"SUCCESS","success_time":"2022-11-23T21:53:46+08:00","amount":{"total":1,"refund":1,"payer_total":1,"payer_refund":1},"user_received_account":"支付用户零钱"}
我也一样, V3
我这一样的。。。V3退款回调,不知道啥情况,退款一次,回调八九次给我也是醉了。。