Moodle Plugins directory: WeChat | Moodle.org

Payment gateways ::: paygw_wechat
Maintained by
Dan Marsden,
Catalyst IT
WeChat payment gateway for Moodle.
Latest release:
18 sites
24 downloads
10 fans
Current versions available: 1
This plugin was developed with funding from Xi’an Jiaotong-Liverpool University by Catalyst IT
The plugin allows you to accept payments via WeChat in your Moodle site.
Note: this plugin uses the WeChat SDK which must be downloaded separately before installing this plugin.
The PHP SDK is available here: https://pay.weixin.qq.com/wiki/doc/api/jsapi.php?chapter=11_1
Copy the 5 files from the "lib" folder in the zip supplied above into the .extlib/wechatsdk folder in your plugin. you should have the following files in the following location:
- /payment/gateway/wechat/.extlib/wechatsdk/WxPay.Api.php
- /payment/gateway/wechat/.extlib/wechatsdk/WxPay.Config.Interface.php
- /payment/gateway/wechat/.extlib/wechatsdk/WxPay.Data.php
- /payment/gateway/wechat/.extlib/wechatsdk/WxPay.Exception.php
- /payment/gateway/wechat/.extlib/wechatsdk/WxPay.Notify.php
Then install the plugin into your site like normal.
For more information see the README file:
https://github.com/catalyst/moodle-paygw_wechat#wechat
Useful links
Contributors
Dan Marsden (Lead maintainer)
Catalyst IT
Please login to view contributors details and/or to contact them
Also - make sure you've got the latest version of the plugin installed - we had some issues with point values in the earlier versions.
https://web.archive.org/web/20211228160805/https://pay.weixin.qq.com/wiki/doc/api/jsapi.php?chapter=11_1