Gentle handling of invalid discount codes

Failing code validation shouldn't result in a 404, but a regular message
informing the user, that the code wasn't right.