TRAVEL TECHNOLOGY / CORE PHP

FareFix B2B Travel Platform

A complete B2B flight and hotel booking portal built around multiple provider APIs, runtime commission logic, payment integrations, booking workflows, cancellations and reporting.

Core PHPMySQLRedisFlight APIsHotel APIsPhonePeEasebuzzInstamojo
01 / THE PROBLEM

A B2B travel portal had to coordinate many external systems without breaking the booking flow.

The portal needed flight and hotel search, fare selection, booking, cancellation, commissions, payments, reports and agent operations in one place.

Business requirements

  • Multiple flight providers in one search experience.
  • Hotel search with large result sets and filters.
  • Real-time commission calculation.
  • Balance checks and duplicate booking protection.
  • Payment status tracking and agent credit updates.
  • Reports, booking history and cancellation workflows.
02 / ARCHITECTURE

Provider orchestration + normalized business logic.

The flight search endpoint calls individual provider integrations, merges their responses and applies sorting, filtering and commission logic before returning a unified result.

searchflight.phpOrchestrator
Provider APIsTBO / SpiceJet / others
RedisRuntime commission
MySQLBookings / users / payments
03 / FLIGHT SEARCH

One interface, multiple airline sources.

04 / HOTEL + OPERATIONS

Large hotel responses had to remain usable.

Hotel search used lazy loading and filtering so users could work with large result sets without waiting for the whole page to become interactive.

05 / PAYMENT & SAFETY

Payment state was treated as a first-class business record.

A payment table stored the request and payment identifier. After the gateway response, the transaction status was updated, user balance/credit was adjusted and duplicate/fraud risks were reduced through controlled state handling.

06 / BOOKING WORKFLOW

Booking was more than a single API call.

User details
Duplicate check
Balance check
Provider booking
Confirm details
Save + email
The workflow persists records across MySQL tables, updates operational status and sends booking information back to agents.
Need something similar?

Let's build your version.

Start a conversation →