TLDR Web Dev · ARTICLES & TUTORIALS

HOW WE MADE BILLING BACKENDLESS

useautumn.com4 min read

Summary from the TLDR Web Dev newsletter

Autumn tried to simplify billing by handling payments directly on the frontend. Its initial approach was to use a "publishable key," but it was limited and confusing. Next, it experimented with Next.js server actions, which were insecure due to the exposure of customer IDs. To address this, it implemented a custom encryption layer for server actions, which finally allowed secure operations from the frontend.