Skip to main content

User Flow

This page describes the current working user flow around Scriptwriter, Pricing and PRO access.

Main entry point

At the current stage, one of the main active user entry points is AI Scriptwriter.

The user enters the product interface and interacts with the current script generation workflow.

When the user reaches a PRO-related action, the product does not complete billing internally.

Instead, the flow is separated into product usage and billing logic.

Current flow sequence

  1. User opens Scriptwriter
  2. User interacts with the product
  3. User requests a PRO-related action
  4. Scriptwriter redirects the user to Pricing
  5. Pricing handles plan selection and payment initiation
  6. Payment is processed through WayForPay
  7. Payment confirmation is handled through webhook logic
  8. Backend state is updated
  9. Scriptwriter re-checks access state
  10. PRO state is reflected in the product UI

Why this separation exists

The current system separates the product interface from the billing center.

This makes the architecture cleaner and reduces confusion between product logic and payment processing logic.

Current source of access restoration

Access restoration depends on backend entitlement state rather than only on local UI state.

This is one of the key principles of the current working flow.