For the complete documentation index, see llms.txt. This page is also available as Markdown.

Wechat (wechat)

Wechat project's capability scope, deployment products, integration entrance and usage boundaries.

Provide WeChat accounts, public platforms, third-party platforms and payment adaptation. Application identity, user identity, platform authorization and merchant permissions need to be handled separately.

Item
value

source code directory

externals/wechat

main bag

Zongsoft.Externals.Wechat

Deployment and Usage Portal

Append the main package to the existing host's Deployment checklist, and retain the plugin list, assembly and ancillary running resources in the package:

Application.deploy (append fragment)
[plugins zongsoft externals wechat]
nuget:Zongsoft.Externals.Wechat

Configure accounts, certificates and services according to the package options. The main package provides client capabilities, and the HTTP API and callback entry are independent products.

Related products include Zongsoft.Externals.Wechat.Web and Zongsoft.Externals.Wechat.Gateway, which can be combined according to actual needs.

Integration Steps

  1. First determine the WeChat product used and the identity of the corresponding application or merchant.

  2. Check the authorization, token saving and refresh processes, and then verify the required client operations.

  3. Register the handler when receiving the callback to verify the signature, decryption, duplicate notification and response content required by the target protocol.

For specific configuration, calling examples and related basic concepts, see Cloud Services and Callbacks.

Project Boundaries

💡 Default Gateway's POST dispatch is not equal to complete platform address verification or automatic signature verification. Source verification and idempotent check should be completed before business execution, and the gateway routing name cannot be used as the basis for authentication.

Further Reading

Browse extensions by project · Cloud Services and Callbacks · source code and project description

Last updated