The short answer

Choose either Lovable’s built-in payments (Pro plan or higher) or your own Stripe account; one project can’t use both. Test declines, cancellations and failed renewals in the preview, finish the go-live steps before expecting real payments, and keep prices and access checks on the server.

Why it happens

What’s actually going on

Lovable offers built-in payments (Stripe or Paddle, set up and managed by Lovable, on paid plans) and an integration with a Stripe account you own. A project uses one or the other, not both. Built-in payments keep separate test and live environments: the preview only accepts test cards, and the published app won’t take real payments until you finish the go-live steps.

With your own Stripe account, Lovable builds edge functions that call Stripe with your stored key. For subscriptions, the app asks Stripe whether the signed-in user has an active subscription, matched by email address. That works, but a user who signs in with a different email from the one they paid with won’t be recognised.

Already done for you

What Lovable already handles

Built-in payments

Lovable creates the payment provider account and manages keys, webhooks and the test and live environments. Requires a Pro plan or higher.

Your own Stripe account

Works on the Free plan. You enter a restricted or secret key in the Connect Stripe form, never in the chat, and it’s stored as a backend secret.

Test and live separation

A test-mode banner shows only in the preview, and going live includes a readiness check before you publish.

Fix it yourself

Step by step

In this order. Most apps get most of the way with these alone.

  1. Choose one approach

    Built-in payments for the least setup. Your own Stripe account if you already have one, want direct control, or have an older React + Vite app on your own Supabase project.

  2. Require sign-in for subscriptions

    Subscriptions need user accounts so a payment can be linked to a person. One-time payments can work without accounts.

  3. Test the unhappy paths

    In test mode, try a declined card, a cancelled checkout, a cancelled subscription and a failed renewal, and confirm the app grants or removes access each time.

  4. Complete go-live, then pay once yourself

    Finish your provider’s verification and the go-live steps, publish, and make one low-value real purchase with your own card before announcing.

  5. Keep prices and access on the server

    Run Lovable’s Deep scan, which looks for prices, fulfilment or paid features a customer can change or reach without paying. Never trust a price sent from the browser.

Where it still goes wrong

  • Matching subscriptions by email breaks when people change email or pay with a different one. If that’s common for you, link payments to a customer ID instead.
  • Refund rules, failed-renewal emails, sales tax and invoices are business decisions. Paddle acts as merchant of record; Stripe does only with its optional Managed Payments.
  • Some business categories are restricted by Stripe and Paddle and need extra review, with no guarantee of approval.

When to bring in a developer

If the steps above turn up more than you have time for, or the app already has paying users, I take Lovable apps to production: login and access rules, database and backups, payments, security, SEO and deployment.

App rescue: From $1,000, fixed price, scoped in writing before any work starts.

More in app rescue, or hire a Lovable developer.

Questions

Common questions

Do I need a paid Lovable plan to take payments?

For built-in payments, yes: Pro or higher. Connecting your own Stripe account works on the Free plan.

Why do real cards fail in my preview?

By design. The preview runs in test mode and only accepts test cards. Real payments run on the published app after you complete go-live.

Stripe or Paddle?

Paddle is a merchant of record for digital products and software. Stripe covers digital products, services and physical goods, and is merchant of record only through Managed Payments. Lovable recommends one based on what you sell.

Can I use built-in payments and my own Stripe account together?

Not in the same project. It’s one or the other.

Want your Lovable app production-ready?

Send me the app and what’s worrying you. You get a written scope with a fixed price before any work starts.

Book a 30-minute call