← back to room
Business Logic
Checkout Logic Bugs
Scenario
ShopWave checkout posts item price in a hidden field the browser can edit. The server charges whatever price arrives in the form. Complete a purchase while paying zero.
Your approach
- Add an item to cart and intercept the checkout POST.
- Change the hidden price field to zero before submitting.
- Complete the order and read the confirmation page.
- Copy the price-tamper flag from the success message.
- Submit that flag.
The checkout form posts price, qty, and coupon. Tamper them. Coupon code: SAVE50.
Pro hoodie — $49.99
Hint: edit the hidden price field (DevTools) or set qty negative.