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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Stripe blog: New webhooks

91 点作者 collision超过 13 年前

7 条评论

PStamatiou超过 13 年前
Loving it! I was just going through our webhook-initiated payment resque job last night to rewrite some of the legacy webhook stuff we had in place (and handle failed charges, which we never did until I recently filtered orders by status and saw a handful)<p>One tiny nitpick is that this field is too small IMO: <a href="http://dl.dropbox.com/u/186198/Screenshots/p5uf.png" rel="nofollow">http://dl.dropbox.com/u/186198/Screenshots/p5uf.png</a><p>Also nitpicky, I would like to have the test charge.failed webhook include a fake description param.
评论 #3541227 未加载
alexchamberlain超过 13 年前
This does look awesome. However, the article states that to verify authenticity, you can request the event from the API. This seems awfully inefficient.<p>A better solution would be to supply everyone with a set of keys and you sign each object using the private key which can be verified by the public key. No network ops - whoop!
6ren超过 13 年前
Stripe is intimidatingly good. A test mode that you don't need to sign up to play with. Excellent sinatra sample code for webhooks. Then, I read their background, which is also intimidatingly good: funded by PayPal founders; one co-founder was a YCer with a $5 million exit at 19yo. (<a href="http://news.ycombinator.com/item?id=3539414" rel="nofollow">http://news.ycombinator.com/item?id=3539414</a>)<p>I have one suggestion: for the browser test mode, allow invalid CC numbers (or, provide a test CC number), so one doesn't have to go and find and type in a real-life credit card, to try it out.
评论 #3541500 未加载
seldo超过 13 年前
As a current Stripe customer we built our whole subscription billing system on their clever invoice_ready webhook, but this new way looks a lot more robust. Win!
bengo超过 13 年前
Is this documentation generated from something like docco (<a href="http://jashkenas.github.com/docco/" rel="nofollow">http://jashkenas.github.com/docco/</a>) or pycco (<a href="http://fitzgen.github.com/pycco/" rel="nofollow">http://fitzgen.github.com/pycco/</a>)?<p>Would love to do something similar. Is the project open source? Or could you write a blog post about your documentation setup?<p>Great work! Webhooks are the best.
benatkin超过 13 年前
The webhook retry feature sounds fantastic!
james33超过 13 年前
Even Stripe's blog is beautiful.