WeappMessageAPI json={"data":{"keyword5":{"value":"2019-11-07 14:07:51"},"keyword3":{"value":"0.01元"},"keyword4":{"value":"!"},"keyword1":{"value":"811923227525804...."},"keyword2":{"value":"ipad等商品"}},"form_id":"wx.............","page":"/pages/order_detail/order_detail?billNo=81192322752580497408","template_id":"JSiK5H2JwCXp8O9ZcOCcFUbBkGUOAdygh3YCO......","touser":"oYWwC5aEY6yJXPbkT61W......"}
2019-11-07 14:08:07.890 INFO [827-exec-2] c.o.h.w.s.i.ApiServiceImpl - 小程序执行Action出现API异常:code=41028, msg=invalid form id hint: [ylXHca08873933], 执行重试, times=2
form_id 是从支付时获取的预支付订单id 刚支付成功发送推送就报错了
目前小程序没有发布过
支付完成后可以延迟10秒左右发送模板消息
另外,模板消息即将下线,请关注订阅消息,参考公告:https://developers.weixin.qq.com/community/develop/doc/00008a8a7d8310b6bf4975b635a401?blockType=1
年底过期,都不爱研究它了。
模板请把字段顺序写好,是keyword1-5,而不是乱七八糟