VERIFIED CODEE-Commerce & Digital StoresVersion 1.0.0

Lekhabuk - Online Bookstore & Digital PDF Notes Selling Script (Razorpay, Instant UPI & WhatsApp Alerts)

No ratings yet|0 Downloads

Live Demo Admin Credentials

Test the backend dashboard using verified demo login:
Instant Access
Username / Emaildemo@example.com
Passworddemo123
Developer Technical Overview100% Unencrypted Source Code

Lekhabuk - Online Bookstore & Digital PDF Notes Selling Script (Razorpay, Instant UPI & WhatsApp Alerts) is a production-ready, security-verified full-stack script built using PHP, MySQL, Razorpay. The complete package includes unencrypted source files, full MySQL/PostgreSQL database schemas, and step-by-step documentation with an Extended Commercial License allowing deployment across unlimited domains with 0% recurring transaction fees.

License TypeExtended (Unlimited)
DatabaseFull SQL Dump Included
Deploy ReadyHostinger / cPanel / VPS
Commission0% Platform Fee

Description & Key Features

LEKHABUK - COMPLETE COMMERCIAL FEATURE SPECIFICATION & CAPABILITY LIST ================================================================================ A High-Performance PHP & MySQL E-Commerce Bookstore, Academic Notes Marketplace, Turnkey Digital Publishing Engine, and Automated Fulfillment Platform. ================================================================================ EXECUTIVE SUMMARY -------------------------------------------------------------------------------- Lekhabuk is an ultra-fast, lightweight, production-ready commercial bookstore and digital publishing solution engineered specifically for selling physical books, college textbooks, and instant downloadable PDF study materials. Built from the ground up without bulky third-party frameworks or node_modules bloat, Lekhabuk achieves lightning-fast sub-25ms server response times, enterprise-grade OWASP security, authentic human-designed light editorial aesthetic, and 100% turnkey deployment on any shared cPanel, Hostinger, or VPS server. ================================================================================ TABLE OF FEATURES & CAPABILITIES ================================================================================ 1. STOREFRONT & CATALOG PRESENTATION - Editorial Human-Designed Aesthetic: Pure, sophisticated light theme with subtle geometric background canvas particles, zero harsh dark strips, and modern tactile buttons with zero default focus rings. - Dual Product Support: Seamlessly handles physical paperback/hardcover books, instant downloadable digital PDF notes, and hybrid editions. - Smart Catalog Filtering & Search: * Instant search by book title, author name, subject, or ISBN. * Category filtering with clean URL slugs (Competitive Exams, Computer Science, etc.). * Format tabs: All Books vs. Instant PDF Notes. - Visual Book Cards: * High-contrast covers with authentic book spine depth effect. * Discount percentage ribbons (e.g., "43% OFF"). * Digital format badges ("PDF"). * Dynamic Add to Bag & Quick View triggers. 2. ADVANCED PRODUCT DETAILS & BOOK SPECIFICATIONS TABLE - High-Resolution Cover & Preview Viewer: * Interactive multi-page sample preview carousel for looking inside before buying. * Status badges: Best Seller, Featured Edition, Only X Copies Left in Stock. - Revamped Publishing Specifications Table: * Author / Compiler: Clickable link leading directly to the dedicated Author Profile. * Format & Binding: High-contrast badge (e.g. Paperback Edition, Spiral Bound, Digital PDF). * Standard ISBN-13: Monospaced badge with 1-click clipboard copy button and toast alert. * Publisher Imprint: Verified publisher house and publication imprint. * Book Edition & Publication Year: e.g., 3rd Revised Edition (2026). * Target Exam & Readers: Exam syllabus alignment (UPSC, State PCS, GATE, University). * Inventory SKU: Clean unique warehouse stock-keeping unit. * Total Page Count & Language: Formatted page counts and primary language. * Package Weight & Dimensions: Shipping parcel weight in grams and dimensions (L x W x H). * Delivery Mode: Clear explanation of physical Speed Post or instant digital delivery. - Dedicated "About the Author" Card: * Located directly below book descriptions with author monogram/avatar, designation, verified badge, total publication metrics, and 1-click link to author's full catalog. - Value Book Bundles ("Frequently Bought Together"): * Automatic companion pairing with combined 10% bundle discount and 1-click bundle add. 3. DEDICATED AUTHOR PROFILES & DIRECTORY (/author/[slug] & /authors) - SEO-Optimized Public Author URLs: Pretty kebab-case routes (`/author/rajesh-k-sharma`, `/author/ias-topper-notes-team`) powered by Apache `.htaccess` rewrite rules. - Author Telemetry & Credential Badges: * Verified Author status badge. * Author designation / academic affiliation. * Comprehensive biography and location. * Real-time publication metrics (Total active published books count). * Reader rating average & total reviews count computed directly from verified purchases. - Author's Complete Publications Grid: * Dedicated catalog listing all books written or compiled by the author. * Add to Bag (with live out-of-stock guard) and View Book buttons. - Authors Directory Hub (/authors): * Grid showcasing all featured authors, educators, and mentors. - Google Knowledge Graph Schema.org Microdata: * Valid `Person` JSON-LD on single author pages. * Valid `CollectionPage` JSON-LD on authors directory. - Safe 404 Error Handling: Returns proper HTTP 404 status and friendly navigation card when a requested author slug does not exist. - Automated Admin Sync: Adding or editing books in the Admin Panel automatically syncs and registers new authors into the `authors` database table. 4. REAL DATABASE SHOPPING BAG (ZERO LOCALSTORAGE) - 100% Tamper-Proof Architecture: Cart items are persistently stored in the MySQL database (`cart_items` table) linked to customer sessions or user IDs. - Cross-Device Cart Persistence: Cart items survive browser cache clearing, tab reloads, and device switches. - Live Inventory & Stock Guard: Prevents customers from ordering more copies than physically available in warehouse stock. - Zero LocalStorage Vulnerability: Hackers and devtools cannot manipulate prices, discounts, or quantities on the client side. - Interactive AJAX Slide-Over Cart Drawer: Add to bag, increment/decrement quantity, remove items, and view live subtotal without full-page reloads. 5. ADVANCED SHIPPING DESTINATION & 1-CLICK CHECKOUT - Detailed Address Breakdown for Speed Post & Courier Dispatch: * Full Recipient Name & Primary WhatsApp Mobile Number. * Alternate Contact Number (Critical courier backup when primary phone is busy). * Address Type Tags: [Home - All Day], [Office / Work - 9 AM to 6 PM], [Hostel / Campus - Main Gate], and [Other]. * Flat / House No., Floor, Building Name. * Area, Street, Locality / Veng. * Prominent Nearby Landmark: Highlighted amber banner prompting users to specify prominent landmarks (Churches, ATMs, Schools, Hospitals) to ensure courier riders never face delivery delays. * City / Town, State, and 6-digit Indian Postal PIN Code. * Courier Rider Delivery Notes (e.g., "Call upon arrival", "Leave with guard"). - 1-Click Saved Address Checkout: Logged-in customers can select their default saved address with 1-click, or toggle to specify a different address. - Save to Profile Checkbox: Optionally updates customer's default shipping profile directly from the checkout form. - Digital Order Intelligence: Automatically collapses and bypasses shipping inputs when the shopping bag contains digital-only PDF downloads. 6. DUAL PAYMENT GATEWAY ARCHITECTURE & CASH ON DELIVERY - Razorpay Secure Standard Checkout: * Native Orders API integration with HMAC-SHA256 signature verification. * Embedded checkout modal supporting Credit Cards (Visa, Mastercard, RuPay), Debit Cards, NetBanking (all Indian banks), UPI, Wallets, and EMI. * Automated Webhook Listener (/webhook) for instant asynchronous reconciliation. - UPIGateway.dev Zero-Fee Instant UPI Gateway: * Direct real-time bank settlement with zero transaction fees. * Supports Google Pay, PhonePe, Paytm, BHIM, CRED, Navi, and all UPI apps. * Interactive drop-in modal checkout or seamless external redirection. * Real-time polling and webhook callback listener (/payment-callback). - Cash on Delivery (COD): * Can be enabled or disabled via Admin Settings. * Intelligent restriction: Automatically enabled for physical parcels, and automatically disabled for digital PDF study sheets. - Official Vector Branding: Clean, official SVG badges displayed at checkout: Google Pay, PhonePe, Paytm, BHIM, CRED, and Razorpay. 7. DIGITAL PDF STUDY MATERIAL ENGINE - Turnkey Instant Digital Unlocking: Download links activate automatically upon bank payment verification. - Secure Cryptographic Download Tokens: Generates unique 48-character tokens stored in the `digital_downloads` database table. - Anti-Piracy Download Restrictions: * Time-Limited Expiration (Tokens expire automatically after 7 days). * Maximum Download Counter (Restricted to 5 downloads per purchase). * Direct HTTP file access strictly blocked via `.htaccess` in storage directories. * Secure PHP streaming engine (`download.php`) streams files with proper MIME types without exposing filesystem paths. 8. INTERACTIVE 5-STAGE DELIVERY STEPPER & COURIER AWB TRACKING - Real-Time Parcel Stepper: * Stage 1: Order Placed (With precise timestamp). * Stage 2: Payment Verified (Bank verified or COD authorized). * Stage 3: Packed & Sealed (Warehouse packaging). * Stage 4: Dispatched / In Transit (Live courier dispatch). * Stage 5: Delivered (Doorstep handover). * Adaptive 3-Stage Stepper for digital PDF downloads. - Automated Logistics Carrier Detection & Deep-Links: * India Post (Speed Post) * Delhivery Express * Blue Dart Express * DTDC Express * Ekart Logistics * Shadowfax * Xpressbees * Shiprocket - Consignment AWB Box: Monospaced tracking badge with 1-click clipboard copy button. - 1-Click Track Button: Directly launches the official carrier tracking portal in a new tab. - Estimated Delivery Window: Dynamic delivery window calculation (e.g. 2 - 5 business days). - Embedded Across All Touchpoints: * Order Success confirmation page (`/order-success`). * Public Consignment Tracking portal (`/track-order`). * Customer Account Dashboard (`/my-account`). * Super Admin Order Details & fulfillment screen (`/admin/order-details`). 9. AUTOMATED WHATSAPP NOTIFICATION ENGINE (wapi.lushai.dev) - Native REST API integration with official Lushai.dev WAPI gateway. - Customer Order Confirmation: Instant WhatsApp message with order number, item breakdown, total amount, and direct tracking link. - Store Administrator Alerts: Real-time WhatsApp alert delivered to admin's mobile upon new order placement or payment confirmation. - Courier Dispatch Notice: Automatic WhatsApp notification sent when admin marks an order as Shipped, containing courier name and consignment tracking number. - Admin Test Utility: "Send Test Message" button in Admin Settings to verify connection in real time. 10. AUTOMATED SMTP TRANSACTIONAL EMAILS - Integrated PHPMailer / Native SMTP socket client. - Instant HTML Order Confirmation & Purchase Receipts delivered to customer inbox. - Digital PDF download links delivered directly to customer email. - Compatible with Google Workspace, Gmail SMTP, Hostinger Mail, SendGrid, Mailgun, Amazon SES, and all standard SMTP relays. 11. CUSTOMER ACCOUNT & SELF-SERVICE PORTAL (/my-account & /track-order) - Order History & Telemetry: View all past orders, line items, payment status, fulfillment status, and live tracking steppers. - Digital Study Library: Access all purchased PDF study notes and eBooks with live download buttons and remaining token counts. - Saved Shipping Details Management: * Interactive Saved Address Preview Card with Address Type badge and Landmark. * Toggleable Edit Form with client-side animation. - Reading Wishlist (/wishlist): Save favorite books with 1-click "Move to Bag". - Account Security: Change password with bcrypt hashing and validation. 12. COMMERCIAL TAX INVOICE ENGINE - Printable Tax Invoice Generator (/invoice and /admin/invoice): - Professional corporate layout with business header, invoice date, and unique ID. - Billed To & Shipped To details including prominent Landmark, Alternate Phone, and Courier Rider Instructions. - Itemized line items table with HSN/SAC codes, quantities, rates, and totals. - Discount coupon breakdown, Subtotal, and Grand Total. - Print-optimized CSS (@media print) with clean page breaks and packing slip styling. 13. SUPER ADMINISTRATOR MANAGEMENT SUITE (/admin) - Real-Time Analytics Dashboard: * Live Gross Revenue, Total Orders, Paid Rate, Active Books in Catalog. * Recent orders table with 1-click status pills. - Book Catalog Inventory Management: * Add, edit, delete, and duplicate books. * Drag-and-drop cover image upload and sample preview images. * Digital PDF master file upload. * Stock level tracking with low-stock warnings. * Toggle Physical, Digital, or Both formats. * Automatic author sync into `authors` registry on save. - Category Management: Create, edit, and slugify academic subjects & categories. - Order Fulfillment Center: * Filter orders by payment status (Pending, Paid, Failed) and fulfillment status (Pending, Paid/Confirmed, Processing/Packed, Shipped, Delivered, Cancelled). * Add Courier Partner Name (Speed Post, Delhivery, DTDC, Blue Dart, etc.) and Consignment Tracking Number (AWB). * 1-Click Bank Reconciliation: Query Razorpay API or UPIGateway engine to verify payment state directly from the admin dashboard. - Promo Coupon System: * Create percentage or flat amount discount coupons. * Minimum spend requirements, expiration dates, and usage limits. - Customer Management: Search, view, and manage registered customer profiles. - Verified Review Moderation: Approve, reject, or remove customer reviews. 14. VISUAL BRANDING & CUSTOMIZER (/admin/customizer) - Dynamic Application Name (`APP_NAME`): Controls store title across HTML head, navbar, emails, invoices, and WhatsApp messages. - Store Tagline & Custom Logo Upload. - Announcement Bar: Enable/disable top alert bar, customize text, link, and color themes (Slate, Indigo, Emerald, Amber). - Customer Helpline Phone & Support Email configuration. - Social Media Links: Telegram Channel, WhatsApp Support, and YouTube Channel. 15. SECURITY, ANTI-FRAUD & OWASP COMPLIANCE - Zero Hardcoded Credentials: All secrets live strictly in environment variables (`.env`) and encrypted database settings. - SQL Injection Defense: 100% of database queries use PDO Parameterized Prepared Statements (`emulate_prepares => false`). - Cross-Site Scripting (XSS) Shield: All dynamic outputs are escaped with `htmlspecialchars(..., ENT_QUOTES, 'UTF-8')`. - Cross-Site Request Forgery (CSRF) & Clickjacking Protection: * `X-Frame-Options: SAMEORIGIN` * `Content-Security-Policy (CSP)` tuned for Razorpay and UPIGateway frames. * `Strict-Transport-Security (HSTS)` header with 1-year preload. * `Permissions-Policy: camera=(), microphone=(), geolocation=()`. - Protected Storage: * Web access to `.env`, `.git`, `.htaccess`, and `schema.sql` blocked (HTTP 403). * Script execution disabled inside `uploads/`. * Digital PDF folder protected from direct URL downloads. - DevTools Tampering Prevention: Cart prices and totals are strictly calculated server-side from database records at the moment of checkout. 16. HIGH PERFORMANCE & SPEED OPTIMIZATION - Lightweight Vanilla PHP Engine: Zero heavy frameworks; boots in under 5ms. - Built-In Server Page Cache (`PageCache`): Serves cached HTML for anonymous catalog visits with sub-25ms Time-To-First-Byte (TTFB). - Database Performance Optimizations: * Fast-path index queries for instant author telemetry. * Composite indexes on active, featured, category, and type filters. * Indexed order sorting and customer joins. - Browser Caching & GZIP Deflate compression configured via `.htaccess`. - Native SVG Icons: Pure Feather/Lucide vector icons for instantaneous rendering with 0 HTTP calls. 17. TURNKEY 1-CLICK SETUP WIZARD (/install.php) - Automated Prerequisites Audit: Tests PHP 7.4+, PDO MySQL, and cURL. - Automatic Database Creation: Creates database if not existing on localhost/VPS. - 1-Click Schema Execution: Creates all 13 core relational tables and composite indexes. - Sample Demo Catalog Seed: Pre-populates sample academic books, authors, and categories. - Dynamic Production `.env` Generation: Writes host, DB, and API placeholders. - Automatic Installer Lock (`install.lock`) to prevent reinstallation attacks. - Auto-Installer Redirect: Automatically routes unconfigured instances to `/install.php` instead of displaying raw database errors. ================================================================================ TECHNICAL SPECIFICATIONS SUMMARY ================================================================================ - Backend Language: PHP 7.4 / 8.0 / 8.1 / 8.2 / 8.3 (Strict Vanilla OOP & PDO) - Database: MySQL 5.7+ / MariaDB 10.3+ (InnoDB, UTF-8 mb4, 13 Relational Tables) - Frontend: Tailwind CSS 3.x, Responsive HTML5, Vanilla JavaScript ES6 - Design System: Light editorial human-centered typography, zero default focus rings, canvas background particles - Icons: Pure Feather/Lucide SVG Vector Icons (100% Zero Emojis) - Total Package Size: ~1.04 MB (Uncompressed), ~79 Production Files Total - Dependencies: Zero NPM / Zero Composer runtime requirements (100% Turnkey Standalone) - License: Commercial Ready (Single Domain / Multi-Domain / Client Turnkey Resale) ================================================================================

