外掛說明
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!
Requirements
- A China Mainland WeChat Official Account – Service account.
- A China Mainland WeChat Pay account.
- WP Weixin installed, activated, enabled and properly configured.
Important Notes
Make sure to read the “TROUBLESHOOT, FEATURE REQUESTS AND 3RD PARTY INTEGRATION” section below and the full documentation before contacting the author.
Overview
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.
螢幕擷圖
安裝方式
This section describes how to install the plugin and get it working.
- Upload the plugin files to the
/wp-content/plugins/wp-weixin-pay
directory. - Activate the plugin through the ‘Plugins’ screen in WordPress
- Edit plugin settings
使用者評論
參與者及開發者
變更記錄
1.3.15
- Commit to ensure compatibility until WP Weixin 1.4
1.3.14
- Bugfix: version sync
1.3.13
- WP Weixin tested up to: 1.3.13
1.3.12
- WordPress tested up to: 5.4.1
- WP Weixin tested up to: 1.3.12
1.3.11
- WC tested up to: 4.0.0
- WP Weixin tested up to: 1.3.11
1.3.10
- WC tested up to: 3.9.2
- WP Weixin tested up to: 1.3.10
1.3.9
- WC tested up to: 3.9.1
- WP Weixin tested up to: 1.3.9
1.3.8
- WP Weixin tested up to: 1.3.8
1.3.7
- WP Weixin tested up to: 1.3.7
1.3.6
- WC tested up to: 3.9.0
1.3.5
- Support for latest WordPress version
- Require WP Weixin v1.3.5
- Bump version to match WP Weixin
1.3.1
- Migrated WP Weixin Pay settings from WP Weixin core
1.3
- 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
1.1.1
- Better error log
1.1
- Public plugin on WordPress repository
1.0.4
- Adjust rewrite rules registration
1.0.3
- Rearrange hooks firing sequence
- Add icons and banners
- Add readme.txt
1.0.2
- Coding standards
1.0.1
- Add WP Package Updater
1.0
- First version