I'm working on a paid Ruby gem for bespoke Stripe subscription integrations. It cuts down integration time from +6 months to less than a day, and handles many Stripe API pitfalls.
Stripe has a "developer friendly" and "easy to use" reputation. But, since 2019 the EU regulation has stepped in and made things more complex with 2nd factor authentication for payments (3DS/SCA). This made payment integrations way more complex. Integrating Stripe subscriptions now easily takes 6 man-months (I'm being very optimistic here). Also, there are some basic scenarios that are hard to get right: - Creating a paid subscription and ensure a customer always has a card on file (this one is almost impossible).
- Upgrading a free ($0) plan to a paid one.
- Upgrading paid plans, eg $10 to $100/month and ensuring immediate payment.
- Guarantee customer Tax location, keep the flow simple. I made a video analyzing Stripe integration of a successful SaaS company (+$100M valuation). I first paid $30, then upgraded to their highest $2000/month plan - for free! https://www.youtube.com/watch?v=YuXp7V4nanU The gem I'm working on is intended to be used with Ruby on Rails apps. It covers all the above mentioned hard cases, and irons out many more Stripe API kinks. And yes, it handles the basic-but-impossible "ensure customer always has card on file if they start paid subscription". After buying the gem you can hand-off the task to the junior developer (it's that simple). They follow the integration tutorial: follow the steps for Stripe dashboard config, do the local env config, done. The product (Ruby gem itself) is ready. I'm now working on the web app, tutorials etc. If anyone wants an early, guided access, please email me - contact is in the profile.
Interesting idea, getting Stripe to work perfectly in production for a global product is not as easy as it was, it really takes a while to fix all edge cases.
Sometimes it's not about the "edge cases" and handling Stripe quirks. The main design consideration for global Stripe integrations is SCA/3DS or "payment confirmations".
If you implement something, then add SCA/3DS "payment confirmations" later on, I think it's impossible to fix that.
The main pain point I remember from my biggest integration was getting all the webhook events right. There was also a thing about the order in which the events were received sometimes.
Interesting. I built a recurring billing startup and was always wondering how Stripe dealt with those edge cases...
As a note, I watched the video, the company name does become visible at least twice, once from 6:33 in the header pane and URL and also at the very beginning (Company Insights pane -> below "Powered by AI" the AI repeats the company name)
Desperately applying to product design jobs as unemployment stretches into a fifth month.
Keeping myself marginally sane by building a custom browsing experience for my “graphic design reconstructed from dreams” project: https://dreambrief.presteign.com/
These days, I've been working on a small tool to run GUIX as an unprivileged user, so that you can use GUIX profiles as a dev environment builder. I didn’t do any market research, but AFAIK there are similar tools using Nix. Honestly, this is just a toy project for fun. I had GUIX on one hand and Zig on the other, so I figured, why not try something new using both?
Why not Nix? I just don’t like the Nix language. Plus, it seems like they ended up reinventing part of Lisp with their Flakes, which made me even more convinced in using GUIX. The GUIX folks didn't disappoint me, as they utilized the full power of Scheme to design a (internal) DSL that is clean and almost reads like JSON/YAML. I feel quite confident that it’s a better language for building devenvs for most people. The only downside is that it can get really verbose, but, hey, at least you have full control.
One thing is that I was referencing the old popular quote on Lisp: "Whoever does not understand Lisp is doomed to reinvent it," so there’s a little bit of exaggeration there.
Still, it’s true that Nix Flakes is a kind of dynamically-typed environment that lets you compose various constructs in Nix in a uniform way. But, let's be honset, we have had duck typing forever, and Lisp is a dynamic language from 1960s. Reading through forum posts (as I never went deep with Flakes), Nix really needs a fundamentally better language, or I have a strong feeling that the project will just keep reinventing language features one by one.
Unsurprisingly, I don’t see many hardware projects here.
If anyone’s looking to share their story, I’d recommend IndieHackers, but for hardware-focused startups/projects, check out howtoware.co. (I’m not affiliated with the site’s owner in any way, but I really like the concept and want to help spread the word to my fellow hardwarers).
My hardware project is the 100 year computer. I believe the next phase of computing will be focused on maintainability and longevity. This is different from the development phase of computing that currently surrounds us.
The next wave of interesting hardware development will be focused on form factor. Devices of the future could be any shape or size. The first version of this device I have completed but not fully documented is an 8 unit mixed use apartment building. I converted each of the 7 classrooms into studio apartment the 8th unit is my development studio. How can a building be a computer? My perspective holds that a building is a machine that needs a differential engine to optimize the resource usage of the occupants. This perspective with the idea that some circuits should larger not smaller to aid operational understanding. The building is done enough and I need a break so I think my next form factor will be mobile sensor network and focused on individuals and small groups. I think developing for a sailboat will be a good complement to the building. The both serve the same purpose but one is extremely resource constrained and in a harsh environment. Currently identifying all the current sailboat tech for a refit. The devices I’m looking at range from RADAR to sine wave inverters. A very rich tech environment. Looking forward the fall.
Cool, this look great, thanks for sharing. Scanning the front page, I actually think the maker of this [0] is active here on HN and [1] also made it here before.
Howtoware looks like a rabbit hole for me. Thanks for the tip!
I sell my hardware projects on Etsy, mostly LunaKrons, the GPS-enabled moon phase clocks, and also a few “Game of Life” displays. Https://digitalhorology.Etsy.com
Comments (1,424) 746 threads
Earlier commentsStripe has a "developer friendly" and "easy to use" reputation. But, since 2019 the EU regulation has stepped in and made things more complex with 2nd factor authentication for payments (3DS/SCA). This made payment integrations way more complex. Integrating Stripe subscriptions now easily takes 6 man-months (I'm being very optimistic here).
Also, there are some basic scenarios that are hard to get right:
- Creating a paid subscription and ensure a customer always has a card on file (this one is almost impossible). - Upgrading a free ($0) plan to a paid one. - Upgrading paid plans, eg $10 to $100/month and ensuring immediate payment. - Guarantee customer Tax location, keep the flow simple.
I made a video analyzing Stripe integration of a successful SaaS company (+$100M valuation). I first paid $30, then upgraded to their highest $2000/month plan - for free!
https://www.youtube.com/watch?v=YuXp7V4nanU
The gem I'm working on is intended to be used with Ruby on Rails apps. It covers all the above mentioned hard cases, and irons out many more Stripe API kinks. And yes, it handles the basic-but-impossible "ensure customer always has card on file if they start paid subscription".
After buying the gem you can hand-off the task to the junior developer (it's that simple). They follow the integration tutorial: follow the steps for Stripe dashboard config, do the local env config, done.
The product (Ruby gem itself) is ready. I'm now working on the web app, tutorials etc. If anyone wants an early, guided access, please email me - contact is in the profile.
If you implement something, then add SCA/3DS "payment confirmations" later on, I think it's impossible to fix that.
As a note, I watched the video, the company name does become visible at least twice, once from 6:33 in the header pane and URL and also at the very beginning (Company Insights pane -> below "Powered by AI" the AI repeats the company name)
Keeping myself marginally sane by building a custom browsing experience for my “graphic design reconstructed from dreams” project: https://dreambrief.presteign.com/
Why not Nix? I just don’t like the Nix language. Plus, it seems like they ended up reinventing part of Lisp with their Flakes, which made me even more convinced in using GUIX. The GUIX folks didn't disappoint me, as they utilized the full power of Scheme to design a (internal) DSL that is clean and almost reads like JSON/YAML. I feel quite confident that it’s a better language for building devenvs for most people. The only downside is that it can get really verbose, but, hey, at least you have full control.
Curious what you mean by that, could you elaborate? I thought nix flakes to be just a standardised attrset for inputs/outputs.
Still, it’s true that Nix Flakes is a kind of dynamically-typed environment that lets you compose various constructs in Nix in a uniform way. But, let's be honset, we have had duck typing forever, and Lisp is a dynamic language from 1960s. Reading through forum posts (as I never went deep with Flakes), Nix really needs a fundamentally better language, or I have a strong feeling that the project will just keep reinventing language features one by one.
If anyone’s looking to share their story, I’d recommend IndieHackers, but for hardware-focused startups/projects, check out howtoware.co. (I’m not affiliated with the site’s owner in any way, but I really like the concept and want to help spread the word to my fellow hardwarers).
The next wave of interesting hardware development will be focused on form factor. Devices of the future could be any shape or size.
The first version of this device I have completed but not fully documented is an 8 unit mixed use apartment building. I converted each of the 7 classrooms into studio apartment the 8th unit is my development studio.
How can a building be a computer? My perspective holds that a building is a machine that needs a differential engine to optimize the resource usage of the occupants. This perspective with the idea that some circuits should larger not smaller to aid operational understanding.
The building is done enough and I need a break so I think my next form factor will be mobile sensor network and focused on individuals and small groups.
I think developing for a sailboat will be a good complement to the building. The both serve the same purpose but one is extremely resource constrained and in a harsh environment.
Currently identifying all the current sailboat tech for a refit. The devices I’m looking at range from RADAR to sine wave inverters. A very rich tech environment. Looking forward the fall.
[0] https://howtoware.co/invisible-computers
[1] https://howtoware.co/wyldcard
I sell my hardware projects on Etsy, mostly LunaKrons, the GPS-enabled moon phase clocks, and also a few “Game of Life” displays.
Https://digitalhorology.Etsy.com
All comments shown.
Couldn't load more comments. Check your connection and try again.