Bench 03 · Quote integrity
Idle · price taken from the link
This is the ordinary way to send a customer a pre-filled payment form: put the quote in the link, mark the field hidden and read-only, and trust it back. Hidden and read-only are properties of a browser, not of your money.
The address bar below is editable. Change basePrice to whatever you feel like paying, open the form, and authorize. Then tick the box that builds the charge on the server and try the same thing.
No network calls, no card processor, no signup. Everything is computed in this page.
Last authorization
Edit it. That is the entire attack, and it needs no tools.
Try basePrice=50.00. The office quoted $450.00 for job J-4471.
Nothing authorized yet. Edit the link and press the button.
No record yet.
Server-side pricing is one control, not a payment security review. It fixes the number. It says nothing about who is allowed to open that job, how long the link stays valid, or whether the same authorization can be replayed tomorrow.
A signed token in the link is the other valid fix, and it is not shown here. The price never travels, only a one-time reference the server exchanges for the real quote. It is stronger for high-volume work and more moving parts to own. This bench shows the simpler build because most small offices should take that one.
The mismatch has to reach a human. This page surfaces the tampering attempt because I wrote it to. A real build that silently corrects the number and charges the right amount is safe and still hides the fact that somebody tried.
Nothing here addresses a payment that succeeds while the confirmation fails. That is a separate failure path and it needs its own handling, or the money moves and the record does not.
This is a model, not your form. There is no Jotform, no Square, and no card processor on this page. It reproduces one defect in the pattern that connects them, so you can see the shape of it in thirty seconds.
Printed from the running function itself, so what you read cannot drift from what just ran.