Table of Contents

In the Flights module, various discount and commission mechanisms are applied dynamically to influence the final fare seen by the customer. These include both system-configured discounts and airline-driven commissions.

Booking Fee Discount

The Booking Fee Discount is a deduction applied per booking (not per passenger) and is displayed on the checkout screen. It helps reduce the booking fee charged to the customer.

🔧 Location of Configuration

The discount is configured in the Admin portal at the following paths:

Parameter: `booking_fee_discount`

The system picks the most relevant configuration based on the booking context.

🧮 Discount Types & Logic

Applies a percentage off the total booking fee.

  Example: If booking fee = $10 and discount = 2%, result = $0.20 off

Applies a fixed amount off the booking fee.

  Example: $5 discount reduces the booking fee by $5

The system calculates both the percentage and fixed discount.