Skip to content

QuizNot attempted

A new version during checkout

Your shop detects that a new version is live while a user is on the payment step of checkout. What should the app do?
1–4 to choose, Enter to submit
Show answer & explanation

Correct answer:

  • Nothing yet: let them finish, and switch to the new version with a full page load on a later navigation, e.g. after the order confirmation
  • The checkout's code is already loaded and keeps working, so interrupting gains nothing and risks losing the order.
  • Switch at a safe moment instead: the next navigation outside the flow, or after confirmation.
  • Keeping the cart on the server and the API backwards-compatible covers the rest.
  • Not "reload immediately": it can lose form state mid-payment.
  • Not "log out": that hurts the user and doesn't change the code.
  • Not "block the payment": that's only justified for a critical fix, enforced by the server.