The Prompt BakeryTemplates and prompts

Fix · Payments

Customers could change the price in the browser before paying

UrgentSecurityKuwait and Gulf

What you may see

  • The price or total is sent from the page to the payment
  • An order was paid with a very small amount

Most likely cause

If the browser tells the server the amount, anyone can change it with simple tools; the server must work out the amount itself.

Check first (about two minutes)

  1. Check what the checkout sends to the server: ids and quantities, or prices and totals?

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. Review checkout and payment code. List every value taken from the browser that affects money (price, discount, delivery fee, tax, total).
  2. Change it so the browser sends only product ids, quantities, options and a coupon code, and the server looks up prices and computes the total.
  3. Compare the amount the gateway confirms to the server's total before marking paid.
  4. Check recent paid orders for suspicious low totals and list them for me (read only).

Do not do this

  • Do not trust hidden form fields.
  • Do not change real order data.

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.