收藏
回答

自定义交易组件售后,订单发货之后,为什么退款不能退运费了?

退款参数 3 分钱,其中 2 分应该是运费,1 分应该是商品价格,这里出现了退款失败的情况

{"openid":"oMPFi5fFZm7-1kH6OzYilUMtG4Kg","order_id":"3302429977949635072","orderamt":3,"out_aftersale_id":"1281376","out_order_id":"s211979676","product_info":{"out_product_id":"101089","out_sku_id":"qjt4251cbi89kjdqtfcc3","product_cnt":1},"refund_reason":"不想要了","refund_reason_type":2,"type":1}

result: {"errcode":2747014,"errmsg":" 售后金额不合法,大于最大可退款金额"}


订单信息

{
    "errcode": 0,
    "order": {
        "order_id": 3302429977949635072,
        "out_order_id": "s211979676",
        "openid": "oMPFi5fFZm7-1kH6OzYilUMtG4Kg",
        "create_time": "2022-04-06 23:41:46",
        "order_detail": {
            "product_infos": [
                {
                    "out_product_id": "101089",
                    "out_sku_id": "qjt4251cbi89kjdqtfcc3",
                    "product_cnt": 1,
                    "sale_price": 1,
                    "title": "驼鹿",
                    "head_img": "https:\/\/store.mp.video.tencent-cloud.com\/161\/20304\/snscosdownload\/SH\/reserved\/624db4bc000c25af00000000696fb40b000000a100004f50",
                    "path": "pages\/productDetail\/productDetail?productId=101089",
                    "sku_attrs": [
                        
                    ],
                    "sku_real_price": 1,
                    "can_after_sale": true
                }
            ],
            "pay_info": {
                "prepay_id": "wx0623414792947178cacc673bcc9f380000",
                "prepay_time": "2022-04-06 23:41:47",
                "transaction_id": "4200001366202204060153695897",
                "pay_time": "2022-04-06 23:41:55",
                "pay_method_type": 0,
                "out_trade_no": "120330242997794963507200000",
                "midas_order_id": ""
            },
            "price_info": {
                "freight": 2,
                "discounted_price": 0,
                "final_price": 3,
                "order_price": 3
            },
            "pay_info_list": [
                
            ],
            "promotion_info": {
                
            }
        },
        "delivery_detail": {
            "delivery_type": 1,
            "delivery_list": [
                {
                    "waybill_id": "432473534547346",
                    "delivery_id": "YTO",
                    "product_info_list": [
                        {
                            "out_product_id": "101089",
                            "out_sku_id": "qjt4251cbi89kjdqtfcc3",
                            "product_cnt": 1
                        }
                    ]
                }
            ],
            "ship_done_time": "2022-04-06 23:42:47"
        },
        "status": 30,
        "path": "pages\/order\/order-list",
        "update_time": "2022-04-06 23:42:55",
        "address_info": {
            "receiver_name": "韩冬",
            "detailed_address": "沪南路2688",
            "tel_number": "86-13085093976",
            "country": "中国",
            "province": "上海市",
            "city": "市辖区",
            "town": "浦东新区"
        },
        "scene": 1000,
        "fund_type": 1,
        "settlement_info": {
            "max_handing_fee": 0,
            "max_unsplit_amount": 3,
            "settlement_list": [
                {
                    "type": 0,
                    "uin": 3848466736,
                    "amount": 3
                }
            ],
            "handing_fee_dyn": 0,
            "merchant_settle": 3,
            "settle_status": 1
        },
        "expire_time": 1649263306,
        "aftersale_duration": 5,
        "receive_duration": 15
    }
}


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

2 个回答

  • 肥小强
    肥小强
    2022-07-08

    现在这个问题解决了吗?我们准备接入视频号组件想知道这个字段需不需要传运费,是未发仅退的状态下。

    2022-07-08
    有用
    回复
  • Memory (私信不回复)
    Memory (私信不回复)
    2022-04-07

    新版自定义交易组件生成售后单退款金额是不可以包含运费的,不可以大于商品金额

    2022-04-07
    有用
    回复 11
    查看更多(6)
登录 后发表内容