Hotel Booking Website
Code on GitHub, no live demoA full-stack hotel booking application covering room search, booking, and a sandbox payment integration.
Illustrative interface preview. There is no working live demo for this project (see below).
Architecture
Problem
Hotel booking flows involve more moving parts than they first appear: searching availability, holding a room selection, collecting payment, and confirming or refunding a booking without losing data along the way.
Solution
Built a multi-page PHP application backed by a MySQL database, covering the full booking lifecycle: room search and detail pages, a booking and confirmation flow, and a payment integration built against Instamojo's test and sandbox API, including a webhook-verified confirmation step and a refund flow. No real money moves through it. It's a working integration, not a live payment processor.
Technology
Key Features
- Room search and detail pages
- Booking and confirmation flow
- Payment integration via Instamojo's sandbox API, with HMAC-verified webhook confirmation
- Refund flow via Instamojo's test API
- Contact and newsletter forms
What I Learned
Structuring a multi-page PHP application around a relational schema, keeping a multi-step flow (search, book, pay, confirm) consistent when any step can fail, and integrating a third-party payment API end to end, including webhook signature verification.