* Try to apply the same discount code multiple times to assess if it's reusable. * If the discount code is unique, evaluate for race conditions by applying the same code for two accounts simultaneously. * Test for Mass Assignment or HTTP Parameter Pollution to see if you can apply multiple discount codes when the application is designed to accept only one. * Test for vulnerabilities from missing input sanitization such as XSS, SQL Injection on this feature. * Attempt to apply discount codes to non-discounted items by manipulating the server-side request.
Source: Business Logic Errors/README.md in PayloadsAllTheThings. From PayloadsAllTheThings by Swissky and contributors. MIT License, Copyright (c) 2019 Swissky.