这个是怎么回事,之前看到有个帖子提问,官方回复【您好,目前正在定位修复中,有消息我这边再通知您】,两个月了,解决了么?
原贴地址 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
创建成功。
我也一直报这个错:{"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}
endTime > 86100 报系统繁忙,请稍后重试
maxAmountByDay 单天限额必须为面额[couponAmount]整数倍,单天最高消耗金额不能大于[maxAmount]总消耗金额 ,否则报 “活动未开始或已结束”
stockName字符长度>9 报 “活动未开始或已结束”
添加一下WePayTS8(备注:微信社区XXX问题)