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)
- Check which environment variables hold the keys and the gateway address in the live site (names only).
- 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
- List the settings that differ between test and live (keys, gateway address, callback addresses) by name.
- 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).
- 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.