The Promotions Admin UI just let a promotion be created with a 205% discount. The user was trying to create a $205 discount but there was no validation on the percentage value MAX 100%. This would have stopped this error. 205% should be an invalid value for a promotion code, right?
I looked in the code to try to fix this issue and create a PR but I couldn’t find the validation code.
The promotions add-on doesn’t currently have validation to prevent an admin from inputting more than 100 into the Amount field if “Percent Discount” is the selected Type. I can make a note about this and we can keep this in mind for future features and updates.
Viewing 1 reply thread
The support post ‘Issue report: Promotions Admin UI allows gt 100% percent discount’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.
Support forum for Event Espresso 3 and Event Espresso 4.