Witype Notice: Undefined index: code in /home/wwwroot/j1-discuss/vendor/stanleysong/flarum-ext-auth-wechat/src/WechatAuthController.php on line 44 flarum version: beta.7 how can I fix it?
fenger My flarum version :0.1.0-beta.7 root@iZm5e0mritkiz9mvj0gzZ:# composer require stanleysong/flarum-ext-auth-wechat Failed to decode response: zlib_decode(): data error Retrying with degraded mode, check https://getcomposer.org/doc/articles/troubleshooting.md#degraded-mode for more info Your configuration does not allow connection to http://packagist.org. See https://getcomposer.org/doc/06-config.md#secure-http for details. http://packagist.org could not be fully loaded, package information was loaded from the local cache and may be out of date [Composer\Downloader\TransportException] Your configuration does not allow connection to http://packagist.org. See https://getcomposer.org/doc/06-config.md#secure-http for details. require [--dev] [--prefer-source] [--prefer-dist] [--no-plugins] [--no-progress] [--no-update] [--update-no-dev] [--update-with-dependencies] [--ignore-platform-reqs] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--] [<packages>]...
EnzoLwb StanleySongX need need to pay ¥300 for wechat Developer Qualification Certification ? get app id and secrets?
iCosmo EnzoLwb Yes, 300 RMB. Maybe there is information you need here. https://open.weixin.qq.com/cgi-bin/index?t=home/index&lang=en_US https://open.weixin.qq.com/cgi-bin/frame?t=home/wx_plugin_tmpl&lang=en_US
mkdirmushroom Will there be an updated plan in the future?There are many people who need WeChat login, especially Chinese developers.
NomisCZ If I have time, I could try to fix it / create new extension (rewrite some "bad things"), but it looks like "country restricted thing", so maybe I won't be able to test it.
NomisCZ yhuchs I created new extension, but I can't verify that it works properly (WeChat developer account verification is *** thing ...), so you can try it composer require nomiscz/flarum-ext-auth-wechat:dev-master. If everything works, I would publish it. Please test it 🙂
Littlegolden NomisCZ Well, individual developers cannot apply for a secret key. . . A business license or 300 CNY is required. . .
yhuchs NomisCZ ok,thx. callback url Tips:Wrong scope parameter or no scope permission Official documents:https://developers.weixin.qq.com/doc/offiaccount/OA_Web_Apps/Wechat_webpage_authorization.html Another request, Can I bind or unbind wechat account in personal center?