1. Connect your Stripe account
Open Integrations → API Keys and find the Payments card. Click Go live. Stripe walks you through your business details, a bank account for payouts, and identity verification. It takes about three minutes and Stripe saves your progress if you leave. You own this Stripe account. pre.dev creates it for you and connects it as a platform, but the dashboard, the balance, the payouts, and the customers are yours at dashboard.stripe.com. If you ever leave pre.dev, the account and its history come with you. When Stripe finishes verification the card shows Live. Verification is usually instant; occasionally Stripe asks for one more document, which the card lists.2. Switch a project to live
Open the project, then its Connections tab, and use the Payments card at the top to switch from Test to Live. The preview restarts so the browser-side Stripe key and account match. From then on:- Checkout in that project charges real cards on your Stripe account.
- Test cards are declined, as they are on any live Stripe account.
- Webhooks still arrive at
POST /api/stripe/webhook, signed with the sameSTRIPE_WEBHOOK_SECRET. - The code does not change. The same
STRIPE_SECRET_KEYand host route to your live account.
Products and prices
Test-mode products and prices do not exist in live mode; that is how Stripe works. Apps built on pre.dev create their products and prices in code the first time they are needed, looked up bylookup_key or metadata, so the live account fills itself in on the first live checkout. If your app hardcodes a test price_… id instead, replace it with a lookup or create the price in your Stripe dashboard.
Fees
Live payments carry Stripe’s standard processing fees, paid by your account, plus the pre.dev platform fee shown on the Payments card. Test mode never charges anything.Bring your own Stripe account instead
If you already run a Stripe account and would rather not connect through pre.dev, paste your ownsk_live_… as STRIPE_SECRET_KEY in the project’s environment variables. pre.dev then steps out of the way: your app talks to Stripe directly, and webhooks for that account are yours to register in your Stripe dashboard.
