EventKey's subscribe event example

Y2J
Release: 2017-05-06 09:53:42
Original
4087 people have browsed it

If the user has ever made a payment in this official account, the EventKey will contain the last transaction order number when paying attention, such as

last_trade_no_4002752001201704258347703919
Copy after login

<xml>
    <ToUserName><![CDATA[gh_fcc4da210ff0]]></ToUserName> 
    <FromUserName><![CDATA[oiPuduCHIBb2aHvZoqSm1t7KbXtw]]></FromUserName> 
    <CreateTime>1493702623</CreateTime> 
    <MsgType><![CDATA[event]]></MsgType> 
    <Event><![CDATA[subscribe]]></Event> 
    <EventKey><![CDATA[last_trade_no_4002752001201704258347703919]]></EventKey> </xml>
Copy after login

[Related recommendations]

1. WeChat public account platform source code download

2. WeChat voting source code download

The above is the detailed content of EventKey's subscribe event example. For more information, please follow other related articles on the PHP Chinese website!

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!