收藏
回答

完结支付分订单出现错误,提示:付费金额信息错误。为什么?

一个关于微信支付分完结订单的错误

返回结果:    {"code":"PARAM_ERROR","message":"付费金额信息错误"}

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

2 个回答

  • 海阔天空
    海阔天空
    2020-06-27

    JSONObject parameters = new JSONObject();

                parameters.put("appid", appId);

                parameters.put("service_id", service_id);

                List<JSONObject> postPaymentsList = new ArrayList<>();

                JSONObject postPayments = new JSONObject();

                postPayments.put("name", "无人售货机购物");

                postPayments.put("amount ",18);

                postPaymentsList.add(postPayments);

                parameters.put("post_payments", postPaymentsList);

                parameters.put("total_amount",18);

                JSONObject timeRange = new JSONObject();

                timeRange.put("end_time", DateUtil.format(new Date(), "yyyyMMddHHmmss"));

                parameters.put("time_range", timeRange);



    创建支付分订单时,订单风险金额是9

    2020-06-27
    有用
    回复
  • _天马行空_ᯤ⁶ᴳ
    _天马行空_ᯤ⁶ᴳ
    2020-06-27

    看看你的参数

    2020-06-27
    有用
    回复
登录 后发表内容
问题标签