XenForo
XenForo add-on for USDT/USDC blockchain payment monitoring. Enable user upgrades and premium memberships with stablecoin payments via PayzCore. XF 2.2+.
XenForo Integration
The PayzCore XenForo add-on adds USDT/USDC blockchain monitoring as a payment provider for user upgrades and account purchases.
- Source: github.com/payzcore/xenforo
- Requirements: XenForo 2.2+, PHP 7.4+, PayzCore account
How It Works
- Forum user purchases an upgrade (e.g., Premium membership) and selects "Pay with USDT/USDC".
- XenForo calls the PayzCore API via the add-on.
- User sees the wallet address, QR code, amount, and countdown timer.
- User sends stablecoins from their wallet.
- PayzCore sends a webhook to the XenForo callback endpoint.
- Add-on verifies the HMAC signature and applies the user upgrade.
- User gets premium access automatically.
Installation
- Download the add-on from GitHub releases
- Upload the
PayzCorefolder tosrc/addons/in your XenForo installation:
src/addons/PayzCore/
├── Admin/
├── Payment/
├── Callback/
├── addon.json
└── Setup.php- In XenForo admin: Add-ons > Install/upgrade from archive or install via CLI:
php cmd.php xf:addon-install PayzCoreConfiguration
- In XenForo admin: Setup > Payment profiles
- Click Add payment profile
- Select PayzCore as the provider
- Configure:
| Setting | Value |
|---|---|
| API Key | pk_live_... |
| Webhook Secret | whsec_... |
-
When you save the payment profile, the add-on calls
GET /api/v1/configto auto-detect available chains and tokens from your connected wallet. The chain and token options are populated automatically — no manual selection is needed. -
Set your webhook URL in the PayzCore dashboard to:
https://yourforum.com/payment_callback.php?_xfProvider=PayzCoreUser Upgrade Flow
- User goes to Account > Account upgrades
- Selects an upgrade (e.g., "Premium Member - $10/month")
- Chooses "PayzCore (USDT/USDC)" as payment method
- Sees wallet address, QR code, exact amount, and expiration timer
- Sends stablecoins from their wallet
- Once confirmed, the upgrade is applied automatically
- User immediately gets the upgraded user group and permissions
Troubleshooting
Payment provider not available
- Ensure the add-on is installed and active: Add-ons list
- Verify a payment profile is created and enabled
- Check that the payment profile is assigned to at least one user upgrade
Webhook not received
- Verify the callback URL in PayzCore dashboard
- Check XenForo error log: Tools > Logs > Server error log
- Ensure your server allows external POST requests
Upgrade not applied after payment
- Check PayzCore webhook delivery logs
- Verify the Webhook Secret matches
- Check XenForo payment log: Logs > Payment provider log