Full source code with installation guide
Extended Commercial License (Unlimited Domains)
Complete source code control & customization
Direct author installation support available

Highlighted Capabilities & Features

Dual Physical Books & Digital PDF Notes

Hybrid Catalog

Sell physical paperbacks with courier tracking and stock control, or instant downloadable digital PDF study notes.

Dual Payment Gateways (Razorpay & UPI)

Razorpay + 0% UPI

Pre-integrated with Razorpay (Cards, NetBanking, Wallets) and UPIGateway direct QR with automated webhook credit.

Automated WhatsApp Alerts & Invoices

wapi.lushai.dev

Delivers instant order confirmations, printable tax invoices, and shipping tracking links straight to customer WhatsApp.

Protected PDF Streaming & Expiry Locks

Anti-Piracy Shield

PDF downloads use expiring cryptographic signed tokens, IP binding, and a strict 5-download safety threshold.

Speed Post & Landmark Shipping Desk

Indian Logistics

Checkout collects prominent local landmarks and alternate contact numbers with live India Post courier tracking.

Database Shopping Bag & Zero LocalStorage

Tamper-Proof

Real server-side database shopping bag preventing client-side devtools inspection or cart balance bypass.

1-Click Web Setup Wizard (install.php)

Hostinger Ready

Automated 60-second browser installer that checks PHP 8+, imports MySQL schema, and seeds default catalog.

