Request Flow

When a request is received, the system follows this control flow:

  1. Session Validation: Check whether the user has an active checkout session.

  2. Basket Check: Verify whether the basket is empty and whether the products are still available for purchase.

  3. Determine Page: Determine which page should be shown according to the user's current state.

    • If there are completed steps, redirect to the first incomplete step

    • If all steps are completed, show the final confirmation page

  4. Context Creation: Prepare and return the data required for the determined page.

Last updated

Was this helpful?