Code Monkey home page Code Monkey logo

wp-weixin's People

Contributors

froger-me avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

wp-weixin's Issues

Broadcasting does not work

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 令牌无效

这几天出现部分用户在手机微信上登录出现 CSRF令牌无效,不能登录。

只能停用本插件才临时解决问题。这种问题有什么办法可以查是什么原因导致的吗?

用户在第一次通过微信登录时完善邮箱的建议

使用本系统已1个多月,功能和稳定性都达到了我们的预期。现在有一个问题一直困扰着我们,就是在用户通过微信浏览器第一次登录系统后系统会自动的创建一个以我们域名为后缀的邮箱,但是这个邮箱是不确定的。

如可以让用户在第一次登录时输入自己正确的邮箱用于完善个人资料是一个很好的选择。

我看了所有文档,没有找到可以实现这个功能的方法。

无法显示到微信验证的二维码

发现一个问题,电脑上面用Chrome、Firefox都无法显示到二维码,用Safari浏览器才可以。而在手机上,各个浏览器都可以显示到都没有问题。
图片

Unable to log in WeChat

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进行微信支付时候,如果微信端没有支付,再回到H5,插件并没有根据是否支付成功显示出相应的页面,也没有地方进行相关的配置,这样的话,很容易对终端客户造成一个误解,以为已经支付成功了。

H5 in mobile browser(Not just the wechat browser)

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

关于打开网站强制关注问题

我想了解下如一个用户在第一次打开网站关注了公众号,然后再取消关注公众号,如何实现第二次打开网站时还需要关注?

我现在遇到的问题是取消关注后还能继续打开网站!

万分感谢!

way back from using wechat responder?

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.

Can not find the WP Wexin option in custom post type by Pods.

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!

Tocken authentication fail

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

Openid not found

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."

openidnotfound

The settings of my website backend

001
002
003

If you want, an access to the website backend can be offered.
Thank you.

Weixin embeded browser issue. it can't be open within the weixin browser.

when i open the web(with this plugin) within weixin browser.
it give me an error indicate that openid is missing.
微信图片_20200729064915

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?

WeChat Official Account menu 不能工作

首先很感谢您开发这么好用的插件。

现在大部分功能都可以正常使用,关注和发送用户信息都OK。
关于让wordpress接管微信菜单部分我也全部设置OK了,但是在微信公众号上还是没有出现设置的菜单。

我想问下:

  1. 在wordpress中建立的菜单名称是否有要求?
    2.在微信公众号上不出现菜单的主要原因会有那些?

感谢!

计算机扫描二维码登录时手机上的页面重定向

我想在用户通过手机扫描PC二维码登录系统时,将手机上自动重新定位到my-Account页而不是现在的提示“验证成功".

我通过帮助文件看到使用:
apply_filters( 'wp_weixin_auth_redirect','/my-account/');

但是好像不起作用。不知什么地方出了问题。感谢!

Hope to add instructions on setting custom menus

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

The order has failed. Reason: 签名错误

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

redrect_uri is wrong

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.
image

Issues

  1. The responder is not working at all. No welcome message to new users.
  2. The WeChat browser showing the redirect_uri is wrong, so the program can't the user information.

My Setting
image
This means that the Responder is connected successfully.

image
The safe domain is all set and ready to go.

image

Token keep renewing before expiry

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() ) ||

Warning: Invalid argument supplied for foreach()

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

Wechat log in page keep re appearing

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

跳转错误问题

前提:设置为强制关注微信公众号

复现:

未关注者使用微信浏览器访问网站,跳转到登陆被重定向到127.0.0.1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.