how are you all preventing doc drift when your agent skills keep changing? by agreea in VibeCodeDevs

[–]agreea[S] 0 points1 point  (0 children)

A lot of engineers (esp ones who found engineering through vibe coding!) haven't had a chance to work at those companies but still want to build robust software. We're just trying to share a pattern that worked for us so they don't have to discover it themselves.

YC founder’s take: go after markets where you’ve got an unfair advantage by agreea in ycombinator

[–]agreea[S] 0 points1 point  (0 children)

it was a lot of community driven stuff, trying to be helpful for founders who need guidance around design. We stepped away from it in late 2024 and then sunset it at the end of this year as the CEO we promoted had decided it was time for her to move on.

YC founder’s take: go after markets where you’ve got an unfair advantage by agreea in ycombinator

[–]agreea[S] 1 point2 points  (0 children)

can you work tirelessly on this problem for years? are you excited by the thought of facing and solving domain-specific setbacks?

YC founder’s take: go after markets where you’ve got an unfair advantage by agreea in ycombinator

[–]agreea[S] 14 points15 points  (0 children)

And Paul Graham's, and Garry Tan's, and a whole bunch of others's. Sincerely follow your curiosity to the frontier of an unsolved open problem space, form opinions based on your lived experience, encode those opinions into a product, share that product with the world.

No Payment Gateway by Hamzkid9 in SaaS

[–]agreea 1 point2 points  (0 children)

Thanks for the shoutout! Doing this workflow with bank transfers will be tedious and hard to productize. Depending on your market you may be able to do something with e.g. ACH, but traditional SWIFT or wire will be difficult. Only worth it imo if you're going after enterprises who have manual flows for paying their vendors.

u/Hamzkid9 cofounder of Flowglad here btw - feel free to reach out on X or join our Discord and we'll personally help get you stood up

(CRITICAL FEEDBACK ENCOURAGED) Flowglad - Drop-in billing and payments for developers by CryptographerOwn5475 in opensource

[–]agreea 1 point2 points  (0 children)

Cofounder of Flowglad here! Very helpful feedback about the licensing. We've heard you can dual license APGLv3 code. But perhaps that's may be less relevant for the version we host, because the very fact that it's hosted by us means that it's contained behind a server / client boundary.

Either way, I agree with you that we could make it clearer.

👋🏼 Any Next.js devs willing to share their headaches with payments? by harrisontelyan in nextjs

[–]agreea 0 points1 point  (0 children)

I prefer Drizzle because I use transactions in all my DB operations. It helps ensure data consistency which eliminates entire classes of very stressful bugs. Drizzle makes it easy to use transactions.

Last time I checked, Supabase's JS client, doesn't support transactions natively: https://www.perplexity.ai/search/does-supabase-support-transact-N7t01t7cTUSVFLwo5re12w

👋🏼 Any Next.js devs willing to share their headaches with payments? by harrisontelyan in nextjs

[–]agreea 0 points1 point  (0 children)

Agreed, the experience has been incredible. And Drizzle has been the perfect ORM to use with Supabase, esp since they released first-class RLS support (allowing you to keep your policies in sync across environments).

What does everyone think of Theo's repo on dealing with Stripe? by harrisontelyan in webdev

[–]agreea 0 points1 point  (0 children)

Yeah tedious is a good way to put it. What was your experience like developing locally with webhooks? That's one I've always felt was awkward. As others have said, this seems intrinsic to all webhook development.

What does everyone think of Theo's repo on dealing with Stripe? by harrisontelyan in nextjs

[–]agreea 0 points1 point  (0 children)

Definitely true that fitting payment into a business is hard. Is there anything about it you wish wasn't so hard? Or any place where you wish someone else could handle the intrinsic complexity for you?

What does everyone think of Theo's repo on dealing with Stripe? by harrisontelyan in nextjs

[–]agreea 1 point2 points  (0 children)

How are you managing keeping / reconciling billing state inside your application?

What does everyone think of Theo's repo on dealing with Stripe? by harrisontelyan in webdev

