微信支付后申请退款,提示订单金额或退款金额与之前请求不一致,请核实后再试

微信支付 文章 2021-02-02 23:21 599 0 全屏看文

AI助手支持GPT4.0

微信支付后申请退款,提示订单金额或退款金额与之前请求不一致,请核实后再试After applying for a refund after WeChat payment, the order amount or refund amount is inconsistent with the previous request, please verify and try again

微信支付后申请退款,提示订单金额或退款金额与之前请求不一致,请核实后再试

返回的参数如下

{"result":{"return_code":"SUCCESS","return_msg":"OK","appid":"wxfe8bf3702412331f","mch_id":"1600336438","nonce_str":"afhIcn2MQuQGsoDk","sign":"4CC422F230018353D7AB92CD338F028E","resu

lt_code":"FAIL","err_code":"INVALID_REQUEST","err_code_des":"订单金额或退款金额与之前请求不一致,请核实后再试"}}

在支付平台中查询出的订单信息显示,该订单为实际已支付的订单,支付金额与记录一致,支付平台中可申请退款金额也与接口申请退款金额一致

今天的其他订单也有退款,都成功的,就这个失败,前几天也有此情况发生。

请问是什么问题,我们该如何解决?

The returned parameters are as follows {"result": {"return"_ code":"SUCCESS","return_ msg":"OK","appid":"wxfe8bf3702412331f","mch_ id":"1600336438","nonce_ str":"afhIcn2MQuQGsoDk","sign":"4CC422F230018353D7AB92CD338F028E","resu lt_ code":"FAIL","err_ code":"INVALID_ REQUEST","err_ code_ Des ":" the order amount or refund amount is inconsistent with the previous request, please verify and try again "}} the order information found in the payment platform shows that the order is actually paid, the payment amount is consistent with the record, and the refund amount that can be applied for in the payment platform is also consistent with the refund amount applied for in the interface Today's other orders also have a refund, all successful, on this failure, a few days ago also had this situation. What is the problem and how can we solve it?

回答:

微信支付技术社区运营-Tasting:

请按照以下几点检查:

1,total_fee或refund_fee(金额参数单位为分,不能加小数点)填写错误,请仔细检查确认

2,同一个商户退款单号发起重复调用,退款金额不一致

mr.wu:都核实过的,金额是以分为单位且为整型,这个支付单号第一次发起退款就返回的“订单金额或退款金额与之前请求不一致”
mr.wu:

支付单号:202101281738387409

退款单号:202101281752448623

总金额:1906

退款金额:1906

微信支付技术社区运营-Tasting:这个订单,对应的支付金额是1906,请求退款时,total_fee应该填写为1906,商户把total_fee填写为1905了,所以报这个错误,请修改下
peng:

这个关键要看你请求参数。但你没有贴出来。

另外要看你是否使用相同的退款单号发起过多次退款。

mr.wu:用easywechat的退款执行的,其他退款都可以,参数应该没问题吧。第一次执行就失败的,而且支付平台中也没有查到这个订单号另外的退款记录。

-EOF-

AI助手支持GPT4.0