Skip to content
FirstUser

For builders shipping this week

How to test a Lovable app before launch: sign-up, email, login and checkout.

The editor preview is signed in as you. A launch test uses the published URL, a private window, and an email this project has never seen.

Test your app's sign-up for free

Publish, then open the address you would send to someone else: the custom domain, or the published lovable.app URL. Do this in a private window. The editor preview still has your session, your cookies, and often an account you created with Add user, which Lovable confirms automatically. That is not the path a new visitor takes. A private window starts with an empty cookie jar.

Sign up with an email address this project has never seen. On hosted Supabase, confirm-email is on by default, so sign-up can return a user and no session until that person opens the confirmation link. Look in spam. If nothing arrives, or the link opens localhost or the preview, the Supabase Site URL and Redirect URLs are still aimed at the wrong host. On Lovable's built-in backend, publishing sets the Site URL to the published lovable.app address, and connecting a custom domain adds it to the redirect URLs. A Site URL you typed yourself stays as you left it. An app on your own Supabase project does not get those updates: add the published https origin yourself, and add www and the bare domain if both are live. The confirmation-email guide is the longer checklist when the message never shows up.

After the link confirms the account, log out, then log in with the same email and password. Request a password reset from the published site and open that link in the same browser that asked for it. If it opens localhost, the Site URL or redirectTo is still the dev address. The password-reset guide lists those fields. While logged out, paste the URL of a page that should require an account, such as the dashboard. You should see the login page, not the private screen. Log in, open that same address again, and reload it. A reload that sends you back to login, or a 404 on an address that works when you click to it inside the app, is a session or routing problem.

Leave Stripe in test mode until the payment path works. As the new user, click upgrade or checkout. Stripe's test card is 4242 4242 4242 4242, with any future expiry, any three-digit CVC, and any postal code. It only succeeds while the secret key and the price are both test-mode. success_url and cancel_url have to be on the published domain. A success URL still set to the preview or to localhost drops the person who just paid onto a host where they are not logged in. The success-URL post shows that return-address mistake.

A paid Checkout Session is not an updated plan. Reload the app and see whether this user is on the paid plan. If Stripe shows the payment and the app still shows free, the webhook did not write the row. Test and live mode have separate endpoints and separate signing secrets, and an endpoint that only listens for invoice.paid will not receive checkout.session.completed. The webhook guide is that checklist. Only after test mode updates the plan should you point the live function at the live secret key, create the price in live mode, and replace the test price id. A live key sent a test price id fails with No such price, because a similar object exists in test mode and the ids are not the same. The Lovable Stripe checkout guide and the no-such-price post cover that swap. The live webhook needs the signing secret from the live endpoint, not the secret printed by stripe listen.

FirstUser can run the first-visitor path on the URL you paste. It opens the page, signs up with a generated name and email, opens a confirmation link when a disposable inbox can see the message, logs in, and opens pricing or checkout. Checkout passes when a price is visible. The saved pass message is "Opened the pricing or checkout page and found a price." It does not enter a card, does not finish a payment, and does not read the plan afterward. It does not log out, does not request a password reset, and does not reload a protected page. Those checks, and the test-card payment, are still a manual pass. The free signup test is one report and does not ask for a FirstUser account or a card. The monitor-signup guide is the shorter note on that automated run.

One fix like this per email

A short tip each day for Lovable, Bolt and Cursor apps. Unsubscribe anytime.

We'll email that address. Privacy policy