User Manual

awaBerry | Checkout Cancelled

The Checkout Cancelled screen is a transitional page displayed when the user cancels a Stripe payment checkout before completing it.

Checkout Cancelled

Summary

This page is shown when the user cancels a Stripe payment checkout and is redirected back to the application. The app records the cancellation in the session manager and then redirects the user to the licence initialisation screen. No user action is required — the redirect happens automatically.

  • Cancellation recording: The app calls CheckoutParamsManager.setCheckoutCancelled() to flag that the checkout was cancelled so subsequent screens can react accordingly.
  • Automatic redirect: The session view is set to "licenceinit" and the user is taken back to the licence initialisation flow to try again or choose a different plan.

Scenario: User cancels the Stripe checkout

  1. The user was on the Stripe-hosted checkout page and clicked "Cancel" or navigated back.
  2. Stripe redirects the browser to the /checkoutcancel route.
  3. The app stores the cancellation state and sets the view to "licenceinit".
  4. The user is redirected automatically to the licence initialisation screen where they can choose a plan again.