The Prompt BakeryTemplates and prompts

Fix · Payments

Test keys versus live keys (nothing works after going live)

Blocks your workNot checked against the vendor's current screens

What you may see

  • Real cards fail on the live site, or test cards work where they should not
  • The gateway says merchant not found or invalid credentials

Most likely cause

The test (sandbox) and live systems have separate keys and separate web addresses; one of them is still set to the wrong one.

Check first (about two minutes)

  1. Check which environment variables hold the keys and the gateway address in the live site (names only).
  2. Check the gateway account: is it activated for live payments?

The fix prompt

What you type here never leaves your browser. The search runs on this page, and nothing is sent to a server or to an AI.

Kept only in this browser, on this device. Keys and passwords are removed before anything is saved.

Prompt language

Paste it into Claude, ChatGPT, Gemini or Cursor, then follow what it says.

After you tried it, did it work?

Steps

  1. List the settings that differ between test and live (keys, gateway address, callback addresses) by name.
  2. Make the code read ONE mode switch and choose all matching settings, and show the active mode in the admin area (not in public pages).
  3. Give me a go-live checklist: live keys in the host settings, live callback addresses, one tiny real payment by me and a refund.

Do not do this

  • Do not test live with other people's cards.
  • Do not put live keys in the code or in Git.

Related

Try another entry

How can we help?

What do you need?
Your email, so we can reply (optional)Only enter your own email. We reply there.