Skip to content
View in the app

A better way to browse. Learn more.

OKCCN - XenForo & IPS Plugin Marketplace

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

XF- XenForo-HuoNiu WeChat Pay 火牛微信支付

Featured Replies

  • Administrators

XenForo-HuoNiu WeChat Pay 火牛微信支付

微信支付接入 XenForo 论坛

基于官方微信支付 API v3 标准开发,无论用户通过电脑、手机浏览器还是微信内置浏览器访问,均可自动识别设备并调起最适合的支付方式,全程无需跳出论坛。

核心功能

  • 三端自适应支付

    用户设备

    支付方式

    体验描述

    电脑浏览器

    Native 扫码支付

    生成微信二维码,手机扫码完成支付,页面实时检测并自动跳转

    手机浏览器

    H5 支付

    自动跳转至微信 App 完成支付,返回后页面自动确认结果

    微信内置浏览器

    JSAPI 支付

    直接调起微信支付收银台,一键授权支付,体验最流畅

  • 安全与合规

  • 遵循微信支付 V3 官方规范,全程 RSA-SHA256 签名认证

  • 支付回调使用 AES-256-GCM 解密,防止伪造通知

  • 回调签名时效校验(5 分钟内有效),防止重放攻击

  • 金额校验基于商户订单总价(非优惠后实付),兼容微信优惠券无误报

  • 配置项保存时自动清洗首尾空白,防止复制粘贴导致的静默错误

测试模式

  • 开启后无需任何真实商户证书,模拟完整支付流程

  • 三条通道(扫码/H5/JSAPI)均可在测试模式下完整预览

  • 适合上线前调试和界面验收

管理后台配置

所有配置集中在 支付档案(Payment Profile) 页面,填写后立即验证 PEM 格式与密钥有效性。
回调地址自动生成并显示,直接复制填入微信商户平台即可。

运行环境要求

项目

最低要求

XenForo

2.3.0 及以上

PHP

7.4.0 及以上

PHP 扩展

openssl、curl、json(标准扩展,通常已开启)

微信支付账号

需已开通微信支付商户号(普通商户即可)

文件信息

提交者 DEMO

提交于 04/18/26

类别 XenForo

查看文件

XenForo-HuoNiu WeChat Pay 火牛微信支付

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.