Stripe connector
Agent creates a Stripe sandbox with no keys to copy; you connect your live account from the Publish pane.
Replit can set up Stripe for you, or you can bring your own keys. Mixing the two in one environment is the classic mistake.
Sound familiar?
Use either the Replit Stripe connector or your own Stripe keys in each environment, never both. Test with Stripe’s test cards, connect live payments for the published app, and mark orders as paid from Stripe’s confirmation, not from the browser reaching a success page.
Why it happens
Replit supports two methods. With the Replit Stripe connector (paid plans), Agent sets up a Stripe sandbox and you connect your live account later. With your own keys, stored in Secrets, you manage the Stripe SDK and webhook endpoints yourself. Replit’s docs say to use one method per environment: combining them causes connection conflicts.
You can use different methods in different environments, such as the connector’s sandbox in development and your own live keys in production. Live payments then depend on the production setup being complete.
Already done for you
Agent creates a Stripe sandbox with no keys to copy; you connect your live account from the Publish pane.
Keys in Secrets, with full control over the SDK and webhooks.
Checkout, deposits, balances and refund rules built from a prompt, with a test checklist.
Fix it yourself
In this order. Most apps get most of the way with these alone.
Connector or your own keys, never both in the same environment.
Every order or booking should store its payment status against a user.
4242 4242 4242 4242 for success and 4000 0000 0000 0002 for a decline. Test cancellations and refunds too.
Connect your live Stripe account from the Publish pane (connector), or add live keys to the published app’s secrets (your own keys).
A low-cost real payment with your own card before you share the app.
If the steps above turn up more than you have time for, or the app already has paying users, I take Replit 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 Replit developer.
Questions
The Replit Stripe connector is on paid plans. Your own Stripe keys in Secrets are the alternative.
Usually production configuration: live keys or the connector aren’t set up for production, or the published app is missing a secret.
4242 4242 4242 4242 with any future expiry and any 3-digit CVC for success, and 4000 0000 0000 0002 to test a decline.
Send me the app and what’s worrying you. You get a written scope with a fixed price before any work starts.