Functionality: Processes payments for bookings and maintains transaction logs. Listens for booking events and initiates payment workflows. Calculates Price of rooms. Database: Stores payment transaction details and links them with bookings.