Live data from Hacker News

Show HN: Stripe-no-webhooks – Sync your Stripe data to your Postgres DB

github.com

21–30 of 31 posts

Re: Show HN: Stripe-no-webhooks – Sync your Stripe data to your Postgres DB

#21

Earlier quoted context omitted.

Well it’s a silly name, yes. _You_ don’t have to deal with webhooks - it happens in the background and is taken care of by the library!

That's not the same as no webhooks. It's totally using webhooks.

> It's totally using webhooks.

Nothing gets by you!

Re: Show HN: Stripe-no-webhooks – Sync your Stripe data to your Postgres DB

#22

If used, will you now have to be PCI-compliant?

Hey, no. We are not dealing with raw card numbers. It’s just a layer on top of the existing stripe SDK that makes using stripe easier. PCI compliance does not kick in here.

Re: Show HN: Stripe-no-webhooks – Sync your Stripe data to your Postgres DB

#23
post #19

Thank you for sharing. I've been using the Better-Auth's Stripe integration but it has some quirks. Which Stripe version does your lib support? Clover?

Hey, I’m on mobile right now and can’t remember this off the top of my head. Will check and update in a few hours.

Re: Show HN: Stripe-no-webhooks – Sync your Stripe data to your Postgres DB

#25
post #19

Thank you for sharing. I've been using the Better-Auth's Stripe integration but it has some quirks. Which Stripe version does your lib support? Clover?

other contributor of stripe-no-webhooks here. Yes we support Clover but should be compatible with most versions, if you have any problem open a github issue and we'll fix it ASAP

Re: Show HN: Stripe-no-webhooks – Sync your Stripe data to your Postgres DB

#26

> You don't have to figure out which webhooks you need or write listeners for each one. The library handles all of that. This follows the approach of libraries like dj-stripe in the Django world ( https://dj-stripe.dev/ ). I don’t figure out these types of things anymore. I just make sure they work in dev, staging and production.

this doesn't work. Most of people follow the workflow you described and call it a day. The problem comes later when, for example, you realise stripe gives a grace period when payment for a subscription fails but the subscription still shows as active in your backend (by this time bad actors have been abusing your software for months).

With stripe-no-webhooks the default behaviour is that subscriptions get cancelled when payment fails and you can deal with your internal logic by putting it inside onSubscriptionCancelled hook.

There are many of small quirks that can be extremely costly (for example if you offer an AI product) and we take care of this for you

Re: Show HN: Stripe-no-webhooks – Sync your Stripe data to your Postgres DB

#27
post #25
post #19

Thank you for sharing. I've been using the Better-Auth's Stripe integration but it has some quirks. Which Stripe version does your lib support? Clover?

other contributor of stripe-no-webhooks here. Yes we support Clover but should be compatible with most versions, if you have any problem open a github issue and we'll fix it ASAP

Thank you!

Re: Show HN: Stripe-no-webhooks – Sync your Stripe data to your Postgres DB

#30
post #20

Haha "Stripe-no-webhooks library" Library based on processing ... wait for it ... webhooks".

From a marketing perspective I'd argue it's good naming, since it sells the value of the library, rather than simply its feature/s. (i.e. its feature is 'handling webhooks' but its value is in allowing (the dev) to not have to deal with webhooks. Steve Jobs once quipped about a similar thing he observed in the dairy industry's 'Got Milk?' marketing campaign, which focused on the absence of the product https://www.you…

Here a slightly longer version of that talk, that adds a lot more context. https://www.youtube.com/watch?v=doehWhv9SHU

It took a bit of hunting the internet, so I felt like sharing it.

Post reply on HN