⚠️ Educational Project Disclaimer: This is an educational project and is not affiliated with NPCI (National Payments Corporation of India) or BHIM (Bharat Interface for Money). The purpose of this project is for learning and demonstration purposes only.
A modern, responsive web application built with Next.js that generates dynamic UPI QR codes for seamless digital payments in India. This project demonstrates how to create personalized UPI payment links with custom amounts and transaction notes.
- Dynamic QR Generation: Create UPI QR codes with custom amounts and notes
- Enhanced Styling: Professional QR codes with custom colors and branding
- Payment Intent Links: Direct "Pay Now" buttons for mobile users
- Responsive Design: Works perfectly on all devices
- Educational Purpose: Learn about UPI payment integration
- Modern UI: Beautiful interface with Tailwind CSS and Lottie animations
Enter your UPI ID, name, amount (optional), and transaction note (optional).
Click "Generate QR Code" to create your personalized payment QR.
Your QR code page is ready! Share it anywhere for instant payments.
Generate QR codes programmatically using URL parameters:
https://your-domain.com/?upiid=<upi-id>&name=<name>&money=<amount>¬e=<transaction-note>
Parameters:
upiid(required): Your UPI ID (e.g., username@paytm)name(required): Payee namemoney(optional): Payment amount in INRnote(optional): Transaction description
Example:
https://your-domain.com/?upiid=john@paytm&name=John%20Doe&money=100¬e=Coffee%20Payment
- Framework: Next.js 15
- Language: TypeScript
- Styling: Tailwind CSS
- QR Generation: upiqrcode library
- Animations: Lottie React Player
- Analytics: Vercel Analytics
-
Vercel (Recommended)
- Zero configuration deployment
- Automatic HTTPS
- Global CDN
-
Netlify
- Easy static site hosting
- Continuous deployment from Git
-
Cloudflare Pages
- Global edge network
- Fast deployment
- Fork this repository
- Connect your Git provider to your hosting platform
- Deploy with default Next.js settings
- Your UPI QR generator is live!
-
Clone the repository
git clone https://github.com/Pratyay360/dynamic-upi-qr.git cd dynamic-upi-qr -
Install dependencies
npm install # or yarn install -
Run development server
npm run dev # or yarn dev -
Open in browser Navigate to
http://localhost:3000
{
"next": "^15.1.3",
"react": "^19.0.0",
"typescript": "^5.7.3",
"tailwindcss": "^3.4.19",
"upiqrcode": "^1.0.5",
"@lottiefiles/react-lottie-player": "^3.6.4",
"@vercel/analytics": "^2.0.0"
}This project demonstrates:
- UPI payment integration in web applications
- Dynamic QR code generation
- Modern React/Next.js development practices
- TypeScript implementation
- Responsive design principles
- API parameter handling
This project is open source and available under the MIT License.
Contributions are welcome! Please feel free to submit a Pull Request.
- Educational Purpose Only: This project is created for learning and demonstration purposes
- Not Affiliated: Not affiliated with NPCI, BHIM, or any official UPI service providers
- No Commercial Use: Not intended for commercial use or to compete with official UPI applications
- Security Notice: Always verify payment details before processing any transactions
- Responsibility: Users are responsible for ensuring compliance with local regulations
Special thanks to inulute for the initial inspiration.
If you find this project helpful for learning, please give it a ⭐ on GitHub!
Repository: https://github.com/Pratyay360/dynamic-upi-qr
🎓 Created for Educational Purposes | 💡 Learn • Build • Share


