- 微信支付代金券-apiv3创建微信代金券开发咨询-系统繁忙,请稍后重试
问题描述: 1. 测试商户号:1457959102 2. 提交数据包: [代码]{[代码] [代码] [代码][代码]"stock_name"[代码][代码]: [代码][代码]"微信代金券V3-测试1勿领"[代码][代码],[代码] [代码] [代码][代码]"comment"[代码][代码]: [代码][代码]"测试测试1"[代码][代码],[代码] [代码] [代码][代码]"belong_merchant"[代码][代码]: [代码][代码]"1487774932"[代码][代码],[代码] [代码] [代码][代码]"available_begin_time"[代码][代码]: [代码][代码]"2019-10-21T10:30:00.120+08:00"[代码][代码],[代码] [代码] [代码][代码]"available_end_time"[代码][代码]: [代码][代码]"2019-10-21T23:59:59.120+08:00"[代码][代码],[代码] [代码] [代码][代码]"stock_use_rule"[代码][代码]: {[代码] [代码] [代码][代码]"max_coupons"[代码][代码]: 100,[代码] [代码] [代码][代码]"max_amount"[代码][代码]: 500,[代码] [代码] [代码][代码]"max_amount_by_day"[代码][代码]: 100,[代码] [代码] [代码][代码]"max_coupons_per_user"[代码][代码]: 100,[代码] [代码] [代码][代码]"natural_person_limit"[代码][代码]: [代码][代码]false[代码][代码],[代码] [代码] [代码][代码]"prevent_api_abuse"[代码][代码]: [代码][代码]false[代码] [代码] [代码][代码]},[代码] [代码] [代码][代码]"pattern_info"[代码][代码]: {[代码] [代码] [代码][代码]"description"[代码][代码]: [代码][代码]"微信支付营销代金券测试1"[代码][代码],[代码] [代码] [代码][代码]"merchant_logo"[代码][代码]: [代码][代码]"https://image.sweetmartmarketing.com/wx_mini/QYeQvrJfnX.jpg"[代码][代码],[代码] [代码] [代码][代码]"merchant_name"[代码][代码]: [代码][代码]"知而行"[代码][代码],[代码] [代码] [代码][代码]" background_color"[代码][代码]: [代码][代码]"#fff333"[代码][代码],[代码] [代码] [代码][代码]" coupon_image "[代码][代码]: [代码][代码]"https://image.sweetmartmarketing.com/coupon/100000757_1_VHam7M.jpg"[代码] [代码] [代码][代码]},[代码] [代码] [代码][代码]"coupon_use_rule"[代码][代码]: {[代码] [代码] [代码][代码]" fixed_normal_coupon "[代码][代码]: {[代码] [代码] [代码][代码]"coupon_amount"[代码][代码]: 1,[代码] [代码] [代码][代码]"transaction_minimum"[代码][代码]: 2[代码] [代码] [代码][代码]},[代码] [代码] [代码][代码]"trade_type"[代码][代码]: [[代码] [代码] [代码][代码]"OTHER"[代码][代码],[代码] [代码] [代码][代码]"MICROAPP"[代码][代码],[代码] [代码] [代码][代码]"CARD"[代码] [代码] [代码][代码]],[代码] [代码] [代码][代码]"combine_use"[代码][代码]: [代码][代码]false[代码][代码],[代码] [代码] [代码][代码]"available_items"[代码][代码]: [[代码] [代码] [代码][代码]"123123"[代码][代码],[代码] [代码] [代码][代码]"456456"[代码] [代码] [代码][代码]],[代码] [代码] [代码][代码]"unavailable_items"[代码][代码]: [[代码] [代码] [代码][代码]"789789"[代码][代码],[代码] [代码] [代码][代码]"111111"[代码] [代码] [代码][代码]],[代码] [代码] [代码][代码]"available_merchants"[代码][代码]: [[代码] [代码] [代码][代码]"1487774932"[代码][代码],[代码] [代码] [代码][代码]"1457959102"[代码] [代码] [代码][代码]][代码] [代码] [代码][代码]},[代码] [代码] [代码][代码]"no_cash"[代码][代码]: [代码][代码]false[代码][代码],[代码] [代码] [代码][代码]"stock_type"[代码][代码]: [代码][代码]"NORMAL"[代码][代码],[代码] [代码] [代码][代码]"out_request_no"[代码][代码]: [代码][代码]"1487774932201910210957123001"[代码] [代码]}[代码] 3. 响应数据包: [代码]{[代码][代码]"code"[代码][代码]:[代码][代码]"SYSTEM_ERROR"[代码][代码],[代码][代码]"message"[代码][代码]:[代码][代码]"系统繁忙,请稍后重试"[代码][代码]}[代码]
2019-10-21 - 微信支付代金券-apiv3营销事件推送开发咨询
问题描述: 1. 测试商户号:1457959102 2. 已按照“营销事件推送” 指引文档开通了“营销产品功能-营销事件推送” 产品功能 3. 已按照APIV3接口文档“设置消息通知API” 设置了回调通知Url (接收POST/ json格式body数据),指定了producer Content-Type = ‘application/json;charset=utf-8’(https://pay.weixin.qq.com/wiki/doc/apiv3/convention.php?chapter=13_4&index=4) 4. 测试核销微信单品代金券时,微信推送事件过来时,回调Url报错“org.springframework.web.HttpMediaTypeNotSupportedException: Content type 'application/octet-stream;charset=UTF-8' not supported” 为什么文档描述这个回调通知要使用 POST json格式body数据,却提示Content-Type 'application/octet-stream;charset=UTF-8' not supported ? [图片] 5. 将回调URL通知接口移除了 Content-Type 限制,能够接收回调,但是接收不到任何内容。 [图片] 以上测试是根据文档:https://pay.weixin.qq.com/wiki/doc/apiv3/convention.php?chapter=3_1 希望提供更清晰的文档指引解决,谢谢。
2019-07-29