← Quiz: Design a Ticket Booking System: all 10 questions
Quiz: Design a Ticket Booking System · Question 7 of 10
Why confirm bookings from the payment gateway's webhook rather than only from the browser redirect?
Why confirm bookings from the payment gateway's webhook rather than only from the browser redirect?
- A.Webhooks are faster than browsers
- B.The user may close the tab after paying, so the redirect may never arrive
- C.Browsers cannot send POST requests
- D.Webhooks never fail
Answer & explanation
Correct answer: The user may close the tab after paying, so the redirect may never arrive
The gateway notifies your server directly, whatever happens to the user's browser.
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 →