收藏
回答

云托管调用支付接口,返回一个“参数格式校验错误” 不知道哪点问题?

请求内容:

{"container":{"path":"/openapi/booking/wx_pay_order_notify","service":"lxz-wx-booking"},"openid":"oN1Al5Gt64raz4RPOFi-eT5nbuRw","subMchId":"1604370342","body":"支付测试联调","sub_appid":"wx12c20f57f82e5bd2","sub_mch_id":"1604370342","nonceStr":"52629fb87750483ea8d6248f805","env_id":"prod-8gj76z9ke27b908a","callback_type":"2","totalFee":10,"outTradeNo":"2022030601990000000017","spbillCreateIp":"10.0.192.25","tradeType":"JSAPI"}


, out:{"errcode":0,"errmsg":"ok","respdata":{"return_code":"FAIL","return_msg":"参数格式校验错误"}}

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

1 个回答

  • 疯狂的小辣椒
    疯狂的小辣椒
    2022-03-07

    你好,具体调用的哪个接口?请补充环境id,请求时间

    2022-03-07
    有用
    回复 3
    • 宏叔®
      宏叔®
      2023-05-09
      接口 http://api.weixin.qq.com/_/pay/unifiedOrder  ,环境 prod-4gb2q25m538957ce   时间是 unixtime 1683341547
      2023-05-09
      回复
    • 宏叔®
      宏叔®
      2023-05-09
      完整数据如下 {"out_trade_no":1683341547,"body":"微信支付测试","total_fee":50,"openid":"o1A6u4md1zyf7uqEg3obw3ivDYag","env_id":"prod-4gb2q25m538957ce","appid":"wx43f46dfd311facc3","spbill_create_ip":"116.228.38.138","mch_id":"1511954081","container":{"service":"develop","path":"/api/payback"}}
      2023-05-09
      回复
    • 宏叔®
      宏叔®
      2023-05-09
      试过 sub_mch_id , 去掉 appid,  以及 /_/pay/unifiedorder (小写 O) 各种组合
      2023-05-09
      回复
登录 后发表内容
问题标签