Klyro - Premium Razorpay Payment Gateway in PHP

Description
KLYRO is a complete Razorpay payment integration solution developed in PHP 8.0+ that enables you to accept secure online payments through a streamlined checkout experience with premium dark luxury design.
The solution handles the full Razorpay payment lifecycle including session initialization, payment processing, success confirmation, and cancellation handling. It stores all transaction details in a MySQL database with prepared statements, providing an additional layer of security for transaction validation and record-keeping.
The interface features an ultra-premium dark theme with 24K gold accents, animated gradients, and professional typography. It's fully responsive across all devices from mobile (320px) to 4K displays, with optimized performance delivering page loads under 1 second.
KLYRO supports all Razorpay payment methods including credit/debit cards, UPI (Google Pay, PhonePe, Paytm), net banking, digital wallets, and international cards. The clean PHP code follows PSR-12 standards with no external dependencies, making it easy to customize and integrate into existing projects.
Complete documentation is included with step-by-step setup instructions, security verification guides, customization examples, and troubleshooting for common issues. Special guidance is provided for Pakistan-based developers requiring VPN access during testing.
Changelog
Version 1.0 – Initial Release
Features
- Complete Razorpay payment integration with Checkout.js
- Premium dark luxury UI with 24K gold accents and animations
- Three customizable pricing tiers (Starter/Professional/Enterprise)
- Triple-layer security protection on success pages
- MySQL database storage with prepared statements (SQL injection safe)
- Session-based authentication and validation
- Support for cards, UPI, net banking, wallets, and international payments
- Mobile-first responsive design
- Clean URLs with .htaccess security configuration
- Real-time payment status updates
- Graceful payment cancellation handling
- Comprehensive documentation
- Easy setup with test card support
- Production-ready code
- No external dependencies - pure PHP implementation
Requirements
- PHP 8.0 or higher (8.1+ recommended)
- MySQL 5.x or MariaDB
- Apache 2.4+ with mod_rewrite enabled
- HTTPS/SSL certificate (required for live payments)
- cURL, JSON, and MySQLi PHP extensions
- Razorpay merchant account (free signup at razorpay.com)
- Web hosting with PHP 8.0+ support
- VPN service (Pakistan users only - for testing purposes)
Instructions
- Extract the ZIP file and upload all files to your server root directory
- Enable "show hidden files" in your FTP client to ensure .htaccess is uploaded
- Create a MySQL database and import the database.sql file via phpMyAdmin
- Edit config.php and add your Razorpay API Key ID and Secret Key
- Update database credentials in config.php (DB_USER, DB_PASS, DB_NAME)
- Edit .htaccess line 6 to match your folder structure (e.g., RewriteBase /klyro/)
- Test using card number 4111 1111 1111 1111, CVV 123, any future expiry date
- Verify security by attempting direct access to /success.php and /config.php (should block)
- For production: Complete Razorpay KYC verification and switch to live API keys
Download the script to get detailed documentation.
| Author | reemcodes |
|---|---|
| Category | Scripts & Code / PHP Scripts / Payment |
| Price | $12 |
| Extended License | $36 |
| Likes | 1 |
| First Release | Mar 9, 2026 |
| Last Update | Mar 9, 2026 |
| Files included | .php, .css, .html, .sql |
| Software version | PHP 8.1, PHP 8.2 |
Categories
Tags
External listing. code.market does not sell this product and does not process payment for it. Pricing, payment, delivery, licensing, refunds, and support are handled by the third-party merchant on its own website. We may earn an affiliate commission from a referral. Details.
Products of the Week.
Submit🥇
Free LinkedIn Likes From Real Members | LinkedInLikes
Get free LinkedIn likes on your posts from real members who react by hand. No password needed: you only share a link.
Website · 12,847 views · 46 clicksWebsite · Week 49 · 12,847 views · 46 clicks
🥈
Free Medium Claps From Real Writers | MediumPlace
Free Medium claps on your stories from verified accounts of real writers, each given by hand. No bots, no Medium password, nothing to pay. Paste a link.
Website · 7,964 views · 10 clicksWebsite · Week 49 · 7,964 views · 10 clicks
🥉
Free GitHub Stars From Real Developers | GitWow
Get free GitHub stars on your repository from real developers who star by hand. No token or password, and it's free.
Website · 15,624 views · 28 clicksWebsite · Week 49 · 15,624 views · 28 clicks
#4
Free Substack Likes From Real Writers | StackRooms
Free Substack likes on your posts and Notes from verified accounts of real writers, given by hand. Free to ask, free to receive. Just share a link.
Website · 7,784 views · 2 clicksWebsite · Week 49 · 7,784 views · 2 clicks
#5
Free Twitter Likes From Real People | SupaTwitter
Free Twitter likes on your tweets from verified accounts of real people, each given by hand. No bots, no Twitter password, nothing to pay. Paste a link.
Website · 7,679 views · 4 clicksWebsite · Week 49 · 7,679 views · 4 clicks
#6
Free X Likes From Real People, Given by Hand | XFast
Free X likes on your posts from verified accounts of real people, each one given by hand. No bots, no X password, no conditions. Paste a link to start.
Website · 7,591 views · 0 clicksWebsite · Week 49 · 7,591 views · 0 clicks