收藏
回答

生成售后单 errcode:2747014,售后金售后金额不合法,大于最大可退款金额?

调用新版微信交易组件后,售后退款一直返回:售后金额不合法,大于最大可退款金额

我通过订单详情接口得到这个订单的状态是:20 {"state":"success","msg":"小程序获取订单详情成功","code":null,"data":{"order":{"order_id":"3302784357715017984","out_order_id":"660352136","status":20,"path":"user/order/orderdetail?orderId=660352136","scene":1195,"address_info":{"receiver_name":"测试","detailed_address":"广东省广州市天河区羊城创意产业园","tel_number":"13533877021","country":"","province":"","city":"","town":""},"create_time":"2022-04-22 15:12:38","update_time":"2022-04-22 15:13:48","out_user_id":"","order_detail":{"promotion_info":{"promoter_id":"WXT5FE547oippwuJAXFo3SCPxLdgMuDrQSq7WDnNyco","finder_nickname":"帅帅哒鬼"},"sharer_info":null,"product_infos":[{"out_product_id":"30946426","out_sku_id":"","product_cnt":1,"sale_price":2800,"path":"/product/detail/index?infoId=30946426","title":"SMART·全自动智能感应垃圾桶【限时抢购48元/个】开启智能家居生活时代","head_image":null,"real_price":null}],"pay_info":{"pay_method":null,"prepay_id":"wx221512397466089f611226c4c292dc0000","prepay_time":"2022-04-22 15:12:39","transaction_id":"4200001362202204227069645236","pay_time":"2022-04-22 15:12:48","pay_method_type":0},"price_info":{"order_price":2800,"freight":0,"discounted_price":0,"additional_price":0,"additional_remarks":""},"delivery_detail":null}}},"success":true}

然后调用新版售后接口:通知微信交易组件售后请求:{"out_order_id":"660352136","out_aftersale_id":"660352136761326","openid":"ogKxA4y17VtqNGySV2Yvg38YOQ78","type":2,"refund_reason":"客人申请退款,分销商确认收货","refund_reason_type":2,"orderamt":2800,"product_info":{"out_product_id":"30946426","out_sku_id":"30946426","product_cnt":1}}

通知微信交易组件退款售后响应:{"state":"error","msg":"小程序创建售后失败: 售后金额不合法,大于最大可退款金额","code":"2747014","success":false}

试了其他新下的单也都是这个错误。可以帮查查嘛?




回答关注问题邀请回答
收藏

1 个回答

  • Demons
    Demons
    2022-04-25

    你好提供一下openid,out_order_id


    2022-04-25
    有用
    回复 3
    • Nostalgiaつ
      Nostalgiaつ
      2022-04-25
      openid:ogKxA4y17VtqNGySV2Yvg38YOQ78,out_order_id:660352136
      2022-04-25
      回复
    • Demons
      Demons
      2022-04-25回复Nostalgiaつ
      这个字段,不能为0
      2022-04-25
      回复
    • Nostalgiaつ
      Nostalgiaつ
      2022-04-25回复Demons
      你好,我们在创建订单的时候这个字段是传了值的·不然也不能创建订单成功。然后生成支付参数去支付
      2022-04-25
      回复
登录 后发表内容