Clicking back from the Stripe checkout page to the homepage left the "Choose plan" buttons frozen on "Redirecting…" — required a manual page refresh to click another plan. Caused by the browser restoring the page from bfcache without resetting the loading state. Fixed with a pageshow listener that resets the checkout state when the page is restored from cache.