TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Stripe blog: New webhooks

91 pointsby collisionover 13 years ago

7 comments

PStamatiouover 13 years ago
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 未加载
alexchamberlainover 13 years ago
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!
6renover 13 years ago
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 未加载
seldoover 13 years ago
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!
bengoover 13 years ago
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.
benatkinover 13 years ago
The webhook retry feature sounds fantastic!
james33over 13 years ago
Even Stripe's blog is beautiful.