One trial per inbox in Supabase, enforced by Postgres
A 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.
Search for a command to run...
Articles tagged with #saas
A 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.
A small email normaliser, a trial_claims table with a unique key, and one transaction around the grant, in Django, SQLAlchemy and plain sqlite3
Rate limits, reserved ranges, country allowlists and spend caps for Node and PHP, with tested snippets
A unique key column, a small normaliser, an E.164 phone key and one transaction, so a second signup still gets an account but not a second batch of credits
Normalise the email and the phone into matching keys, claim both in one Postgres insert, and still create the account when only the credits should be refused.