This project is not covered by Drupal’s security advisory policy.
overview
Provide wechat payment integration for Drupal Commerce,Wechat Pay is the most popular payment method in China,The module has the following main features:
- The gateway automatically identifies payment scenario and call the corresponding API
- Support multiple systems can use same wechat api account, avoid order number repetition and unable to pay
- Customize the color and size of QR code for PC payment, and generate QR code quickly
- Automatic maintenance and update wechat payment platform certificate, foolproof management
- Automatically clean up abandoned payment entities, slimming database, and custom batch capacity
- Support multiple refunds for single payment, and record details
- Thanks to the architecture design, there will never be repeated payment order number
- The core directly uses wechat official SDK, no redundant tripartite library, high performance, security
- Customize payment expiration time
- High reliability, combined with the lock system, to eliminate the very low probability of multiple refund data errors
- Multi-language support, using English as the development meta language, without polluting the translation system
- The code documentation is annotated in as much detail as possible, giving full consideration to users' extended development needs
Installation Requirement
Drupal Commerce 2.X, Drupal 9 and above
Install
Because the qrcode is required for payment on PC, so the module "yunke qrcode" needs to be installed first, and the official SDK package of wechat payment is required, it must be installed by Composer, Follow the steps:
cd /root/mysite
composer require drupal/yunke_qrcode
composer require drupal/commerce_wechat
update
Download the module and overwrite the previous file, And then run update.php
About the author
This module is developed by Will-Nice (Shenzhen) Technology Co., Ltd
未来很美 http://www.will-nice.com
Developer: Yunke (phpworld@qq.com)
Will-Nice is a dedicated Drupal development company, located in Shenzhen, China, if you have development needs, contact us come on
The following is the Description in Chinese
概述
本模块为Drupal电商提供微信支付集成,有如下主要特性:
- 网关自动识别支付场景,自动调用对应接口
- 支持同一接口账号下运行不限个系统,避免系统间订单号重复而无法下单
- 支持自定义PC端支付二维码的颜色、尺寸,且极速生成二维码
- 自动维护更新微信支付平台证书,傻瓜化管理
- 自动清理永久废弃的支付实体,为数据库瘦身,且批处理量可自定义
- 支持单笔支付发起多笔退款,并记录明细备查
- 永不出现支付单号重复而无法付款,这得益于架构设计
- 底层直接采用微信官方SDK,无冗余的三方库,高性能、安全,系统清爽
- 自定义支付超期时间,过期限制用户无法支付
- 高可靠,结合并发锁机制,杜绝极低概率下的多退款数据错误
- 多语言支持,以英语作为开发元语言,不污染翻译系统
- 代码文档注释尽可能详细,充分考虑用户的扩展开发需求
安装需求
须Drupal 9及以上,Drupal Commerce 2.X及以上
安装
由于在PC端付款时需要二维码,因此需要先安装“yunke_qrcode”模块,由于需要微信官方SDK包的支持,所以必须采用composer方式安装以集成SDK到类加载器中,安装如下:
cd /root/mysite
composer require drupal/yunke_qrcode
composer require drupal/commerce_wechat
如你以下载模块程序包的方式安装,除将下载的模块放置到模块目录外,还需在系统根目录执行以下composer命令:
composer require wechatpay/wechatpay-guzzle-middleware:^0.2.0
升级
如之前安装过本模块,此时你只需要下载新的模块文件进行覆写,然后执行系统的更新脚本update.php,请务必执行更新脚本,这将自动进行升级处理
感谢他们:
他们推动了中国Drupal社区的发展,请所有使用到该模块的人们记住以下贡献者,是他们一点一点的付出才造就了后面的人有凉可乘,中国Drupal社区有太多感动,沉淀了太多故事,加油伙伴们!贡献者名单如下,列此永久纪念,感谢:
- 成都小小,微信号:fbebxjskdb
- 码蜀黍,微信号:macj13951080336
- 煮不在乎,微信号:保密
- 芦荟,微信号:tocreat
- 华,微信号:wxid_a3o74qdz7vq822
- 郑文辉,微信号:wxid-6ka34qzql187a2,社区账号:weynhamz
- 基米德-肖磊,微信号:gimido
- 深圳Challey,微信号:Challey
- 中山大学麦老师,微信号:aska3542
- 上海-大伟哥,微信号:w15900764821
- 山东奇景,微信号:zjgdwxh01
- 木子耗,微信号:muzihao2014
- 卓,微信号:felixz
- 刘宝煌,微信号:huluzzzzzzz
- 水滴.Waterdrop,QQ号:491937220
- 佛山钟旭才,微信号:wxid_0gv5b3qlr93822
- 都市狐狸(深圳叶老师),微信号:szcityfox
- Johnson,微信号:DreamerJohnson
- 8313,微信号:HILAND001
- rabphito,微信号:rabphito
- 匿名赞助者,留言:感谢带来源码解读贡献
- 北京-苏,微信号:an201166
- 99.5台阶,微信号:jianghehupan
- BlueSnow,微信号:BlueSnow_CN
- 匿名用户,他留言:希望drupal越来越好!
- 无非,微信号:anymap
- 随缘,微信号:sy130534
- 深圳称意,微信号:wangchengyi637897
- 雪醉青松,微信号:yangxiaohuai123
赞助本模块可添加微信:“indrupal”
或访问:http://www.indrupal.com/zanzhu
关于作者
本模块由“未来很美(深圳)科技有限公司”开发
未来很美 http://www.will-nice.com
开发者: 云客(邮件:phpworld@qq.com 微信号:indrupal 个人网站:http://www.indrupal.com)
未来很美科技是一家位于中国深圳的专注于Drupal开发的科技公司,如你有开发需求请联系我们
相关模块
- [commerce_wechat_pay](https://www.drupal.org/project/commerce_wechat_pay)
- [commerce_cnpay](https://www.drupal.org/project/commerce_cnpay)
- [yunke_pay](https://www.drupal.org/project/yunke_pay)
- [commerce_alipayment](https://www.drupal.org/project/commerce_alipayment)
授权
本模块针对三类人群采用不同的授权办法,详见模块根目录下的授权文件,敬请使用前务必阅读授权协议
更新说明
1.4版本增加对Drupal10的支持,并在1.2版本基础上增加了付款后自动跳转功能,修复了微信支付本身在移动端提前跳转到返回页面的缺陷
| Attachment | Size |
|---|---|
| Screenshot of the configuration page | 91.78 KB |
| Screenshot of payment interface | 21.36 KB |
| Screenshot of payment interface | 24.04 KB |
| Management Page Screenshot | 29.08 KB |
| Screenshot of refund page | 18.37 KB |
| Screenshot of refund page | 37.86 KB |
| Screenshot of refund page | 33.36 KB |
| Screenshot of the refund details page | 57.95 KB |
| Screenshot of the refund query page | 31.5 KB |
Project information
- Project categories: E-commerce
- Ecosystem: Commerce WeChat Pay, Commerce China Payments, yunke pay (wechat、alipay and so on) for online payment in China, Will Nice Pay(未来很美统一收银系统)
5 sites report using this module
- Created by yunke on , updated
This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.
Releases
Add auto refresh after pay,and so on

