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🥇
STOP GUESSING WHAT TO POST
AI that learns your brand voice and builds a month of consistent, on-brand social content: carousels, posts and hooks that sound like you, not like everyone else's AI.
SaaS · 3,974 views · 35 clicksSaaS · Week 45 · 3,974 views · 35 clicks
🥈
Conversational Backlinks for Busy Founders
Place Backlink Relevant Conversation for your domain across Forums and Conversations
Website · 41,620 views · 222 clicksWebsite · Week 45 · 41,620 views · 222 clicks
🥉
upvote.club
Free Social Media Engagement that Helps Boost Your Content. Upvote Club supports 19 social networks with 100+ engagement actions in one dashboard. Add links to your posts and get free engagement from real users.
SaaS · 39,650 views · 114 clicksSaaS · Week 45 · 39,650 views · 114 clicks
#4
Substack Posting API
Onboard your Agent to Substack. Write Publish on Substack via API
SaaS · 58,679 views · 198 clicksSaaS · Week 45 · 58,679 views · 198 clicks
#5
Seenshot App
Free, Fast, MacOS Screenshot app. Make Screenshot cmd+shift+2 and send it via link
Desktop App · 28,059 views · 122 clicksDesktop App · Week 45 · 28,059 views · 122 clicks
#6
Hand-Placed Backlinks $9.99 per link. Flat rate.
Buy hand-placed forum, Q-A and directory backlinks. Flat $9.99 per link, no subscriptions — you only pay for approved listings.
Website · 3,918 views · 19 clicksWebsite · Week 45 · 3,918 views · 19 clicks
#7
Free Invoice Generator - PDF Invoices in Your Browser, No Sign-Up
A free invoice maker for freelancers and small businesses: fill in the invoice, check the live preview, and download a PDF that looks exactly like it. Any currency, tax per item, three templates, no sign-up, and nothing leaves your device.
2,597 views · 17 clicksWeek 45 · 2,597 views · 17 clicks
#8
Merge PDF Files Free - Combine PDFs in Your Browser, No Upload
A free PDF merger for office workers, students, and freelancers: combine PDFs and images into one file in the browser, reorder files and pages, pick page ranges, keep bookmarks, and open password-protected PDFs. Nothing is uploaded, no sign-up, no watermark.
2,417 views · 13 clicksWeek 45 · 2,417 views · 13 clicks