← Quiz: Design a Ticket Booking System: all 10 questions
Quiz: Design a Ticket Booking System · Question 8 of 10
Payment succeeds but the user's hold had already expired and the seat was sold to someone else. What should the system…
Payment succeeds but the user's hold had already expired and the seat was sold to someone else. What should the system do?
- A.Book the seat for both users
- B.Ignore it
- C.Refund the payment automatically and inform the user
- D.Cancel the other user's booking
Answer & explanation
Correct answer: Refund the payment automatically and inform the user
The seat invariant comes first; the money must be returned.
Can you get the rest right without peeking?
Take the timed Quiz: Design a Ticket Booking System quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →