User Tools

Site Tools


fctdoc:b2c:fare_fee_logic

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
fctdoc:b2c:fare_fee_logic [2025/07/14 06:22] โ€“ [6. Gateway Fee Based on FOP (Form of Payment)] nithyafctdoc:b2c:fare_fee_logic [2025/07/14 09:47] (current) โ€“ [2. Gateway Fee Calculation] nithya
Line 18: Line 18:
   * If the calculated percentage is less than the minimum value, the minimum fee is applied.   * If the calculated percentage is less than the minimum value, the minimum fee is applied.
  
-**Examples:**   
-  * FOP: **Cash**   
-    Total Amount: 1000   
-    Gateway Fee = 3.5% of 1000 = 35 
- 
-  * FOP: **Credit Card**   
-    Total Amount: 1000 (900 via service provider, 100 via ARC Pay)   
-    Gateway Fee = 3.5% of 100 = 3.5 
  
 ===== 3. Booking Fee Calculation ===== ===== 3. Booking Fee Calculation =====
Line 81: Line 73:
  
 ---- ----
-===== 7. 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/fare_fee_logic.1752474143.txt.gz ยท Last modified: by nithya