收藏
回答

小程序联盟介入服务开通-完成自定义组件接入输入商家订单校验失败?

输入订单号提示

该笔订单号product_info不符合接入规范,请确认后重新校验。开发文档请参考《同步订单并拉起收银台》

微信侧订单号:3303372827882815744

后台已经将订单上传到微信

【请求地址】: https://api.weixin.qq.com/shop/order/add?access_token=保密

【请求参数】:{

    "create_time": "2022-05-18 14:46:33",

    "out_order_id": "2205181446332900041000001777",

    "openid": "保密",

    "path": "/pagesA/orderDetail/orderDetail?orderid=2205181446332900041000001777",

    "out_user_id": "252135895858421777",

    "fund_type": 1,

    "expire_time": 1652856993,

    "order_detail": {

        "product_infos": [

            {

                "out_product_id": "313030611151761502",

                "out_sku_id": "313030611223064607",

                "product_cnt": 1,

                "sale_price": 990,

                "head_img": "https://XXX/test-eshop/1/91f72b202217422caf6cbd39a991b217.png",

                "title": "景乐北欧坐便套马桶垫",

                "path": "pagesA/productDetail/productDetail?id=313030611151761502",

                "sku_real_price": 30,

                "real_price": 30

            }

        ],

        "pay_info": {

            "pay_method_type": 0,

            "prepay_id": "1652856393990",

            "prepay_time": "2022-05-18 14:46:33"

        },

        "price_info": {

            "order_price": 31,

            "freight": 1,

            "discounted_price": 960

        }

    },

    "delivery_detail": {

        "delivery_type": 1

    },

    "address_info": {

        "receiver_name": "测试",

        "detailed_address": "新疆维吾尔自治区可克达拉市兵团六十八团兵团六十八团测试",

        "tel_number": "保密"

    }

}

【响应数据】:{"errcode":0,"data":{"order_id":3303372827882815744,"out_order_id":"2205181446332900041000001777"}}

后台将所有场景的订单上传到微信,

小程序端使用的是 全场景调用requestorderpayment拉起支付收银台,


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

2 个回答

登录 后发表内容