User Tools

Site Tools


fctdoc:b2c:discount_logic

This is an old revision of the document!


1. 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:

  • ADMIN → Airline Config → Default Section (B2B / B2C)

Parameter: `booking_fee_discount`

  • ADMIN → Airline Config → Specific Airlines
  • ADMIN → Agency Partners → [Company Name] → Airline Config

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

🧮 Discount Types & Logic

  • Percentage-Based Discount

Applies a percentage off the total booking fee.

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

Applies a fixed amount off the booking fee.

  Example: $5 discount reduces the booking fee by $5
  • If Both Are Enabled

The system calculates both the percentage and fixed discount.

  • *Final Discount = (Percentage of booking fee) + (Fixed discount) —- ==== 💡 Example ==== * Booking Fee: $10 * Percentage Discount: 2% → $0.20 * Fixed Discount: $5.00 * Total Discount Displayed at Checkout:** `$5.20`

fctdoc/b2c/discount_logic.1752474601.txt.gz · Last modified: by nithya