If you're building this thing yourself, normalize to upper or lower case a. Make sure your ones and the data base are the same. What i found helpful there is good error messages if something is expired. If it's syntax 30, do just syntax 30. Don't do syntax hypen 30. That ain't going to work out either. Just make it as nice and clean as possible for the user.
In this Hasty Treat, Scott and Wes talk about the coupon engines they’ve built and use on their courses.
Prismic - Sponsor
Prismic is a Headless CMS that makes it easy to build website pages as a set of components. Break pages into sections of components using React, Vue, or whatever you like. Make corresponding Slices in Prismic. Start building pages dynamically in minutes. Get started at prismic.io/syntax.
LogRocket - Sponsor
LogRocket lets you replay what users do on your site, helping you reproduce bugs and fix issues faster. It’s an exception tracker, a session re-player and a performance monitor. Get 14 days free at logrocket.com/syntax.
Show Notes
Tweet us your tasty treats