Deep dives on software engineering, architecture, and the real-world decisions

This blog runs on software I wrote. Here's everything I learned doing it.

Find a time to chat with me

Latest posts

How I Integrated Polar.sh Payments Into My SaaS With Better Auth

May 8, 2026

Wiring Polar.sh Payments to an Organization, Not a User - What the Docs Don't Tell You

When I added subscription billing to timeli.sh, I chose Polar.sh as the payment layer and better-auth as the auth framework. On paper, both are excellent. In practice, there was one fundamental mismatch between how Polar + better-auth expect things to work and how timeli.sh is actually structured - and I spent more time fighting it than building the feature.
This post is the write-up I wish had existed before I started.



The problem: every guide assumes subscriptions belong to a user

Read more
blogposttimeli.shpolar.shsubscription

Contact me

Email

dmytro@bondarchuk.me
© 2026 Dmytro BondarchukCreated usingTimeli.sh