收藏
回答

自定义交易组件生成订单pay_info 字段异常?

异常 {"errcode":1010004,"errmsg":"pay_info字段异常,请检查json及字段合法性 rid: 6247bb8b-6fcb232c-4ccecb74"}

各路大神帮看看是怎么回事,明明已经按照文档的参数请求了,还是报异常。

{

    "address_info":{

        "detailed_address":"陕西省西安市新城区测试",

        "tel_number":"1353*******",

        "receiver_name":"吴先生"

    },

    "create_time":"2022-04-02 10:57:09",

    "fund_type":0,

    "openid":"o4urn5TMsCJxV7gAEo*********",

    "expire_time":"1648870029",

    "order_detail":{

        "price_info":{

            "freight":1600,

            "additional_price":1500,

            "order_price":9632

        },

        "pay_info":{

            "pay_method_type":0

        },

        "product_infos":[

            {

                "out_sku_id":"1491693369080709121",

                "product_cnt":1,

                "head_img":"https://ishop-20200723.oss-cn-beijing.aliyuncs.com/1/material/dd1e5de5-ea9e-4118-9ffb-b43365b44b09.jpg",

                "title":"假绵羊",

                "sale_price":3312,

                "path":"/pages/goods/goods-detail/index?id=1491693369068126209",

                "out_product_id":"1491693369068126209",

                "sku_real_price":4077

            },

            {

                "out_sku_id":"1375265876317372418",

                "product_cnt":1,

                "head_img":"https://ishop-20200723.oss-cn-beijing.aliyuncs.com/1/material/0c1da2f7-7c3e-4531-95dd-030771123b36.jpg",

                "title":"三点白",

                "sale_price":3220,

                "path":"/pages/goods/goods-detail/index?id=1375016428236505090",

                "out_product_id":"1375016428236505090",

                "sku_real_price":3955

            }

        ]

    },

    "scene":"1037",

    "out_order_id":"1501239919125479426"

}

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

1 个回答

登录 后发表内容