News for hackers. Stuff that matters.
Re:The Story of Stripe (2018) by fragmede on Monday June 22, 2020 @03:41PM (#23605276)
The modern-day equivalent of the "7-lines of code" is the stripped down, client-side only integration at:

https://stripe.com/docs/payments/checkout/client

tl;dr, click on the stripe website a bunch, then copy and paste the generated html+js (which includes your api key, so you, the user don't have to mess with that) into your own website.

The demo UX is here:

https://70p1h.sse.codesandbox.io/

Re:The Story of Stripe (2018) by voidray on Monday June 22, 2020 @04:36PM (#23606239)
Good find, and IMHO this should probably be the default integration in their docs; the first tutorial listed here is for the Payment Intents API, which is a more complicated version of the Charges API: https://stripe.com/docs/payments
Re:The Story of Stripe (2018) by julianeon on Monday June 22, 2020 @04:13PM (#23605843)
Thank you; that's good to know.