News for hackers. Stuff that matters.
Re:Stripe Elements: Pre-built UI components to help you crea... by huangc10 on Tuesday October 03, 2017 @06:02PM (#15396604)
Can this be used for just frontend and not integrate with Stripe's backend? ie. use the "elements" form and not create the token to transmit card information. Sort of like a beefier Card library by jessepollak (https://github.com/jessepollak/card)
Re:Stripe Elements: Pre-built UI components to help you crea... by rwieruch on Tuesday October 03, 2017 @10:15PM (#15397801)
Setting up a little Express server that deals with the backend stuff is not too difficult. [0][1] Looking forward to update the article for using Stripe Elements. Great job Stripe team!

- [0] https://github.com/rwieruch/react-express-stripe

- [1] https://www.robinwieruch.de/react-express-stripe-payment/

Re:Stripe Elements: Pre-built UI components to help you crea... by torgard on Tuesday October 03, 2017 @06:05PM (#15396622)
I don't believe so. You don't get the card info from the form, you only get the generated tokens. I could be wrong, but I believe that's how it works.
Re:Stripe Elements: Pre-built UI components to help you crea... by crooked-v on Tuesday October 03, 2017 @11:39PM (#15398114)
That's fundamentally a big part of the point: you never directly handle any payment info, which frees you from most of the tremendous liability and security concerns that come with directly handling payment info.
Re:Stripe Elements: Pre-built UI components to help you crea... by torgard on Wednesday October 04, 2017 @04:40AM (#15399062)
Indeed. And with the upcoming stricter EU laws on data handling, I think this is a big plus.
Re:Stripe Elements: Pre-built UI components to help you crea... by crooked-v on Tuesday October 03, 2017 @11:40PM (#15398119)
Nope. I'm prety sure that's completely intentional, both for security reasons and for branding reasons (e.g. anybody using a Stripe form knows that the website they're on can't actually see their payment info).
Re:Stripe Elements: Pre-built UI components to help you crea... by Adam89 on Tuesday October 03, 2017 @06:35PM (#15396789)
I think the css for the different forms can be found here: https://github.com/stripe/elements-examples