Step 2 Β· Payments

Turn on Stripe payments

Lovable Cloud comes with a built-in Stripe integration. You don't need to copy API keys, set up webhooks, or manage a Stripe Connect account β€” Lovable handles all of it. You'll just need a Stripe account (free) connected through the Lovable UI.

1

Open the Payments connector in Lovable

Inside your Lovable project, go to Connectors β†’ Payments and click "Enable Stripe."

Tip: Lovable will walk you through linking (or creating) a Stripe account. Approve the connection β€” that's it for credentials.
2

Create your products & prices

Most builds ship with seed products (so you can test checkout immediately). When you're ready to use your own, create them in the Lovable Payments dashboard, or ask Lovable to recreate them in code.

β€Ί_Replace the seed products with my real catalog: [Product 1, $X], [Product 2, $Y]. Keep the existing product schema in the database and just update the seed data.
3

Test checkout in sandbox mode

Lovable Cloud defaults to sandbox mode in preview. Run a full checkout to confirm it works.

Use this test card on the Stripe checkout form:

Card number: 4242 4242 4242 4242
Expiry: any future date
CVC: any 3 digits
ZIP: any 5 digits
Heads up: A live card (real number) will fail in sandbox mode. Always use the test card above.
4

Decide how you want taxes handled

Lovable can configure your Stripe connection to handle tax compliance end-to-end for buyers in ~80 supported countries β€” Stripe calculates, collects, files, and remits sales tax for you, plus handles fraud and disputes. The extra cost is +3.5% per transaction. Most founders starting out find this worthwhile.

If you'd rather handle filing yourself, Lovable can also just calculate & collect tax for +0.5% per transaction.

β€Ί_Enable end-to-end tax compliance on my checkout sessions. I'm OK with the +3.5% fee.
5

Switch to live mode before you launch

In Lovable Cloud β†’ Payments, complete Stripe's business verification (this is where you provide your legal name, bank account, and tax ID). Once approved, flip the environment to Live.

Tip: Publish your app from the editor's top-right button after switching to live mode. Frontend changes need a publish; backend changes deploy instantly.
Done when…
  • βœ“Stripe is connected in Lovable Cloud β†’ Payments
  • βœ“Your real products & prices are in the catalog
  • βœ“Test checkout completes successfully with card 4242…
  • βœ“You've made a tax-handling decision (full / calc-only / none)
  • βœ“Live mode is enabled and the site is published
Next: Set up the backend β†’
Unlock every Lovable build β€” current and future. $37/mo or $297/yr (save 33%).Cancel anytime. Access lasts as long as your membership is active.Become a member β†’