- billing information (credit card information)
- a shipping address.
You could go through the site like you normally do, create a shopping cart, then on checkout, the sites sends the user to an XML/JSON page saying basically:
"The user wants to buy this, can we have his billing information?"
At that point the user confirms the shopping cart locally, the the browser sends the billing information to the site.
This is done right now with credit cards but not with addresses.
If Mozilla or Chrome did this it would REALLY hurt Amazon but also really ENABLE smaller merchant sites.
IT would also make buying things from 3rd parties super easy.
One of the nice things of buying from Amazon is the one click shopping which doesn't exist anywhere else really.
It's supported by Safari, Chrome, Edge and Firefox, on desktop, Android and iOS, according to MDN.
https://developer.mozilla.org/en-US/docs/Web/API/Payment_Req...
There's a whole lot more to e-commerce than accepting customer information.
It's still only a part of what a major ecommerce vendor offers, other elements being, potentially, supplier relations, purchaser guarantees, ratings and feedback systems, fraud detection (both buy and sell sides), fulfillment, physical delivery, advertising and brand awareness, lobbying, and more. Competition in these areas would remain.
Any browser-inherent features would also all but certainly move more slowly than independently developed capabilities.
Given the present browser market, it would also have to specifically appeal to Google, even Safari and Firefox are extremely distant rivals in that space. Though as noted at the top: a free-standing open shopping/commerce dedicated app might appear.
It's still quite possible an ecommerce monopolist could capture or repel such an initiative, whether in existing or new applications.
All that said, I'd encourage exploration of the idea, it's certainly occurred to me previously.
1 Delivery is quick and my parcels will be left in a location selected by me - many other companies won't leave parcels. Lockers are great too, when I'm in a location that has them.
2 Great customer service
A billing/shipping API won't impact my reasons for using Amazon. I'd love to use other companies but they aren't getting the basics right at the moment.
Here's a demo:
https://applepaydemo.apple.com/
Scroll to "Try it: ApplePayPaymentRequest"
Select the Detailed Request radio button.