Software Specifications

Software Framework
Pure PHP 8.1 / 8.2 / 8.3 (Clean Modular MVC)
Database / Backend
MySQL 8.0+ / MariaDB (Prepared PDO Statements)
Web Server
Hostinger / cPanel / LiteSpeed / Apache / VPS
Payment Gateways
Razorpay API + UPIGateway.dev (0% Fee) + COD
WhatsApp Notification
wapi.lushai.dev REST API Powered
Product Support
Physical Books (Paperback) & Instant PDF Downloads
High Resolution
Yes (Retina & Mobile HUD Optimized)
Compatible Browsers
Chrome, Edge, Safari, Firefox, Android Webview
Archive File Size
555 KB (Ultra-Lightweight Package)
License Type
Extended Commercial License (Unlimited Domains)
Installation Support
Fee ₹499 (Optional Setup Support by Author)

How to Install & Deploy This Script (4-Step Quickstart)

~10 Mins Setup
1

Instant Download Archive

Complete your checkout to immediately download the clean, unencrypted ZIP containing full source code, database schema, and documentation.

2

Upload to Web Server

Upload the zip archive into your hosting root or project directory using Hostinger hPanel, cPanel File Manager, or SFTP and extract the files.

3

Import SQL & Config

Import the included .sql file into phpMyAdmin or MySQL database. Enter your DB credentials and environment variables in the configuration file.

