Carlos as soon as COD (or any payment gateway that is inbuilt on Foodomaa) is clicked, the button automatically becomes disabled to prevent the customer to click the COD or any buttons again.
If you have made modifications, then there could be something wrong with that.