收藏
回答

自定义交易组件生成订单一直报这个异常?

    "errcode"1010004,

    "errmsg""pay_info字段异常,请检查json及字段合法性 rid: 6243ca26-02d6db4d-7f32013a"

{
  "create_time""2022-03-29 15:13:25",
  "out_order_id""100693385465",
  "openid""oG2jE5HPwOr8JgG4waSRnjdkNqNc",
  "path""/pages/order/detail/detail?out_order_id=100693385465",
  "scene"1177,
  "out_user_id""11265",
  "order_detail": {
    "product_infos": [
      {
        "out_product_id""73838",
        "out_sku_id""61907",
        "product_cnt"1,
        "sale_price"3900,
        "sku_real_price"3900,
        "path""pages/productDetail/productDetail?productId=73838",
        "title""黑芝麻丸108g/袋",
        "head_img""https://mmecimage.cn/p/wx7620fb408ede7f4d/HB3LmVvszuocsag6CiN8BVxdmabYpyMHxIU-Y3YAsA"
      }
    ],
    "pay_info": {
        "pay_method_type"0
    },
    "price_info": {
      "order_price"3900,
      "freight"0,
      "discounted_price"0,
      "additional_price"0,
      "additional_remarks"""
    }
  },
  "delivery_detail": {
    "delivery_type"1
  },
  "address_info": {
    "receiver_name""张三",
    "detailed_address""上海",
    "tel_number""*******",
    "country""中国",
    "province""上海",
    "city""上海",
    "town"""
  },
  "fund_type"0,
  "expire_time""1649552725"
}
回答关注问题邀请回答
收藏

1 个回答

登录 后发表内容