收藏
回答

退款回调请求参数“nonce_str”不正确切一直变化

公众号支付申请退款,退款成功,金额已经退回到钱包,退款回调中获取到的“nonce_str”始终不正确,导致修改订单状态失败!!!

微信退款请求参数:

<xml>  
    <appid>wx6554c60eceaf2594</appid>  
    <mch_id>1554436481</mch_id>  
    <nonce_str>81df9117461e42daa6e47f8bd92a0b4c</nonce_str>  
    <out_refund_no>8947436e0c0a44d4b66b691759ab314b</out_refund_no>  
    <out_trade_no>20190911143953754</out_trade_no>  
    <refund_fee>1</refund_fee>  
    <total_fee>1</total_fee>  
    <notify_url>http://www.bdxtbd.com/pay/refundOrderOfWx</notify_url>  
    <sign>B99B34156DBF688FF94F3F7A000481ED</sign>
</xml>

微信退款回执参数:

<xml>
    <return_code><![CDATA[SUCCESS]]></return_code>
    <return_msg><![CDATA[OK]]></return_msg>
    <appid><![CDATA[wx6554c60eceaf2594]]></appid>
    <mch_id><![CDATA[1554436481]]></mch_id>
    <nonce_str><![CDATA[u98OzfBmDqIBW4Pn]]></nonce_str>
    <sign><![CDATA[16F2482CD3E45C3D3542548AFA817932]]></sign>
    <result_code><![CDATA[SUCCESS]]></result_code>
    <transaction_id><![CDATA[4200000385201909117764656373]]></transaction_id>
    <out_trade_no><![CDATA[20190911143953754]]></out_trade_no>
    <out_refund_no><![CDATA[8947436e0c0a44d4b66b691759ab314b]]></out_refund_no>
    <refund_id><![CDATA[50000501652019091112232966192]]></refund_id>
    <refund_channel><![CDATA[]]></refund_channel>
    <refund_fee>1</refund_fee>
    <coupon_refund_fee>0</coupon_refund_fee>
    <total_fee>1</total_fee>
    <cash_fee>1</cash_fee>
    <coupon_refund_count>0</coupon_refund_count>
    <cash_refund_fee>1</cash_refund_fee>
</xml>

退款回调请求参数:

<xml>
    <return_code>SUCCESS</return_code>
    <appid><![CDATA[wx6554c60eceaf2594]]></appid>
    <mch_id><![CDATA[1554436481]]></mch_id>
    <nonce_str><![CDATA[b508b6670daa9f4d4713418cd34e9450]]></nonce_str>
    <req_info><![CD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uF2iAHhPqKW6]]></req_info>
</xml>

其中“nonce_str”均不是请求的“nonce_str”参数

最后一次编辑于  09-11
回答关注问题邀请回答
收藏

1 个回答

  • 微信支付技术助手1
    微信支付技术助手1
    09-12

    是这一笔单,还是所有单都出现?

    09-12
    赞同
    回复 2
    • 稻草人
      稻草人
      09-16
      所有单都是这样的
      09-16
      回复
    • 稻草人
      稻草人
      09-17
      请问,这是什么 原因造成的?
      09-17
      回复