USDTPay is a secure and efficient payment gateway that allows merchants to accept USDT (Tether) payments. It provides a simple integration process and a user-friendly interface for both merchants and customers.
- 🛡️ Secure admin dashboard
- 📊 Transaction management and monitoring
- ⚙️ Customizable settings (USDT address, timeout, check interval)
- 📈 Transaction statistics and reporting
- 🔍 Detailed transaction history with filtering options
- 💳 Simple checkout process with QR code.
- ⏱️ Real-time payment status updates
- 📱 Mobile-responsive design
- 📋 One-click copy for USDT address and amount
- 🔄 Automatic payment verification
- 🔒 Secure session management
- 📦 Clean URL structure
- 🎨 Modern UI with Tailwind CSS
- 📱 Fully responsive design
- 🔄 Real-time transaction status updates
- 🛡️ SQL injection prevention
- 🔐 XSS protection
- PHP 7.4 or higher
- MySQL 5.7 or higher
- Apache web server
- mod_rewrite enabled
git clone https://github.com/okoyausman/usdt-payment-gateway-php.git
cd usdt-payment-gateway-php- Create a new MySQL database
- Import the database schema from
database.sql - Update the database credentials in
config.php
Make sure your .htaccess file is properly configured for URL rewriting:
The system uses the following main tables:
- Stores administrator credentials
- Stores all payment transactions
- Tracks payment status and details
- Stores system configuration
- USDT receiving address and network
- Checkout timeout
- Transaction check interval
The system comes with a default administrator account:
- Username:
admin - Password:
admin123
Important: Change these credentials immediately after installation.
- Merchant creates a transaction through the admin panel
- System generates a unique order ID and checkout URL
- Customer visits the checkout page
- Customer sends USDT to the specified address
- System verifies the payment automatically
- Transaction status updates in real-time
- Merchant can view and manage transactions in the admin panel
- All user inputs are sanitized
- SQL queries use prepared statements
- Session management with proper validation
- XSS protection through output escaping
- CSRF protection for forms
- Uses PDO for database operations
- Implements MVC-like structure
- Real-time status updates using JavaScript
- Responsive design with Tailwind CSS
- Clean URL routing system
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.
For support, please open an issue in the GitHub repository or contact the maintainers.
- Font Awesome for icons
- Tailwind CSS for styling
- PHP QR Code for QR code generation


