__construct() __construct(\EasyWeChat\Payment\Application $app) Parameters \EasyWeChat\Payment\Application $app
handle() handle(\Closure $closure) : \Symfony\Component\HttpFoundation\Response Handle incoming notify. Parameters \Closure $closure Throws \EasyWeChat\Kernel\Exceptions\Exception Returns \Symfony\Component\HttpFoundation\Response
respondWith() respondWith(array $attributes, boolean $sign = false) : $this Parameters array $attributes boolean $sign Returns $this
toResponse() toResponse() : \Symfony\Component\HttpFoundation\Response Build xml and return the response to WeChat. Returns \Symfony\Component\HttpFoundation\Response
getMessage() getMessage() : array Return the notify message from request. Throws \EasyWeChat\Kernel\Exceptions\Exception Returns array
decryptMessage() decryptMessage(string $key) : string|null Decrypt message. Parameters string $key Throws \EasyWeChat\Kernel\Exceptions\Exception Returns string|null
validate() validate(array $message) Validate the request params. Parameters array $message Throws \EasyWeChat\Payment\Kernel\Exceptions\InvalidSignException \EasyWeChat\Kernel\Exceptions\InvalidArgumentException