Knowledge Base · Infrastructure & deployment
A form that only reloaded the page
The symptom
Clicking the button produced a flash and an empty form. Nothing was recorded server-side, and there was no message of any kind.
What was actually wrong
The form element had no submission behaviour and no API contract behind it — the markup had been written before the endpoint existed, so the default browser action took over. There was also no result surface, which meant that even a successful call would have been invisible.
The fix
The form now posts to the documented endpoint with the exact field names the backend expects, and the page grew a result panel that shows the created order's identifier, the amount, the recipient address and the payment reference, plus a payment button when the endpoint returns one.
What we took away
A form is not done when it looks right; it is done when a submission produces an observable result. Always render the outcome — without a result panel, a working endpoint and a broken one look identical.