Updated on 2022-04-02 GMT+08:00

Setting the WeChat Notification Server

Prerequisites

  • The enterprise WeChat official account or individual WeChat test account has been created, and information such as appid and appsecret of the official account has been obtained.
  • The NetEco user has the operation rights for Notifications.
  • You have obtained a valid WeChat certificate from the WeChat official account platform (https://mp.weixin.qq.com/) and imported it to NetEcoNBIService-Wechat Certificates. Import the WeChat certificate. For details, see Managing Service Certificates.
  • The network connection between the NetEco and WeChat official account platform (api.weixin.qq.com) is normal.
  • The WeChat official account platform uses the common domain name api.weixin.qq.com for interconnection. Ensure that the NetEco server can access the domain name as a client. The NetEco does not need to function as the server to be accessed by the domain name.
  • To use the enterprise WeChat official account, you need to add the public IP address of the NetEco to the IP address whitelist of the official account.

Procedure

  1. Choose System > System Settings > Notifications from the main menu.
  2. On the Notifications page, choose Third-Party App Notification Settings > Server Configuration on the left. The Server Configuration page is displayed.
  3. On the Server Configuration page, set parameters for the NetEco system and WeChat Official Account server by referring to the following table.

    Table 1 Setting Server parameters

    Parameter

    Description

    Default Value

    Notify method

    Indicates the notification mode used for interconnecting with a third-party app server. Currently, only WeChat Official Account is supported.

    WeChat Official Account

    Official account for receiving notifications

    Indicates the official account that receives the notifications.

    Custom enterprise official account

    Official account App ID

    Indicates the ID of the official account that needs to receive notifications.

    N/A

    Official account App Secret

    Indicates the key of the official account that needs to receive notifications.

    N/A

    Enable

    The system sends third-party app notifications only when server parameter settings are enabled.

    No

  4. Click Apply.