Skip to content

choose a plan looping #6

Description

@aquariuscook

Steps to reproduce:

  1. Log in to the app.
  2. Click the "Prompt to agent" option.
  3. The app navigates to the Pricing page.
  4. Choose the "Free" plan.
  5. Instead of proceeding, the app redirects back to the "Prompt to agent" page.
  6. Clicking "Prompt to agent" again sends you back to the Pricing page, creating a loop.

Actual behavior:

  • Selecting the Free plan from the Pricing page after clicking "Prompt to agent" causes a redirect loop between the Pricing page and the Prompt to agent page.

Expected behavior:

  • Choosing the Free plan should complete the selection and either grant access to the agent flow or show a confirmation screen (not return to the Prompt to agent page).

Impact:

  • Users cannot enter the agent flow when selecting the Free plan; they are stuck in a redirect loop.

Notes / debugging hints:

  • Likely an issue with the post-selection routing or the Free-plan selection not persisting the user's choice (session/subscription state not updated).
  • Check the redirect logic after plan selection and any guard that decides whether to show the Pricing page vs the Prompt to agent flow.

Reproducibility: Always observed when following the steps.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions