收藏
回答

获取prepay_id时报错:系统繁忙,请稍后重试

我参考的文档是:https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter3_1_1.shtml

但是获取prepay_id时报错:系统繁忙,请稍后重试,已经两天了,都是报这个错。

本人是直连商户,用的接口是:https://api.mch.weixin.qq.com/v3/pay/transactions/jsapi

最后一次编辑于  01-10
回答关注问题邀请回答
收藏

2 个回答

  • 支付社区运营-Tasting
    支付社区运营-Tasting
    01-11

    参考一下这个,看看能否解决您的问题哈~https://developers.weixin.qq.com/community/develop/doc/0000ea33564b40ac7f7b514b35bc09

    01-11
    有用
    回复
  • 遇见
    遇见
    01-10

    感觉是不是请求体缺少东西?用的如下模板:

    String reqdata = "{"

            + "\"amount\": {"

            + "\"total\": 100,"

            + "\"currency\": \"CNY\""

            + "},"

            + "\"mchid\": \"1900006891\","

            + "\"description\": \"Image形象店-深圳腾大-QQ公仔\","

            + "\"notify_url\": \"https://www.weixin.qq.com/wxpay/pay.php\","

            + "\"payer\": {"

            + "\"openid\": \"o4GgauE1lgaPsLabrYvqhVg7O8yA\"" + "},"

            + "\"out_trade_no\": \"1217752501201407033233388881\","

            + "\"goods_tag\": \"WXG\","

            + "\"appid\": \"wxdace645e0bc2c424\"" + "}";

    01-10
    有用
    回复
登录 后发表内容
问题标签