About This File
Phoenix.lol — USDT TRC20 Payment Gateway for Invision Community
Accept USDT Tether (TRC20) payments directly on your Invision Community 4.x site — no third-party processors, no fees, full control.
What it does
This payment gateway integrates USDT Tether on the TRON (TRC20) network into Invision Community's Commerce (Nexus) module. When a customer checks out, the gateway converts the invoice total to USDT at the current live exchange rate, displays a payment page with a QR code, and automatically confirms the order once the blockchain transaction is detected.
Key Features
-
Live exchange rate — fetches the current USDT rate from Binance or CoinGecko (no API key required), with automatic fallback between sources. Rate is cached for 5 minutes to reduce API calls.
-
QR code payment — generates a standard
tron:URI QR code containing both the wallet address and exact USDT amount. Compatible with all major TRON wallets (TronLink, Trust Wallet, etc.). -
Automatic blockchain monitoring — polls the TronGrid API every 7–12 seconds to detect incoming USDT TRC20 transfers. No webhooks or cron jobs required.
-
Confirmation progress display — once a transfer is detected, the payment page switches to a live confirmation counter showing progress toward the required number of confirmations (e.g. 10 / 20). The counter updates in real time.
-
Automatic order completion — when the configured confirmation threshold is reached, the invoice is marked as paid, the customer receives a notification, and they are redirected to their order.
-
Countdown timer — a payment window timer (configurable, default 60 minutes) is shown to the customer. Expired invoices are automatically refused.
-
Non-custodial — payments go directly to your TRC20 wallet. The gateway never holds funds.
Admin Settings
| Setting | Description |
|---|---|
| Wallet Address | Your TRC20 receiving address (validated on save) |
| Required Confirmations | Number of TRON block confirmations before marking paid (default: 20, ~1 minute) |
| Exchange Rate Source | Binance or CoinGecko |
| Payment Timeout | How long to wait for payment before expiring the invoice (default: 60 min) |
Requirements
- Invision Community 4.6 or higher (tested on 4.7.x)
- Commerce (Nexus) application
- PHP 7.4+
- Outbound HTTPS access from the server (to TronGrid API and exchange rate APIs)
Installation
-
Upload the
.tarfile via AdminCP → Applications → Upload - Go to AdminCP → Commerce → Payment Methods → Add
- Select USDT TRC20 (Tether) and enter your wallet address
- Save — the gateway is ready
Technical Notes
-
Uses TronGrid REST API (
api.trongrid.io) for blockchain monitoring — no API key required for basic usage -
Exchange rates from Binance (
api.binance.com) with CoinGecko fallback - Confirmation count estimated from block time (~3 seconds per TRON block)
- Supports all fiat currencies available on Binance/CoinGecko (USD, EUR, RUB, GBP, etc.)
- Transaction detection window: looks back up to (timeout + 60) minutes to catch payments sent before the checkout page was opened
Developed by Phoenix.lol — https://phoenix.lol
You can check the module's operation directly on this website!
What's New in Version 1.0.4 See changelog
Released
more fixes
