這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 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!

Requirements

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.

螢幕擷圖

  • 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

使用者評論

2020 年 4 月 11 日 1 則留言
why i cannot see wechat pay in WooCommerce/payment setting. i installed both wp weixin pay and woo wechatpay thank you for help
閱讀全部 3 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈WP Weixin Pay〉的開發相關工作。

參與者

將〈WP Weixin Pay〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

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