HackerTrans
TopNewTrendsCommentsPastAskShowJobs

netswift

no profile record

Submissions

Show HN: I built an OSS abstraction over Stripe to embed any pricing model

github.com
3 points·by netswift·ปีที่แล้ว·0 comments

Easiest way I've seen to integrate Stripe

useautumn.com
3 points·by netswift·ปีที่แล้ว·2 comments

Show HN: One line solution to Stripe's painful DX

useautumn.com
3 points·by netswift·ปีที่แล้ว·6 comments

comments

netswift
·เดือนที่แล้ว·discuss
We've run into so many issues with PgBouncer and Postgres that I wish we didn't have to deal with as a new growing company. Nice to see more options out there!
netswift
·ปีที่แล้ว·discuss
Most founders I know had to scramble to release DeepSeek into their coding platforms. Was a lot of demand for using it and the expectation is that it'd be much cheaper.
netswift
·ปีที่แล้ว·discuss
I really love Render.

AWS is too low level for me. Render helps us spin up new applications in a few clicks. Kind of like Vercel for backend.

Might just be a skill issue but I can definitely see the value from using the product.
netswift
·ปีที่แล้ว·discuss
This might be a controversial take, but integrating Stripe has never made sense to me.

Theo Browne (@theo on X) summarizes it best: having to sync the state of a subscription with your app and Stripe is super annoying.

Here's a write up on how he does it, which is the best way I've seen so far. It relies on using a Stripe syncing function to update subscription status every time a relevant webhook event comes in from Stripe.

1. User clicks "Subscribe" button on frontend, triggering backend endpoint to generate Stripe checkout

2. Backend creates Stripe customer, stores customerId/userId mapping in database

3. Backend creates checkout session, returns it to frontend

4. User completes payment, gets redirected to /success page

5. /success page triggers backend to sync Stripe data for that customer

6. Backend fetches customerId from database (referred to as key-value/KV store), and syncs latest data from Stripe API using syncStripeDataToKV

7. After sync, frontend redirects user to final destination

8. On all relevant Stripe webhook events, sync again via syncStripeDataToKV

Thoughts? Is this just a skill issue or is Stripe's developer experience actually quite bad?
netswift
·ปีที่แล้ว·discuss
Thanks! We've had polarizing feedback to it which we think is a good thing.

Trying to go for a nostalgic 90s anime vibe which we think is cool... and also might be relatable to other devs
netswift
·ปีที่แล้ว·discuss
Ah yes that's my bad. Tried to come up with a snappy title but probably shouldn't have assumed it's a common abbreviation....
netswift
·ปีที่แล้ว·discuss
Absolutely yes! Funnily enough I think Clerk are going to launch a competitive product. We want to focus specifically on billing and keep it OSS for all you guys to go wild with.