Re:Stripe Elements: Pre-built UI components to help you crea...
by mmanfrin on Tuesday October 03, 2017 @05:54PM
(#15396554)
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.
[ Parent
| on HN ]
Re:Stripe Elements: Pre-built UI components to help you crea...
by dpatterson2008 on Tuesday October 03, 2017 @06:42PM
(#15396828)
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 crea...
by tonyhb on Wednesday October 04, 2017 @12:31AM
(#15398269)
It's been there for around 4 years. It automatically generates a one-time card for the payment, too, so you never hand the merchant your card.
https://www.html5rocks.com/en/tutorials/forms/requestautocom...
I think this API ended up being deprecated from lack of use (not surprising as no one used it and is amazed it existed), but it may have paved the way for https://developer.mozilla.org/en-US/docs/Web/API/Payment_Req....
Genuinely surprised that this didn't catch on, it was amazing.
Re:Stripe Elements: Pre-built UI components to help you crea...
by anthonyvd on Wednesday October 04, 2017 @09:57AM
(#15400462)
RequestAutocomplete is indeed deprecated and Stripe is using PaymentRequest (which doesn't do anything fancy except pull your CC info from Chrome autofill for the record, so no one-time card for the payment).
RequestAutocomplete had some weird quirks that made adoption slow and full of friction. You're right to say that PaymentRequest is a fixed RequestAutocomplete in most regards, and it's amazing (I'm biased though, I'm one of the people implementing it on desktop Chrome :) ). It's being implemented by all major browsers too!