Before the customer pays, he can enter the code for the discount. The discount is automatically 5% hardcoded. But now I need to set the discount from 0-100% this value is stored