In today’s fast-evolving digital economy, cryptocurrency payments are becoming increasingly essential for online platforms seeking global reach and seamless transaction capabilities. For operators of Rainbow Cloud Mall, integrating a reliable, secure, and decentralized payment method like USDT-TRC20 can significantly enhance user experience and expand customer access—especially in cross-border commerce.
The Rainbow Cloud Mall USDT-TRC20 Payment Plugin is a lightweight, open-source solution designed to enable direct USDT (TRC20) deposits into your personal wallet. This plugin bypasses third-party intermediaries entirely, ensuring full fund control and improved transaction transparency.
How It Works
Unlike traditional payment gateways that rely on centralized processors, this plugin replaces the default MaPay (码支付) backend configuration within Rainbow Cloud Mall to introduce native support for USDT on the TRON blockchain (TRC20).
Once installed, users can recharge their mall accounts by sending USDT directly to your designated TRON address. The system automatically detects incoming transactions via periodic cron job checks and updates the user's balance accordingly—without ever touching a middleman’s wallet.
👉 Discover how decentralized payments can streamline your e-commerce operations
Key Features
- ✅ Direct Wallet Integration: Funds go straight to your TRON-compatible wallet—no third-party custody.
- ✅ Real-Time Exchange Rate Calculation: Optional fixed rate or automatic fetching from CoinMarketCap.
- ✅ Open Source & Transparent: Fully auditable codebase hosted on GitHub.
- ✅ Lightweight Installation: Simple file upload with no complex database modifications.
- ✅ Automated Balance Syncing: Powered by a scheduled cron task that scans the TRON network.
Installation Guide
Step 1: Download the Plugin
Visit the official GitHub repository and download the latest release:
https://github.com/v03413/caihong-usdt-trc20-paymentClick “Download ZIP” or use the direct archive link:
https://github.com/v03413/caihong-usdt-trc20-payment/archive/refs/heads/main.zipExtract the contents of caihong-usdt-trc20-payment-main.
Step 2: Upload Files
Transfer all files from the extracted folder to the root directory of your Rainbow Cloud Mall website. Overwrite existing files when prompted.
⚠️ Important: This plugin overrides parts of the MaPay integration. Ensure you back up your current setup before proceeding.
Step 3: Enable in Admin Panel
Log in to your mall’s admin dashboard and navigate to Payment Interface Settings. Select MaPay and save the configuration—even if not previously used—to trigger the appearance of its settings fields.
You’ll now see two input options:
- MaPay ID
- MaPay Communication Key
These fields are repurposed by the plugin for USDT-TRC20 functionality.
Configuration Instructions
MaPay ID Field
Enter one of the following formats:
1200|6.4→ Sets a 1200-second payment timeout with a fixed exchange rate of 6.4 CNY per USDT1200→ Uses real-time exchange rates from CoinMarketCap with a 1200-second validity window- Leave empty → Default timeout may apply; live rate used
💡 Tip: If you operate in a volatile market, consider setting a fixed rate to avoid pricing discrepancies during checkout.
MaPay Communication Key Field
Input your TRON (TRC20) wallet address here. This is where all USDT payments will be sent.
❗ To disable the plugin at any time, simply clear this field and save.
👉 Learn how to generate a secure TRC20 wallet address safely
Set Up Transaction Monitoring
For the system to detect payments, set up a recurring cron job that runs approximately once per minute. Avoid higher frequencies to prevent API throttling from external services.
Add the following command to your server’s crontab:
* * * * * /usr/bin/curl -s "https://yourwebsite.com/other/other/usdt-trc20/cron.php" > /dev/null 2>&1Replace https://yourwebsite.com with your actual domain.
This script queries Tronscan API to verify confirmed transactions and credits user accounts upon successful detection.
Supported Platform Version
This plugin was developed and tested specifically for:
Rainbow Cloud Mall v6.8 (Build 2057)
While it may function on similar versions, compatibility with other builds is not guaranteed. Always test in a staging environment before deploying live.
Core Keywords for SEO Optimization
To ensure visibility and relevance in search engines, the following keywords have been naturally integrated throughout this article:
- USDT-TRC20 payment plugin
- Rainbow Cloud Mall USDT integration
- TRC20 recharge for e-commerce
- Cryptocurrency payment for online store
- Decentralized USDT收款 solution
- Open-source crypto plugin
- Direct wallet USDT deposit
- TRON blockchain payment gateway
These terms align with common search intents related to integrating stablecoin payments into digital storefronts.
Frequently Asked Questions (FAQ)
Q: Does this plugin support other cryptocurrencies?
No. Currently, only USDT on the TRC20 network is supported. Adding support for other tokens would require significant backend modifications beyond the scope of this plugin.
Q: Why does it replace MaPay instead of adding a new payment option?
Due to limitations in the current version of Rainbow Cloud Mall (v6.8), the system does not support modular or plugin-based payment extensions. As such, leveraging an existing payment interface (MaPay) was the most practical approach without altering core architecture.
Q: Is the exchange rate updated in real time?
Yes. Unless a fixed rate is specified in the MaPay ID field (e.g., 1200|6.4), the plugin fetches live USDT-to-CNY rates from CoinMarketCap API at checkout time.
Q: Can users see this payment option on the homepage checkout?
Not currently. The plugin only modifies the user center recharge page. The front-end shopping cart and order checkout do not display this method. This limitation is due to platform constraints.
Q: What happens if I don’t set up the cron job?
Without the cron job, incoming USDT transactions will not be detected, and user balances won’t update automatically. Manual verification would be required, defeating the purpose of automation.
Q: Is my wallet secure using this method?
Security depends on your own practices. Since funds go directly to your wallet, there’s no risk of third-party theft—but ensure your private keys are stored securely and never exposed on the server.
Limitations & Considerations
While powerful, this plugin comes with certain constraints:
- 🌍 API Dependency: Relies on external APIs (
coinmarketcap.com,tronscan.org). Users in mainland China may experience latency or connectivity issues. - 🛒 Limited UI Scope: Only available in the user account recharge section—not integrated into product checkout flows.
- 🔁 No Refund Mechanism: Once credited, reversals must be handled manually through customer service.
- 🧩 Version-Specific: Built for v6.8 (Build 2057); future updates to Rainbow Cloud Mall may break compatibility.
Final Notes
This plugin was created out of personal interest and shared openly for community use. While improvements and suggestions are welcome, no technical support is provided for installation, debugging, or customization.
Always comply with local laws when accepting cryptocurrency payments. The developer assumes no liability for misuse or regulatory consequences.
Empower your store with frictionless, borderless payments—and take full ownership of every transaction.