微信卡券开发,代金券修改卡券信息返回40145错误码: invalid update! Can not both set PayCell and CenterCellInfo(include: center_title, center_sub_title, center_url). hint: [DZ9rna0637ent1]

 
修改代金券,接口返回的数组是这样的内容
Array ( [errcode] => 40145 [errmsg] => invalid update! Can not both set PayCell and CenterCellInfo(include: center_title, center_sub_title, center_url). hint: [DZ9rna0637ent1] ) 
 
全局返回码,和卡券错误编码,没有找到这个:40145
 
更改公众号创建的卡券信息接口,团购券和礼品券能够修改这几个字段内容,代金券修改会返回这样的错误提示,是不是代金券不允许修改这几个字段内容?

 使用场景入口 立即使用 center_title、center_sub_title、center_url 仅卡券被用户领取且处于有效状态时显示(未到有效期、转赠中、核销后不显示)。
 
 
 
一开始我也郁闷为什么代金券就是很特殊,后面仔细看了下文档
 
并且比对了一下其他修改《使用场景入口》成功的卡券,核销方式要不是自助核销,要么是扫码核销,而改不了的这批卡券(代金券)全部是自助买单,看到这里好像发现了什么,于是将卡券改成自助核销
 
代金券也能修改center_title, center_sub_title, center_url这些值了
 
 
 
posted @ 2016-09-05 20:12  liugx  阅读(848)  评论(0编辑  收藏  举报