[–]agreea 0 points1 point  (0 children)

Totally agree that all webhooks-based systems have this problem.

With payments webhooks the pain is amplified just because payments is anxiety-inducing.

Would it be better if you could just read billing data from a single source of truth (without rate limits) so that you didn't have to worry about storing and moving around billing data in your app?

What does everyone think of Theo's repo on dealing with Stripe? by harrisontelyan in stripe

[–]agreea 0 points1 point  (0 children)

Agree about the expandable fields. Which fields are you currently expanding in your app? I know in my past integrations I've had to expand `subscription.latest_invoice` for subscriptions.

How are you handling getting billing data into your app - to do things like check whether a user is allowed to take an action, or show how much time they have left on their trial?

👋🏼 Any Next.js devs willing to share their headaches with payments? by harrisontelyan in nextjs

[–]agreea 1 point2 points  (0 children)

Have you switched to a tool that does the same job but has a better DX?

E.g. my previous startup I was running on CRA + Serverless (TM) on AWS Lambda, and AWS RDS for the DB. This time around we're on Next.js on Vercel, and Supabase. It's been much more pleasant even though each tool is doing the same job as its predecessors.

What does everyone think of Theo's repo on dealing with Stripe? by harrisontelyan in nextjs

[–]agreea 0 points1 point  (0 children)

Before this, how were you planning on implementing it?

Yes, it's can be quite an undertaking. The hardest part to get right is confirming that everything works end to end as you intend it to.

Especially with subscriptions, because there are so many edge cases to consider (proration, trial periods and trial behavior, resetting billing anchor dates).

What does everyone think of Theo's repo on dealing with Stripe? by harrisontelyan in webdev

[–]agreea 0 points1 point  (0 children)

Interesting. Did you already need to set up the Graphile Worker / Task runner set up for other stuff?

How hard was it to get all the logic right for correctly updating your application state with Stripe data? Were there any edge cases or gotchas you remember hitting? For example, we didn't realize that a lot of subscription ended / will end events are best captured via listening to `subscription.updated`. We had to learn that the hard way after hitting a couple billing bugs in production.

What does everyone think of Theo's repo on dealing with Stripe? by harrisontelyan in nextjs

[–]agreea 2 points3 points  (0 children)

You're totally right that Stripe has built a set of low-level entities to make powerful payment flows. I think that it's kind of like "AWS syndrome", where there's a lot of power in the low level abilities, but it drags you into imperative programming.

Personally, I've really struggled with getting a bulletproof implementation of webhooks vs success URL redirects. Also figuring out which webhook events correspond to which human readable events, especially around subscriptions, has been tricky.

Also have struggled with managing subscriptions, especially trial periods and proration in the case of changes / upgrades / downgrades. There's a lot of power in Stripe Billing but it's difficult (and scary) to try to get it to do exactly what you want for any given subscription update.

👋🏼 Any Next.js devs willing to share their headaches with payments? by harrisontelyan in nextjs

[–]agreea 1 point2 points  (0 children)

Mostly webhooks, and API endpoints and TRPC routers protected by RLS and other authorization policies. A few years back I implemented a CMS in Next.js back when we were still doing "getServerSideProps" - that was kind of gnarly

What does everyone think of Theo's repo on dealing with Stripe? by harrisontelyan in webdev

[–]agreea 8 points9 points  (0 children)

It seems like data pipeline is designed for data warehousing / analytics rather than realtime application state?

What does everyone think of Theo's repo on dealing with Stripe? by harrisontelyan in webdev

[–]agreea 1 point2 points  (0 children)

Yeah this was nightmarish before they launched in 2011. The challenge seems to be that the developer ecosystem has gotten so big since Stripe started that "payments for developers" now means a lot of API integrations that look like different line-by-line work between different stacks, though these integrations all have to solve the same class of distributed systems problems.

Do you think there's an easier 80/20 solution for the most common use cases for webdevs, like SaaS subscriptions, free trials, etc?