How to solve this pitfall of WeChat Mini Program 40029
长路漫漫,代码作伴
长路漫漫,代码作伴 2018-09-04 19:22:24
0
2
1796

WeChat applet pays to get openid and {"errcode":40029,"errmsg":"invalid code, hints: [ req_id: PJo8ra07453119 ]"} appears. How to solve it

长路漫漫,代码作伴
长路漫漫,代码作伴

reply all(1)
小公

During the development process of WeChat, when obtaining snsapi_userinfo based on the callback code, an error message {"errcode":40029,"errmsg":"invalid code"} was encountered. Later, it was found that the reason was because during the debugging process of its own internal service, the error message was The code is used twice, causing this error to be prompted. So, if anyone encounters this prompt, please be sure to check whether the code is used twice.

  • reply The background processing is based on the website video. How can the code in the PHP sdk downloaded by the modified (WeChat payment) appear and be used twice?
    长路漫漫,代码作伴 author 2018-09-05 11:16:25
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!