TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: Why is custom stripe integration so hard?

1 点作者 brunosutic超过 3 年前
I&#x27;m working on a custom stripe subscription integration for my SaaS web app for more than a month now. I implemented the same thing 5 years ago, and it somehow feels a lot harder now.<p>The biggest part of added complexity is &quot;SCA&quot; (like 2FA for payments) which was enforced to the whole industry by the EU regulation. Writing custom JavaScript is now required to get custom integration working :&#x2F;<p>But, despite this external complexity, I&#x27;m also constantly struggling with Stripe&#x27;s API and the overall approach. Their docs are terse and concise - written like manpages: you have to have an overall understanding of the system to use them effectively. I turned to their tutorials and videos, but they&#x27;re very simplistic: they explain only the most basic scenarios.<p>I find myself doing a lot of manual testing - using stripe&#x27;s API with a variety of scenarios just to figure out how things work. Then, once I understand a certain feature I have to figure how it works with the rest of the integration.<p>Example feature: &quot;only add product to the subscription once it&#x27;s paid for&quot;. Not even Stripe support developers knew how to handle this correctly - they did point me to the right direction, but I had to do a lot of manual API testing.<p>TL;DR I feel Stripe&#x27;s API became too complex, and too &quot;low-level&quot; to work with directly. I often wish there was a library that would handle all the communication with Stripe. Or at least an extensive video-course that would get you very familiar with all the scenarios.<p>Am I the only one that has this impression?

1 comment

oblib超过 3 年前
I looked at stripe years back when it was first trending and getting a lot of buzz and even then it looked to me like it was way too complex when compared to what I was doing with PayPal, which is simply setting up an account for new users or updating the timestamp for user renewals, and adding a PayPal button for their use on documents they create with the apps.<p>I&#x27;ve heard a lot of complaints about PayPal over the years but I&#x27;ve never had a problem with them. But I have seen a lot of complaints about Stripe the past couple years now, so you&#x27;re certainly not alone trying to figure what they need from you.