Eligibility
Built-in payments support digital products and software:- SaaS apps with subscription tiers
- Consumer apps with premium unlocks or one-time purchases
- Memberships and communities with recurring access fees
- Digital downloads such as e-books, templates, courses, or music
- Developer tools with API access or usage-based plans
Before you start
Requirements
- Pro plan or higher: built-in payments require a paid Lovable plan. On the Free plan, you can connect your own Stripe account instead.
- Backend: newer apps on TanStack Start (created from May 13, 2026, or June 22, 2026 on Enterprise plans) can take payments without extra setup. They need a database, either the built-in backend or your own Supabase project, only when the app stores payment data such as subscriptions or orders. Older React + Vite apps always require the built-in backend and aren’t compatible with your own Supabase project. If a backend is needed and not enabled yet, Lovable will ask you to activate it during setup.
- Authentication recommended: your app should have authentication so purchases can be linked to individual users.
- Permission to manage payments: setting up payments, going live, disconnecting, and switching providers require payments management access on the project. Project admins and owners, workspace admins and owners, and the person who set payments up have this access.
How setup works
The setup flow has two parts:- Set up and test: enable a payment provider, create products and prices, and test everything in the preview using test cards. No real money is charged.
- Go live: follow the go-live checklist in the Payments tab, which includes a readiness check of your site and your provider’s verification. After going live, your test environment stays available for safe testing alongside the live environment.
Test and live environments
Lovable manages two separate payment environments that map to how you already use your project: Test mode applies when you use your project in the preview. Checkout only accepts test card numbers. Real cards will not work and no money is charged. Use this to build your payment flow and verify that everything works before going live. Live mode applies to your published app after you go live. Checkout processes real cards and customers are charged real money. Each environment has its own products, prices, and transaction history. When you publish your project, products and prices sync from test to live automatically (see Publishing and product sync). With Stripe, the test account Lovable creates is temporary. Stripe deletes it, with its products and prices, unless you take ownership of it before the deletion date the Payments tab shows. See Going live with Stripe. Payments in the preview work immediately after setup. Checkout on your published app will not process real payments until you complete the go-live steps. The Payments tab has a toggle to switch between Test and Live. In your app, Lovable adds a test mode banner that shows while the app uses test mode. The banner always shows in the preview. With Stripe, it also shows on your published site until you go live. After going live, both environments stay active. You can continue testing new products and changes in the preview before syncing them to live.Set up payments
Choose your provider
Lovable checks what you are selling and recommends one provider. To use a specific provider, ask for it by name. If your product is restricted under one provider’s policies, Lovable guides you to the other. Here is how they compare:Enable payments
Ask Lovable to add payments
Review the feature overview
Fill in the account setup form
- First name and Last name: your legal name (pre-filled from your Lovable account).
- Email address: must not already be registered with Paddle. If it is, use a plus alias such as
yourname+lovable@gmail.com. Emails sent to a plus alias automatically arrive in your main inbox (yourname@gmail.com), so you don’t need a separate account. - Business name: your registered business name, which Paddle uses for verification. If you have no registered company, enter your full legal name.
- Project name: shown on customer receipts and bank statements.
- Acceptable use policy: you must agree to Paddle’s acceptable use policy, terms of use, and privacy policy.
- Email address: used to register your Stripe account (cannot be changed after setup).
- Business or personal name: the name on your Stripe account.
- Country: where your business is registered.
Create products and prices
The payments tab
The Payments section is always visible under the More menu in the project toolbar for anyone with edit access to the project, whether or not payments are set up.
- Environment toggle: switch between test and live data. Before you go live, selecting Live opens the go-live checklist
- Revenue analytics: net revenue, active subscriptions, and charts over 7/30/90-day ranges
- Transactions: product, customer, amount, status, and date for each transaction
- Adjustments: refunds, credits, and chargebacks. Each entry shows action type, amount, reason, status, and date
- Products: name, price, status, and tax code for each product
- Go-live checklist: tracks your progress toward accepting real payments
Before payments are set up
Opening the Payments tab on a project without payments shows one of three screens, depending on your project role and workspace configuration:- Accept payments: the starting point for setting up payments. It lists your payment options (built-in payments, or the Shopify connector for physical goods), and the Explore payments button asks Lovable to help you set up the best option in the project chat.
- Payments are disabled for this workspace: built-in payments run through the workspace’s Stripe and Paddle connectors, and neither is enabled. A workspace admin or owner can enable one of them in Connectors → Admin settings → App + chat connectors. Some Enterprise workspaces start with these connectors disabled. The Stripe connector setting also controls connecting your own Stripe account.
- You don’t have access to payments: setting up payments requires payments management access on the project. Ask a project admin or owner to set payments up or to give you access.
Customer portal
Both Paddle and Stripe provide a hosted customer portal where end users can cancel subscriptions, update payment methods, and view invoices. To add it:Checkout display modes
Paddle supports two checkout modes:- Overlay (default): a modal appears on top of the current page.
- Inline: checkout is embedded inside the page layout.
Webhook endpoints
Lovable registers two webhook endpoints on your provider account for each environment (test and live). They can look like duplicates in your provider’s dashboard, but they serve different purposes:- Your app’s endpoint delivers payment events to your app’s webhook handler. It keeps subscription data current and unlocks features after purchases. Its URL points at your app’s backend and ends in
?env=sandboxor?env=live, for examplehttps://<ref>.supabase.co/functions/v1/payments-webhook?env=sandboxorhttps://project--<id>-dev.lovable.app/api/public/payments/webhook?env=sandboxin the test environment. The live endpoint uses?env=live, and onlovable.appURLs it drops the-devsuffix from the host. - Lovable’s monitoring endpoint (
https://api.lovable.dev/projects/<project-id>/payments-webhook/<environment>) sends a copy of payment events to Lovable so it can monitor that payment events are being delivered correctly. It never forwards events to your app, and the analytics in the Payments tab do not depend on it.
sandbox, so expect sandbox rather than test in the URLs registered for your test environment. With Paddle, Lovable creates the live endpoints during setup. With Stripe, Lovable creates them when you go live, so before then you only see the test endpoints.
An endpoint that matches neither URL shape above was not created by Lovable. You can remove endpoints you created yourself. A duplicate that points at the same URL as your app’s endpoint delivers events your app cannot verify, so removing it can fix webhook delivery issues.
Testing
Your test environment is active immediately after setup. Use the preview to test the full payment flow before going live.Test cards
What to test
Verify that your business logic works end-to-end:- Complete a test purchase and confirm the correct features unlock.
- Check that entitlements, modals, notifications, and redirects all behave as expected.
- Review transactions in the Payments tab.
Scenarios to consider
- Upgrades and downgrades: does switching tiers grant the correct features?
- Cancellations: does the user retain access until the end of their billing period?
- Renewals: does the subscription renew and continue granting access?
- Failed payments: does the app handle
past_duestatus gracefully? - Trials: does a trialing user get access, and does billing start correctly after the trial ends?
- Discount codes: does the discounted price apply correctly at checkout?
Go-live
When your app is ready to accept real payments, open the Payments tab and follow the go-live checklist.Going live with Paddle
Readiness check
- A privacy policy
- Terms of service
- A refund policy that gives customers between 14 and 90 days to request a refund
- Pricing that visitors can see without signing in
- Genuine content that describes your product
- A product that Paddle’s acceptable use policy allows
Publish project
Verification (KYC/KYB)
- Ask Lovable to hide the checkout button in production until verification completes
- Wait to publish your project
- Publish anyway (checkout will not function until approved)
Domain review
Going live with Stripe
Claim your Stripe account
Complete the go-live form on Stripe
- Verify your email address.
- Verify your business.
- Confirm that Stripe copies your test products, prices, and the Lovable app to the live account.
Install the Lovable app on your live account
Live API keys
Readiness check
Publishing and product sync
When you publish your project, products and prices created through Lovable sync automatically from your test environment to your live environment. The sync runs after each publish, so you do not need to copy anything yourself. Subsequent publishes re-sync any catalog changes you have made in test, so test stays the source of truth. With Stripe, syncing starts after you go live. Your live environment does not exist before then.Disconnect payments
You can remove payments from a project at any time. Open the Payments tab, click the three-dots menu in the top-right, and select Disconnect payments. In the confirmation dialog, typeDISCONNECT (all caps) to confirm.
Only the user who set payments up, workspace owners and admins, or project owners and admins can disconnect. If the option is grayed out and you have that access, wait for Lovable to finish working on the project. Otherwise, ask someone with the right access to do it.
What disconnecting does
- Removes the API keys, webhook secrets, and payment-related environment variables Lovable provisioned for the project.
- Deletes the webhooks Lovable registered on your Paddle or Stripe account. This is best effort: if the call to the provider fails, the webhook stays on the provider side and Paddle or Stripe auto-disables it after repeated failed deliveries.
- Stops checkout, subscription syncing, and provider webhooks from reaching your app immediately. Live checkout on your published site will not work until you set payments up again.
What disconnecting does not do
- Does not close or modify your Paddle or Stripe account. Your provider dashboard at vendors.paddle.com or dashboard.stripe.com stays fully accessible.
- Does not cancel active subscriptions or issue refunds. Customers continue to be billed by the provider until you cancel their subscriptions in the provider dashboard.
- Does not notify your customers. Plan that communication yourself if checkout is going away.
- Does not affect other Lovable projects connected to the same provider account.
Switch payment providers
Only one built-in payment provider can be active per project at a time. If you start with one provider and decide a different one fits better, you can switch.Disconnect the current provider
Ask Lovable to enable the new provider
Limitations
- Digital products by default: for physical products, use the Shopify integration or built-in payments powered by Stripe.
- One payment provider per project: you cannot run Paddle and Stripe in the same project. You can switch between providers, but products, prices, and subscriptions do not migrate.
- Projects with payments cannot be remixed: once payments are enabled, the project cannot be forked. See Remix a project.
- Checkout styling and payment methods: these must be configured in your provider’s dashboard, not through Lovable.
- Do not create or delete webhooks yourself: Lovable registers its webhook endpoints automatically, and they must stay in place (see Webhook endpoints). Duplicates you add yourself can also cause issues.
Best practices
- Use a custom domain before going live: providers review your live domain. A custom domain looks more legitimate than
.lovable.app. - Test the full subscription lifecycle in the preview: purchase, cancellation, renewal, failed payments, and trials.
- Choose a clear statement descriptor: customers should recognize the charge on their bank statement.
- Do not revoke access immediately when a subscription is canceled: the user has already paid through the end of their current billing period and should retain access until then.
- Handle failed renewals gracefully: prompt the user to update their payment method rather than immediately revoking access.
- Manage products through Lovable: manual changes in the provider dashboard can create mismatches between environments.
FAQ
Do I need to sign up for Paddle or Stripe?
Do I need to sign up for Paddle or Stripe?
I already have a Stripe account. Can I link it?
I already have a Stripe account. Can I link it?
What is the difference between Paddle and Stripe?
What is the difference between Paddle and Stripe?
My email is already registered with Paddle. What should I do?
My email is already registered with Paddle. What should I do?
yourname+lovable@gmail.com is an easy option. Any email sent to a plus alias automatically arrives in your main inbox (yourname@gmail.com), so you don’t need to create a separate account. It’s just a way to use a variant of your existing address.My country is not in the dropdown. Why?
My country is not in the dropdown. Why?
The readiness check failed. What should I do?
The readiness check failed. What should I do?
- A missing privacy policy, terms of service, or refund policy
- Legal pages that are not linked from the site’s navigation or footer
- Pricing that visitors can only see after signing in
The Payments tab says my API key is invalid. What should I do?
The Payments tab says my API key is invalid. What should I do?
Can I offer both monthly and yearly billing?
Can I offer both monthly and yearly billing?
Can I offer a free trial?
Can I offer a free trial?
trialing status and should grant access like active subscriptions.Can I offer discount codes?
Can I offer discount codes?
Can I customize checkout appearance or payment methods?
Can I customize checkout appearance or payment methods?
I see two webhook endpoints in my provider dashboard. Are they duplicates?
I see two webhook endpoints in my provider dashboard. Are they duplicates?
Why does my app reject webhooks with 'Invalid webhook signature'?
Why does my app reject webhooks with 'Invalid webhook signature'?
The checkout is not working on my published site. Why?
The checkout is not working on my published site. Why?
How long does account verification take?
How long does account verification take?
What are adjustments?
What are adjustments?
The customer portal is not working. What is wrong?
The customer portal is not working. What is wrong?
My project uses an external Supabase connection. Can I use built-in payments?
My project uses an external Supabase connection. Can I use built-in payments?
My project uses Stripe via a Connector. Can I switch to built-in payments?
My project uses Stripe via a Connector. Can I switch to built-in payments?
STRIPE_SECRET_KEY) is a separate integration and is different from the built-in Stripe payments described on this page.Can I switch from one built-in provider to another?
Can I switch from one built-in provider to another?
What happens to my customers when I disconnect payments?
What happens to my customers when I disconnect payments?
Can I reconnect the same Paddle or Stripe account after disconnecting?
Can I reconnect the same Paddle or Stripe account after disconnecting?
I disconnected by accident. Can I undo it?
I disconnected by accident. Can I undo it?
The Disconnect option is grayed out. Why?
The Disconnect option is grayed out. Why?
I see a 'Failed to disconnect' error. What should I do?
I see a 'Failed to disconnect' error. What should I do?
Can I move a project with payments to another workspace?
Can I move a project with payments to another workspace?
Can I use PayPal, Razorpay, or another payment provider?
Can I use PayPal, Razorpay, or another payment provider?
Does Lovable charge extra fees on top of Stripe or Paddle?
Does Lovable charge extra fees on top of Stripe or Paddle?