Get the latest tech news

How we made billing backendless


Autumn is an abstraction layer between your database and Stripe that lets you build any pricing plan and control feature entitlement.

Our first solution was to create a "publishable key" which would let developers get payment links and check feature access (eg, does my user have any remaining credits) directly from the frontend, in an unprotected way. A few options came to mind, like using a middleware, or registering an authentication function, but the cleanest and simplest method we thought of was simply encrypting the customer ID: We’re still not fully satisfied since this only works with frameworks that support server actions and SPA / vite is kinda making a comeback.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of billing backendless

billing backendless