has_session)) { echo '
' . esc_html__('No active booking session was found. Please initiate the remaining payment from your account page.', 'yatra') . '
'; return; } if (empty($booking->is_remaining_payment)) { echo '
' . esc_html__('This page is only for remaining balance payments. Please use the regular booking form.', 'yatra') . '
'; return; } if (empty($booking->remaining_amount) || $booking->remaining_amount <= 0) { echo '
' . esc_html__('This booking is already fully paid.', 'yatra') . '
'; return; } $trip = $booking->trip ?? null; if (!$trip) { echo '
' . esc_html__('Trip information is missing for this booking.', 'yatra') . '
'; return; } $trip_id = $trip->id; $trip_slug = $trip->slug ?? ''; $travel_date = $booking->travel_date; $total_travelers = $booking->travelers; $remaining_amount = $booking->remaining_amount; $amount_paid = $booking->amount_paid ?? 0; $total_amount = $booking->total_amount ?? ($remaining_amount + $amount_paid); $enabled_gateways = $booking->enabled_gateways ?? []; $booking_reference = $booking->booking_reference ?? ''; $existing_booking_id = $booking->existing_booking_id ?? 0; $pricing_type = $booking->pricing_type ?? 'regular'; $price_types = $booking->price_types ?? []; $traveler_counts = $booking->traveler_counts ?? []; $is_remaining_payment = true; ?>

:
:
:
title); ?>

  • : title); ?>
  • :
  • :