One free trial per person in Laravel: normalise Gmail dots and plus tags, then enforce it in the databaseA free trial that hands out credits on signup has a simple loophole. Gmail ignores dots in the local part and drops anything after a plus sign, and it treats googlemail.com as the same mailbox as gmai8 min read·elijahbrown.hashnode.dev1KOct 15
One trial per inbox in Supabase, enforced by PostgresA claim key built from the email, a unique index on trial_claims, and a trigger that grants credits only the first time. Plus a small hook that turns away throwaway domains.9 min read·elijahbrown.hashnode.dev11KOct 14
Stop one person claiming your Node.js free tier twice: Gmail dots, plus tags and googlemail.comA small TypeScript email normaliser, a trial_claims table with a unique key, and one transaction around the credit grant, with Prisma, Drizzle, node-postgres, better-sqlite3 and a Next.js route handler12 min read·elijahbrown.hashnode.devOct 13
Stop one person claiming your Python free tier twice: Gmail dots, plus tags and googlemail.comA small email normaliser, a trial_claims table with a unique key, and one transaction around the grant, in Django, SQLAlchemy and plain sqlite39 min read·elijahbrown.hashnode.dev21POct 13
The SMS bill nobody planned for: when a signup form sends a code to any number typed inRate limits, reserved ranges, country allowlists and spend caps for Node and PHP, with tested snippets10 min read·elijahbrown.hashnode.devOct 12