Can free users get your paid features? How to check your paywall
- Hiding or disabling a "Pro" button doesn't stop anyone: the page and the data behind it have to check the plan.
- A classic leak: users can edit their own profile row, and the plan lives in that row. One request and they're Pro.
- Test it with a free account: open every paid page directly and repeat the paid requests.
Why paywalls leak in AI-built apps
When you ask for "a Pro plan with exports and analytics", the AI usually builds the screens and hides or greys out the Pro parts for free users. That's the visible half. The other half, checking the plan every time the data is read or an action runs, is easy to forget, so it often isn't there.
- The plan is only checked in the UI. The paid page still opens if you type its address, and its data still loads.
- API routes or database functions for paid features (export, AI generation, reports) don't check the plan at all.
- Paid content lives in a table any signed-in user can read, so the paywall is just a filter on the screen.
- The plan (plan, is_pro, credits) is a column in the user's own profile, and a Row Level Security policy lets users update their own profile. Changing it is one request away.
- The plan is kept in the browser (local storage or a cookie the app trusts) instead of being read from the server.
- The payment webhook isn't verified, so anyone can send a fake "payment succeeded" event.
How to check it yourself
- Sign in with a free account. Make a list of every paid page and action (exports, AI features, reports, extra projects, team seats).
- Type each paid page's address directly. You should see an upgrade screen, not the feature or its data.
- As a paid user, open the developer tools (Network tab), use each paid feature and note the requests it makes. Repeat them from the free account (copy them as fetch or cURL and swap the session). They should be refused.
- In the Supabase SQL editor, check whether users can update the column that holds their plan: look at the update policies on your profiles table (select * from pg_policies where tablename = 'profiles';). If users can update their own row and the plan is in it, they can upgrade themselves.
- If you use Stripe or Paddle, check that the webhook verifies the signature and that only the webhook (on the server) changes a user's plan.
Prompt to fix it
Fix prompt
Enforce the subscription plan on the server, not only in the UI. For every paid page, API route, database function and table that holds paid content: check the user's current plan on the server and refuse access (403 or an upgrade screen) for free users. Keep the plan in a place users can't edit: move plan, is_pro and credits out of any table users can update, or add a Row Level Security policy that blocks users from changing those columns, so only the payment webhook (running on the server and verifying the signature) can change them. Never trust a plan value stored in the browser. Don't change how the paid features look. List every page, route, function and policy you changed.
Then repeat the free-account test, including the requests copied from a paid account.
Want us to run this test for you?
The US$9 crash test without code creates a free test account on your live app and tries every paid page and feature directly, plus data between users and private pages. You get the evidence and a fix prompt for each issue.
Related guides
- Can users see each other's data in my Supabase app?
- Lovable admin page accessible without login: hiding it isn't locking it
Updated 2026-11-25