4

Launch & Customize

Access your website domain in any web browser. Log in to the administrator portal with provided credentials and deploy across unlimited domains.

Why Developers Choose CodeSeller vs Other Marketplaces

Feature & FreedomCodeSeller.inTraditional Marketplaces
Domain LicensingUnlimited Domains (No Lock)Single Domain Lock ($$$ for Extended)
Source Code Transparency100% Unencrypted & CleanIonCube / Obfuscated Code Common
Platform Transaction Fees0% Commission Direct Ownership2% to 35% Fees + Gateway Charges
Full SQL Database DumpIncluded in Instant DownloadOften Missing or Extra Charge
Payment ConvenienceInstant UPI, Cards & NetBankingInternational Cards Only + FX Fees
Direct Developer ContactDirect WhatsApp & Author TicketsSlow 48-Hour Forum Support

Frequently Asked Questions (FAQ)

Key questions and deployment guidelines provided by author @ceeprolific

Verified Author Guidance
Yes! Lekhabuk natively supports physical paperback books with shipping address and courier tracking, as well as digital PDF notes with instant, secure tokenized downloads.

Ratings & Verified Buyer Reviews

Verified feedback from customers who purchased this source code

5.0

0 Verified Customer Ratings

100% Recommended by Developers
5
100%
4
0%
3
0%
2
0%
1
0%

No reviews written yet

Be the first verified customer to rate and review this source code!

Extended Commercial LicenseInstant Download
₹899₹3,99978% off

Includes full source code & unlimited domain rights

Quality verified clean source code
Unlimited domain & client deployments
Author installation support available
Instant delivery viaUPI
Need Demo or Custom Setup?
Chat directly with CodeSeller team
Chat

Created By Author

CeeProlific
CeeProlific
@ceeprolific
Elite Developer

Full Stack Software Engineer & Verified Marketplace Elite Developer.

Total Author Sales:12 Sales
View Author Portfolio

Customers who viewed this also bought

Similar verified E-Commerce & Digital Stores source code packages

VIEW SIMILAR
Single Vendor - PHP E-commerce Store Script 2026
VERIFIED
Demo
No ratings yet|0 sales
Single Vendor - PHP E-commerce Store Script 2026
PHPMySQLTailwind CSS+1
₹499₹4,99990% off
Multi-Vendor E-Commerce Platform and Digital Storefront Builder Script
VERIFIED
₹520₹3,99987% off
Home
Explore
Cart
Downloads
Sign In