WackoPicko/Logic-Flaw
Jump to navigation
Jump to search
You are here: | Logic Flaw
|
Description
The coupon system suffers from a logic flaw, as a coupon can be applied multiple times to the same order reducing the final price of an order to zero. The coupon in the initial data is SUPERYOU21.
Proof of Concept
How to detect?
- Unit tests (automatized?)
How to protect against it?
- Unit tests (automatized?)