This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

WP Weixin Pay


WP Weixin Pay is a companion plugin for WP Weixin that adds a “Transfer” screen in for the WeChat browser.
It emulates the native WeChat screen available to transfer money between two WeChat users, effectively allowing an Official Account (Service account) to receive custom tranfers – all without requiring any e-commerce extension!


Important Notes

Make sure to read the “TROUBLESHOOT, FEATURE REQUESTS AND 3RD PARTY INTEGRATION” section below and the full documentation before contacting the author.


This plugin adds the following major features to WP Weixin:

  • WeChat Pay – Custom money transfers: to allow WeChat users to transfer money in a simialr way they transfer money to other users. Transfers can be made with an arbitrary, pre-filled & editable amount, or pre-filled & fixed amount.
  • WP Weixin QR code generator: to create codes to receive money transfers with custom amount.

Compatible with WooCommerce, WooCommerce Multilingual, WPML, Ultimate Member, WordPress Multisite, and many caching plugins.

Troubleshoot, feature requests and 3rd party integration

Unlike most WeChat integration plugins, WP Weixin Pay is provided for free.

WP Weixin Pay is regularly updated, and bug reports are welcome, preferably on Github. Each bug report will be addressed in a timely manner, but issues reported on WordPress may take significantly longer to receive a response.

WP Weixin Pay has been tested with the latest version of WordPress – in case of issue, please ensure you are able to reproduce it with a default installation of WordPress and any of the aforementioned supported plugins if used before reporting a bug.

Feature requests (such as “it would be nice to have XYZ”) or 3rd party integration requests (such as “it is not working with XYZ plugin” or “it is not working with my theme”) for WP Weixin and all its companion plugins will be considered only after receiving a red envelope (红包) of a minimum RMB 500 on WeChat (guarantee of best effort, no guarantee of result).

To add the author on WeChat, click here, scan the WeChat QR code, and add “WP Weixin” as a comment in your contact request.


  • Custom money transfer screen in the WeChat browser after scanning a previouly generated QR code.
  • The WP Weixin QR code generator with the Payment QR code generator.
  • The WeChat Pay settings added to the WP Weixin settings page.


This section describes how to install the plugin and get it working.

  1. Upload the plugin files to the /wp-content/plugins/wp-weixin-pay directory.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Edit plugin settings


11 ਅਪ੍ਰੈਲ 2020 1 reply
why i cannot see wechat pay in WooCommerce/payment setting. i installed both wp weixin pay and woo wechatpay thank you for help
Read all 3 reviews

ਯੋਗਦਾਨੀ ਤੇ ਵਿਕਾਸਕਾਰ

“WP Weixin Pay” is open source software. The following people have contributed to this plugin.


“WP Weixin Pay” ਦਾ ਆਪਣੀ ਭਾਸ਼ਾ ਵਿੱਚ ਅਨੁਵਾਦ ਕਰੋ।

ਵਿਕਾਸ ਕਾਰਜ ਵਿੱਚ ਰੁਚੀ ਰੱਖਦੇ ਹੋ?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.



  • Commit to ensure compatibility until WP Weixin 1.4


  • Bugfix: version sync


  • WP Weixin tested up to: 1.3.13


  • WordPress tested up to: 5.4.1
  • WP Weixin tested up to: 1.3.12


  • WC tested up to: 4.0.0
  • WP Weixin tested up to: 1.3.11


  • WC tested up to: 3.9.2
  • WP Weixin tested up to: 1.3.10


  • WC tested up to: 3.9.1
  • WP Weixin tested up to: 1.3.9


  • WP Weixin tested up to: 1.3.8


  • WP Weixin tested up to: 1.3.7


  • WC tested up to: 3.9.0


  • Support for latest WordPress version
  • Require WP Weixin v1.3.5
  • Bump version to match WP Weixin


  • Migrated WP Weixin Pay settings from WP Weixin core


  • Major overall code refactor
  • Multisite support
  • Use new WP Weixin functions instead of using the classes directly
  • Handle notifications coming from WeChat API properly when Woo WeChatPay is active
  • Ensure compatibility with other plugins using WeChat Pay API
  • Add 5 filters
  • Add wp_weixin_pay_refund_failed action
  • Better handling of different outcomes after payment (success, failed, cancel, timeout) – customizable via newly added filters and hooks
  • Attempt to refund payment automatically in case of failure
  • Skip version 1.2 – sync version with WP Weixin plugin
  • Improve QR code generation interface
  • Update documentation
  • Update translation

Special thanks:

  • Thanks @alexlii for extensive testing, translation, suggestions and donation!
  • Thanks @lssdo for translation
  • Thanks @kzgzs for improvement suggestions


  • Better error log


  • Public plugin on WordPress repository


  • Adjust rewrite rules registration


  • Rearrange hooks firing sequence
  • Add icons and banners
  • Add readme.txt


  • Coding standards


  • Add WP Package Updater


  • First version