Live data from Hacker News

Stripe Elements: Pre-built UI components to help you create checkout flows

stripe.com

11–20 of 124 posts

Re: Stripe Elements: Pre-built UI components to help you create checkout flows

#11
post #9

Stripe Elements is really good. It has been an absolute help. Now if only we could get something similar for the Connect account stuff. So many different edge cases for countries and businesses, that the only reasonable approach is to autogenerate a form, and hope it makes sense. Example: Japanese business need to put in their address in kana and kanji, both personal and business address. They also need to specify th…

Elements works with Connect! Any platform can integrate it.

We're also working to improve the connected account flow. In the US, we recently launched Express Accounts to help with this, and we hope to bring it to Japan soon. https://stripe.com/docs/connect/express-accounts

Re: Stripe Elements: Pre-built UI components to help you create checkout flows

#12

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 )

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 create checkout flows

#13

Stripe front end developers are a true inspiration. I know the linked project isn't anything revolutionary, but as someone with a decade of experience in the field, it's impressive to see such attention to detail. Their work somehow manages to be the right combination of cutting-edge flashiness (think Apple product landing pages) and a very down to earth usability. I can't quite put my finger on it, but it's rare to…

I agree. It's refreshing to see a company not jumping on the completely flat, mono-color bandwagon.

Re: Stripe Elements: Pre-built UI components to help you create checkout flows

#14

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 )

I think the css for the different forms can be found here: https://github.com/stripe/elements-examples

Re: Stripe Elements: Pre-built UI components to help you create checkout flows

#15
post #8

Playing around with some of these I clicked on one button and discovered that Chrome has a built in payment system -- the button opened up a dialog with all my saved information. Neat.

Better yet if you have Apple wallet set up on your phone, and visit: https://stripe.com/elements/examples, you'll see that you have the option to to pay via Apple Pay. Which is powered by their Payment request element: https://stripe.com/docs/elements/payment-request-button

Re: Stripe Elements: Pre-built UI components to help you create checkout flows

#16
Stripe is really, really good at marketing to developers. I have to imagine it’s earned them a lot of business.

To the extent that devs are involved in vendor selection, I have to imagine that a large majority of them suggest Stripe to their CFOs or whoever ultimately decides.

Re: Stripe Elements: Pre-built UI components to help you create checkout flows

#17
Stripe has dropped its key advantage.

It started out with outstanding software support for the most popular platforms but now it doesn't.

Develop an application in ReactJs? Stripe hand wave: ahh go build your own solution or use some third party thing somewhere over there in "the community, sure you can trust it".....whatever, we're busy, and ReactJs, hmmm haven't heard of that.

Re: Stripe Elements: Pre-built UI components to help you create checkout flows

#18

I miss the JS tokenizer on plain text fields. It's hard to match validation and font styles in iframe fields. That said, their React stripe elements library helped me use these in a project recently.

I am sad that this has been phased out. I have recently been working on a Square backed project, which uses this same iframe approach, but you cannot customize the fields or do any kind of validation: you just get the textboxes they give you with no way to add in things like specialized input types for numbers to help on mobile. To Stripe's credit, they at least go through the trouble of adding more intelligent validation & input handling. Will give this a closer look and may replace the Square version.

Re: Stripe Elements: Pre-built UI components to help you create checkout flows

#19

Stripe has dropped its key advantage. It started out with outstanding software support for the most popular platforms but now it doesn't. Develop an application in ReactJs? Stripe hand wave: ahh go build your own solution or use some third party thing somewhere over there in "the community, sure you can trust it".....whatever, we're busy, and ReactJs, hmmm haven't heard of that.

Wait, what? The official React wrapper for Elements is on GitHub: https://github.com/stripe/react-stripe-elements

Re: Stripe Elements: Pre-built UI components to help you create checkout flows

#20
post #9

Stripe Elements is really good. It has been an absolute help. Now if only we could get something similar for the Connect account stuff. So many different edge cases for countries and businesses, that the only reasonable approach is to autogenerate a form, and hope it makes sense. Example: Japanese business need to put in their address in kana and kanji, both personal and business address. They also need to specify th…

Engineer on the Connect team here.

> Now if only we could get something similar for the Connect account stuff. So many different edge cases for countries and businesses, that the only reasonable approach is to autogenerate a form, and hope it makes sense.

We're working on it! Express international support will ease most of the pain in this space (coming soon), and we have talked through ideas for how we can make Elements that handle things like international bank account and routing numbers. We also want to make it easy to migrate from Custom to Express, since you'll get i18n/L10n for free as it lands, and we'll handle things like requesting additional information from your users and showing the right (validated!) fields.

Post reply on HN