5 ms·
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. S
by huangc10 9y ago
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 https://github.com/jessepollak/card)
- torgard 9y agoI 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.
- crooked-v 9y agoThat'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.
- torgard 9y agoIndeed. And with the upcoming stricter EU laws on data handling, I think this is a big plus.
- Adam89 9y agoI think the css for the different forms can be found here: https://github.com/stripe/elements-examples https://github.com/stripe/elements-examples
- rwieruch 9y agoSetting 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 https://github.com/rwieruch/react-express-stripe - [1] https://www.robinwieruch.de/react-express-stripe-payment/ https://www.robinwieruch.de/react-express-stripe-payment/
- crooked-v 9y agoNope. 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).