Fix · Payments
After paying, the customer is sent to localhost or a wrong address
What you may see
- The gateway returns to a page that does not exist
Most likely cause
The return address is built from a setting that still has the local address, or is registered in the gateway as the old one.
Check first (about two minutes)
- Look at the address in the browser bar after paying.
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
- Find where return, success and cancel addresses are built.
- Use one site address setting per environment; check the gateway account does not have a fixed old address saved.
- Make a missing or local address an error in production.
Do not do this
- Do not email customers links to localhost.
- Do not hard-code the live address in the test environment.