Hacker News new | ask | show | jobs
by dgb23 1054 days ago
Aside: Why isn't there a payment protocol standard that's implemented in browsers?
2 comments

There's the Payment Request API[1] which in theory allows you to use a single JS interface to declare a payment intent and your providers (so far only Apple Pay, Samsung Pay, and Google Pay are compatible). Though it is a single way of declaring your payment for multiple providers, you still need to subscribe to each provider individually and implement each specific post-authorization logic.

[1] https://developer.mozilla.org/docs/Web/API/Payment_Request_A...

Because the browser manufacturers have their own centralized payment protocols (Google Pay, Apple Pay) that they would prefer you use so that they can surveil your habits and get a cut of the fees.

Apple Pay is definitely integrated into Safari.