Live data from Hacker News

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

stripe.com

81–90 of 124 posts

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

#81
post #80

So, is there a way to use this without the iframe (by going to stripe.com and then back)? As a customer, when ordering something from a shop I prefer to send my CC details to stripe.com instead of the vendor. With an iframe i usually cannot tell that this is the case.

This is why i love paypal.

I don't want to input my credit card info in whatever site, I'd rather do it in paypal.com.

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

#82

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…

To add to the praise for Stripe, their API docs are a pleasure to use.

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

#84
post #77
post #68

They automagically figure out what country the card is from so they can set the numeric/alphanumeric postal code. Can I get that BIN list from somewhere so I can use this even if I'm not submitting to stripe?

There's BIN list. https://binlist.net https://github.com/binlist/data

Most bin lists haven't been very accurate or able to be scraped. Looks like the tracker is pretty active. I'll have to check it out. Thanks!

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

#85
post #37

I upgraded our payment capture a week or so ago. It was easy to do (we don't have a complicated form) but I was bummed to find out that there is extremely limited support for ACH capture with elements.

Working on it!

(I work at Stripe)

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

#86
I built a little Polymer wrapper for stripe elements unfortunately, it only works with the polyfill. It seems at first blush to be an issue between Stripe's react components and shadowDOM.

https://github.com/bennypowers/stripe-elements/issues/2

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

#87

Slightly OT : With Stripe elements, we noticed an error in about 5% of the requests, something like "Stripe is not defined". Some of these errors were traced to older browsers with JS issues that couldn't execute " https://js.stripe.com/v3/" . But some remain unexplained. Unfortunately, it's hard to debug a client side error unless a client reports it. Just thinking out load about possible issues that could cause thi…

We used to experience this exactly with stripe.js V2, our conclusion was it was some sort of connection issue and using this code to include stripe.js on both the checkout page but also our basket helped to ensure it has been loaded by the browser before it was needed. It massively reduced the instances of the error. window.Stripe || document.write(' ') window.Stripe || document.write(' ')

That's quite interesting. Was the issue specific to any particular browser/platform/country combination ?

Stripe's server log might record/report failures in loading scripts. Perhaps someone from Stripe can chime in on the issue.

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

#88

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…

Oh God, yes!

I love the attention to small details they're giving here. It's the kind that I absolutely admire but so rarely see. For example, in the section "Less code. Fewer edge cases." - a) the code "image" scrolls in the direction you scroll, and b) the code is actual code, made to look that way through use of a font (Flow-Circular). They could have went with a nonsense PNG with horizontal lines, but instead, they put actual code. They even went as far to leave this in the HTML just above that place:

Hats off to them.

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

#89

Here's the same URL but without all the utm_* tracking garbage: https://stripe.com/elements

I'm curious, what is the motivation for avoiding that stuff? It seems to just be there to make it easier for Stripe to see where traffic is coming from, in this case.

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

#90

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.

So they have a solution that works for everyone and you are complaining its not just made for $INSERTYOURFRAMEWORK. Interesting point of view.
Post reply on HN