Wechat Validator 微信服务器验证器引擎

Documentation License

Gem Version Dependency Status

The Wechat Server Validator Engine is an engine which handles the Wechat server validation requests. 微信服务器验证引擎是一个处理微信服务器验证请求的引擎。

Recent Update

Check out the Road Map to find out what's the next. Check out the Change Log to find out what's new.

Usage

In the application's /config/routes.rb file, add the following line:

mount Wechat::Validator::Engine, at: '/wechat-validator'

In the application's /config/secrets.yml file, add the following line for the development, test, and production categories. The wechat_validation_token should be identical with the token configured.

wechat_validation_token: {Your Wechat Validation Token}

Configure the following URL in the Wechat: http://youryour.domainyour.domain.name/wechat-validator/server_validations