openid must belong to this account
The same person has different identifiers in an official account, a mini program and the Open Platform. Sending a mini program openid to an official account message always fails.
Bridge them with unionid: bind the official account and mini program to the same Open Platform account, then map unionid to each openid.
User state decides delivery
Users who unfollowed cannot receive template messages, and the API returns a not-following error. Plan an SMS or alternative channel for that case.
There are rate limits. Sending in bursts, especially marketing content, triggers throttling.
Fields and jumps
The data keys must match the template exactly and values cannot be empty strings. Colour fields are optional.
Jumps can target a web page or a mini program. For mini programs, the appid and page path must exist, otherwise users land on a blank page.
FAQ
Can template messages reach users who never followed?
No. Only followers of the account can receive them.
Are subscription notifications better?
They require per-use authorisation but comply better with current rules and are the recommended direction for new builds.
The API succeeded but the user got nothing. Why?
Check whether they unfollowed, whether notifications are muted, and whether rate limits applied. API success only means the platform accepted it.
Related questions
Further reading
- WeChat Pay Merchant Setup Service details
- Debugging WeChat Pay Callbacks: Did the Request Arrive
- What Are the Common API Configuration Errors in Official Account Development? A Checklist Approach
- What to Do When Alipay Merchant Setup Documents Are Rejected? Correction Tips and Document Checklist
- Why WeChat Pay Settlements Get Delayed: Checking Order, Records and Bank Side
Sources & References
The following are public sources. Always check the latest requirements on the official authority or platform page.
