If you've tried to integrate Paddle Billing with Next.js

and hit confusing walls, this guide is for you.

I spent an embarrassing amount of time getting this right.

Here's everything I learned, including the two mistakes

that aren't documented anywhere.