收藏
回答

调用【创建代金券批次API】,返回【活动未开始或已结束】?

这个是怎么回事,之前看到有个帖子提问,官方回复【您好,目前正在定位修复中,有消息我这边再通知您】,两个月了,解决了么?

原贴地址 https://developers.weixin.qq.com/community/pay


券生效时间设置:

设置 【领取后有效时间】

"available_time_after_receive"=>1440  

返回:{"code":"REQUEST_BLOCKED","message":"活动未开始或已结束\n"}


如果设置【固定时间段可用】:

"fix_available_time"=> [
    "available_week_day"=> [1],
   "begin_time"=> 0,
   "end_time"=> 3600
]  

返回:{"code":"SYSTEM_ERROR","message":"系统繁忙,请稍后重试"}


如果设置【领取第二天生效】:

"second_day_available"=>false

创建成功。

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

2 个回答

  • 微信支付技术助手8
    微信支付技术助手8
    01-06

    添加一下WePayTS8(备注:微信社区XXX问题)

    01-06
    有用
    回复
  • 小z
    小z
    04-17

    我也一直报这个错:{"code":"REQUEST_BLOCKED","message":"活动未开始或已结束\n"}

    {"comment":"remark","stock_name":"代金券名称","belong_merchant":"123123","available_begin_time":"2020-04-26T20:00:00.000+08:00","available_end_time":"2020-04-30T23:59:59.000+08:00","stock_use_rule":{"max_coupons":100,"max_amount":10000,"max_amount_by_day":100000,"max_coupons_per_user":1,"natural_person_limit":false,"prevent_api_abuse":false},"pattern_info":{"description":"使用说明"," background_color":"Color020","merchant_name":"商户名称","merchant_logo":"https://pub-img.xxx.com/material/image/2019/11/3aaae9ccb801447a8fcd710f9a7e4a64.jpg"," coupon_image ":"https://pub-img.xxx.com/material/image/2019/11/3aaae9ccb801447a8fcd710f9a7e4a64.jpg"},"coupon_use_rule":{"coupon_available_time":{"fix_available_time":{"begin_time":0,"end_time":null,"available_week_day":[]},"second_day_available":false,"available_time_after_receive":1440},"fixed_normal_coupon":{"coupon_amount":100,"transaction_minimum":1000},"disscount_coupon":null,"exchange_coupon":null,"trade_type":["APPPAY"],"combine_use":true,"limit_pay":[],"goods_tag":["213"],"available_items":["23132"],"unavailable_items":[],"available_merchants":["123123"]},"no_cash":true,"stock_type":"NORMAL","out_request_no":"1223123131","ext_info":null}
    


    04-17
    有用
    回复 5
    • 云生
      云生
      04-22
      解决了吗,
      04-22
      回复
    • 小z
      小z
      05-08回复云生
      解决了,微信哪边校验参数问题
      05-08
      回复
    • 魁魈魑魅魍魉
      魁魈魑魅魍魉
      05-23回复小z
      哪个参数校验出现了问题
      05-23
      回复
    • 小z
      小z
      05-25回复魁魈魑魅魍魉
      endTime 为null 报系统繁忙,请稍后重试
      endTime > 86100 报系统繁忙,请稍后重试
      maxAmountByDay 单天限额必须为面额[couponAmount]整数倍,单天最高消耗金额不能大于[maxAmount]总消耗金额 ,否则报 “活动未开始或已结束”
      stockName字符长度>9 报 “活动未开始或已结束”
      05-25
      回复
    • 左边
      左边
      07-24回复魁魈魑魅魍魉
      我也遇到了同样的问题,请问有解决么
      07-24
      回复
登录 后发表内容
问题标签