💰 XenForo BTCPay Server Payment Provider
BTCPay Server is an open-source and secure payment infrastructure that lets you accept payments in Bitcoin and other cryptocurrencies. With the BTCPay payment provider add-on for XenForo, you can accept crypto payments for things like user upgrades.You can install the add-on via the XenForo admin panel or manually over FTP.
After installation, you can check our BTCPay Server setup guide: 🔗 BTCPay Server Installation on Ubuntu 24.04 (2025 Updated Guide)
⚙️ Configuration Steps
1️⃣ Create a Payment Profile
- Open the XenForo admin panel: /admin.php
- From the left menu, go to Setup > Payment profiles.
- Click Add payment profile.
- Select BTCPay Server as the provider.
- Click Proceed….
- In the Host field, enter your full BTCPay Server address,
e.g.: btcpay.yoursite.com
2️⃣ Generate an API Key
- Log in to your BTCPay Server.
- Go to Account > Manage Account (bottom-left).
- Open the API Keys tab.
- Click Generate Key.
- Grant these permissions:
btcpay.store.cancreateinvoice— create invoices
btcpay.store.canviewstoresettings— view store settings - Click Generate API Key.
- Copy the API key and paste it into the BTCPay payment profile form in XenForo.
3️⃣ Set Up the Webhook
- In BTCPay Server, go to Settings > Webhooks.
- Click Create Webhook.
- In Payload URL, paste the URL adjusted for your forum:
- Under “Which events should trigger this webhook?”,
choose Send me specific events. - Select the event:
Invoice — Payment Settled - Reveal the value in the Secret field and paste it into your XenForo payment profile.
- Click Add Webhook.
4️⃣ Store ID & Final Settings
- In BTCPay Server, open Settings.
- Copy your Store ID.
- Paste it into the BTCPay payment profile in XenForo.
- Click Save.
✅ Usage
You can now use this payment profile anywhere XenForo supports payments. For example, to enable it for User Upgrades:- Open the XenForo admin panel.
- Go to Users > User upgrades.
- Open the relevant upgrade plan.
- Select your BTCPay Server payment profile.
- Click Save.