Live data from Hacker News

How the Collison brothers turned ‘seven lines of code’ into Stripe

bloomberg.com

171–180 of 195 posts

Re: How the Collison brothers turned ‘seven lines of code’ into Stripe

#171
post #70

Earlier quoted context omitted.

There's a few misconceptions in the article beyond that. and the more modern bits are written by banks, credit card companies, and financial middlemen, none of whom are exactly winning ­hackathons for elegant coding. Hackathon code is never elegant... it's always piecemeal at the end in order to get it "done."

I suspect whoever wrote that sentence has an extremely vague idea of what a hackathon is ("some coding contest??").

[deleted]

Re: How the Collison brothers turned ‘seven lines of code’ into Stripe

#173
How well does Stripe handle expired cards? The payment gateway we use now allows sending an expiration date of 0000 on submissions that are marked as being a recurring or installment payment. This attempts the transaction without doing an expiration date check [1].

Stripe's documentation says that they automatically use the credit card update services of Visa, MC, and Discover to update expiration dates of cards they are storing, so that you don't have to worry about keeping the expiration date up to date.

However, from what I've seen using the Visa and MC updater services, a significant fraction of issuing banks do not support them and when requesting updated information on those cards nothing comes back, and these cards often still actually work fine.

Does Stripe having something equivalent to 0000, so that one can say "try to charge this recurring payment on this card, even if we do not have the current expiration date and the updater service did not give a response"?

[1] The expiration date on a credit card is the date that the card itself expires, not the date that the account expires. For new orders, online or in-person, an expired card should be a red flag because a person actually placing a live order should have their latest card. Seeing an expired card live could mean it is a stolen card.

Re: How the Collison brothers turned ‘seven lines of code’ into Stripe

#174

Earlier quoted context omitted.

As someone that selected stripe to process orders for a product were were launching somewhere around 2012, it was because of the APIs and developer sandbox. Paypal was ugly to work with, felt crufty, etc. Stripe had pip installable modules, awesome documentation (live code samples in docs and sandbox), and was easy to integrate into our tests.

And most importantly: Stripe does not randomly decide your funds are suddenly theirs for the next 6 months to a year.

They'll do that sooner or later. Everyone in the money-handling industry has to randomly lock-up funds and not tell you why, because that's what anti-money-laundering laws require.

Re: How the Collison brothers turned ‘seven lines of code’ into Stripe

#175
post #174

Earlier quoted context omitted.

And most importantly: Stripe does not randomly decide your funds are suddenly theirs for the next 6 months to a year.

They'll do that sooner or later. Everyone in the money-handling industry has to randomly lock-up funds and not tell you why, because that's what anti-money-laundering laws require.

Ok, but there's a difference between doing that because you are required to by law, and doing it because you've chosen to adopt appalling business practices.

Re: How the Collison brothers turned ‘seven lines of code’ into Stripe

#176

Earlier quoted context omitted.

Re: migrating customers: I just grandfathered all paying customers to a perpetual free plan. Weren't that many of them. Sadly that app never gained traction. You'd think reliable up/down monitoring of unlimited servers at $4/month would be a good deal.

Maybe you weren't charging enough?

I mean it was that and also that my free plan was too generous. And I am no marketing genius so the customers I got were organic and came in slowly.

Re: How the Collison brothers turned ‘seven lines of code’ into Stripe

#177
post #4

~12 years ago, it was Patrick Collison that was named young scientist of the year for developing a dialect of Lisp called Croma: http://lemonodor.com/archives/001038.html I'm glad to see he has continued to do well.

Thanks for that. I'd like to know why he decided first class macros were a bad idea.

I obviously can't speak for him, but macros do complicate things, particularly when ahead-of-time compilation gets involved. There's also the issue that macros have some of the same sorts of issues as inline functions - because they're expanded in place, they can introduce hidden forms of coupling.

Re: How the Collison brothers turned ‘seven lines of code’ into Stripe

#178
post #56
post #11

Earlier quoted context omitted.

To expand, it's these 7 lines. (Actually 12) - more or less. Maybe not precisely that, but it's the bit where you add a payment form to your website. It's a nice headline, but it really leaves out the tremendous amount of back-end work that went into making that front end easy to use.

Wait, the /your-server-side-code bit seems like the most difficult. Did Stripe not implement this aspect as well? I would have no idea how to securely process credit card transactions server-side.

I think they did eventually. I remember trying to use Stripe for a project during college (2012ish) that involved building a website with a REST integration in C#. My rtfm'ing skills were much worse back then so I could be wrong, but yeah, you had to do a bunch of server-side implementation and make calls to their API. It seemed quite challenging to me at the time, but looking back, it really wasn't. They've gotten rid of that extra step now though. You can just drop in the javascript and their html form with api keys and you're ready to go.

Re: How the Collison brothers turned ‘seven lines of code’ into Stripe

#179

Earlier quoted context omitted.

Correct, and the big reason for that is it means you don't have to be PCI compliant since the card never touches your server, only stripes. That's why Stripe blew up, Paypal had no such offering for allowing you to use your own checkout form but not have to pass the card through your server.

Not true, PayPal Payments Pro offered that.

That product seems to have a marketing problem. I've heard plenty of PayPal horror stories over the years, but this thread is the first time I've ever heard of Payments Pro.

Re: How the Collison brothers turned ‘seven lines of code’ into Stripe

#180

Earlier quoted context omitted.

As someone that selected stripe to process orders for a product were were launching somewhere around 2012, it was because of the APIs and developer sandbox. Paypal was ugly to work with, felt crufty, etc. Stripe had pip installable modules, awesome documentation (live code samples in docs and sandbox), and was easy to integrate into our tests.

And most importantly: Stripe does not randomly decide your funds are suddenly theirs for the next 6 months to a year.

Fraud and charge backs are worse [with Stripe] than with PayPal.

https://news.ycombinator.com/item?id=14463971 (2 months ago)

Stripe launched a fraud detection tool in October 2016; not sure if this comment took that into account.

https://stripe.com/blog/radar (2016)

https://stripe.com/blog/better-dispute-management (2012)

Post reply on HN