froger-me / wp-weixin Goto Github PK
View Code? Open in Web Editor NEWWordPress WeChat integration
License: GNU General Public License v3.0
WordPress WeChat integration
License: GNU General Public License v3.0
Using Wordpress 5.5.3 and properly setup wp-weixin with the credentials of our (company's) Official Account.
I just setup three articles and combined them to a broadcast, which was published afterwards. A first quick test last week failed, but to day the broadcast was " broadcasted successfully" - according to the status message in wordpress, it never appeared in Wechat. For a second try the same. Both keep an empty log.
Can I check somewhere if the broadcast was refused? Need to check in WeChat-BAckend?
这几天出现部分用户在手机微信上登录出现 CSRF令牌无效,不能登录。
只能停用本插件才临时解决问题。这种问题有什么办法可以查是什么原因导致的吗?
使用本系统已1个多月,功能和稳定性都达到了我们的预期。现在有一个问题一直困扰着我们,就是在用户通过微信浏览器第一次登录系统后系统会自动的创建一个以我们域名为后缀的邮箱,但是这个邮箱是不确定的。
如可以让用户在第一次登录时输入自己正确的邮箱用于完善个人资料是一个很好的选择。
我看了所有文档,没有找到可以实现这个功能的方法。
请问,可以连接企业微信吗?
When I turn on "Enable WeChat authentication" I am getting the error "Unable to log in WeChat - Authorized callback domain verification error. Error code: 10003" in H5. When I try to access the site through other browsers this does not appear.
Any idea what might be causing this? I presume it is a misconfiguration somewhere, but not really sure where to start.
The website address is https://www.manlaoriver.com and I have left the setting in tack if you would like to see the messgae for yourself.
您好,感谢您提供的免费插件,我再使用过程中发现H5进行微信支付时候,如果微信端没有支付,再回到H5,插件并没有根据是否支付成功显示出相应的页面,也没有地方进行相关的配置,这样的话,很容易对终端客户造成一个误解,以为已经支付成功了。
Hello Alexandre,
I am wondering is there a setting or hooks for h5 in mobile browser to work. Out of the box, I notice that if checkout by mobile browser, it's just like a PC which shows QR code to scan. Thanks.
Chris
Best Regards
我想了解下如一个用户在第一次打开网站关注了公众号,然后再取消关注公众号,如何实现第二次打开网站时还需要关注?
我现在遇到的问题是取消关注后还能继续打开网站!
万分感谢!
As we understand the description, we can setup our own menues in Wordpress to be used in wechat, if we switsch to the wechat responder feature and setup the correspoding menues. That will overrule the actual menues set in Wechat Backend.
But Is there a way back? For a language switching menu (other php-based app) we already use the api. we can temporarily turn that app off, but after using the autorepsonder will we be able to switch back?
another question is about using the auto responder and worpdress hostet menues. Can it be combined with the "Official Account menu language awareness"-feature. We are aiming to provide the menu in different languages depending on the user's wechat settings - including a "fallback"-language which is used when the user's langugae is not supported by us (e.g. Swedish or Spanish user see English menues, while Chinese see Chinese language. Do the menues also include the extended length of menue items?
We couldn't try, but can different languages in the menues be provided by usage of WPML or Polylang in Wechat? Or does the Language options for the different languages appear somehow in the menu options?
BTW: great set of tools accessing wechat api you did here! best and most "standarized" I have seen so far.
I use the Pods to add a custom post type. I can not find the WP Wexin option in custom post type.
I saw a Advanced Supports which can add the custom "supports" values to pass to register_post_type. Is that a field I can add a WP Wexin? what Should I input?
Thanks first in any help!
Hello,
https://wordpress.org/support/topic/white-page-upon-saving-setting/
The above issue was fixed with your latest update.
I tried to have a test in a subsite of our multisite, but it show the token authentication fail, when I follow the this instructions:
"https://test.mysite.com/weixin-responder" in https://mp.weixin.qq.com/ under Development > Basic configuration.
I am sure I input WeChat AES Key and WeChat Token, and FYR, screenshot at http://prntscr.com/kywrp3
Alex
Hi Froger, thanks for your work in advance.
I installed wp-weixin and Woo WeChatPay.
Domain has been registered in the Official account's backend.
The menu of WeChat Service account is linked to the website, when checkout, an error shows "User has authorized in Tencent browser but OPENID not found."
The settings of my website backend
If you want, an access to the website backend can be offered.
Thank you.
when i open the web(with this plugin) within weixin browser.
it give me an error indicate that openid is missing.
whats more
if I enable the option
#: inc/class-wp-weixin-settings.php:534
msgid "Enable WeChat authentication"
msgstr "启用微信身份验证"
it can't be open within the weixin browser.
can u please give me some tips to slove this?
Hello,
I saw your previous post on this issue: #2
I have the exact same problem,
Could you please elaborate the fix :-)
you say: "Was an error in the rewrites "
Thank you
Theo
首先很感谢您开发这么好用的插件。
现在大部分功能都可以正常使用,关注和发送用户信息都OK。
关于让wordpress接管微信菜单部分我也全部设置OK了,但是在微信公众号上还是没有出现设置的菜单。
我想问下:
感谢!
都是**人会用这个插件,为啥不写中文的文档
the qrocde generator shows the error image picture when trying to generating a qrcode for classic browser. The following is the image address of said image
when click on "WeChat QR Code Authentification" on the login page, it simply redirect me to :
https://pierreledent.cn/wp-weixin/wechat-auth
which resulted in a 404 error.
Thanks for the hard work.
因为启用微信身份认证的话,网页上注册的用户无法在微信上重新登录
我想在用户通过手机扫描PC二维码登录系统时,将手机上自动重新定位到my-Account页而不是现在的提示“验证成功".
我通过帮助文件看到使用:
apply_filters( 'wp_weixin_auth_redirect','/my-account/');
但是好像不起作用。不知什么地方出了问题。感谢!
The plugin is very helpful and useful, but for me who lacks programming knowledge, it's a bit difficult to get started.
I tried adding a menu and filled in the name and key values, but it didn't take effect
I hope to add instructions on setting custom menus, or a template.
This is one of the few plugins for wechat that is so complete and maintains updates
Hi,
I face this error after trying to pay with wechat.
(the wechat login is working fine, thank you)
The order has failed. Reason: 签名错误
edit 👍
here a screenshot : http://prntscr.com/p2gfk8
I use the WOO wechat pay module
Could you please guide me in order to find a solution.
Thank you
Software Version
WordPress 5.4
wp-weixin 1.3.11
The WeChat account is a verified "subscriber" account, which has access to obtain the user information.
Issues
My Setting
This means that the Responder is connected successfully.
Waste a lot of time and get no result.
If this is the issue, add a notice in the readme file might be better.
Can I push WooCommerce order notifications to my users?
I installed this plugin recently and noted that my tokens are instantly expiring and renewed with every request. This has led to my account running out of tokens within a few hours of testing.
I decided to look through the code and noted that the code that checks the expiry of the token is using current_time(). I changed it to time() and realized that the token expiry check is now working as intended, which is to get a new token if the expiry is within 30 mins of expiry.
I have no idea if this "fix" will negatively impact the plugin so I am submitting this issue for further investigation.
File: wp-weixin/inc/class-wp-weixin-wechat-singleton.php
Line: 28
( current_time( 'timestamp' ) + 1800 ) >= absint( self::$wechat->getAccessTokenExpiry() ) ||
to
( time () + 1800 ) >= absint( self::$wechat->getAccessTokenExpiry() ) ||
It's unuseful after I set the proxy with tinyproxy. So sad
I'm receving this error, when I try to install the plugin
supplied for foreach() in /var/www/html/wp-content/plugins/wp-weixin-master/inc/class-wp-weixin-settings.php on line 77
Warning: Invalid argument supplied for foreach() in /var/www/html/wp-content/plugins/wp-weixin-master/inc/class-wp-weixin-settings.php on line 77
Warning: Invalid argument supplied for foreach() in /var/www/html/wp-content/plugins/wp-weixin-master/inc/class-wp-weixin-settings.php on line 77
Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/wp-content/plugins/wp-weixin-master/inc/class-wp-weixin-settings.php:77) in /var/www/html/wp-admin/includes/misc.php on line 1126
The Wechat log in page keep re appearing (after pressing the "Log in" field/block next to "Sign up" )and can't move to next page that calls for username ID and password. Already unistalled and re installed Wechat back many time, problem remains. Need help
How can I show the feed on our website.
前提:设置为强制关注微信公众号
复现:
未关注者使用微信浏览器访问网站,跳转到登陆被重定向到127.0.0.1
Hello Dan,
if you thiink it would be good to translate the description here into Chinese, please let me know how to do.it.
Thanks
Alex
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.