Hello everybody--
I was reviewing the spec and issues [1] of the Payment Request API [2] and I would want to share some concerns with you.
The specification seems to me very complex, specific, hard to extend and deceitful at some extend. Let's see why:I can not stop thinking about how AppCache failed to try to solve a general problem with a too specific solution. Despite its extensible nature [3], I'm afraid the API will become so complicated when trying to cover new payment methods at the point it becomes unmaintainable.
- It's complexity arises from the number of different situations it tries to cover.
- But at the same time, it only covers a very specific case right now, delegating on an extensible architecture to allow future payment methods.
- But the extensions should be provided by the UA making them hard to spread across browsers.
- Lastly, the extension mechanism seems to favor those vendors that control platform and payment processors.
Furthermore, this specification is not a progressive enhancement at all. I recommend you to read this issue started by Marcos Caceres [4]. He makes excellent points on highlighting the progressive enhancement nature that this API should provide but someone noticed that there was another proposal before regarding autocompletion only [5], which was discarded.
What do you think?
[1] https://github.com/w3c/browser-payment-api/issues
[2] https://w3c.github.io/browser-payment-api/
[3] https://w3c.github.io/browser-payment-api/
[4] https://github.com/w3c/browser-payment-api/issues/330
[5] https://github.com/w3c/browser-payment-api/issues/330#issuecomment-265648225--<salva />
You received this message because you are subscribed to the Google Groups "Mozilla PWA" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pwa+uns...@mozilla.com.
To post to this group, send email to p...@mozilla.com.
To view this discussion on the web visit https://groups.google.com/a/mozilla.com/d/msgid/pwa/CAF830CS6M4TYeeGaAd7-PwtwTpfUp8xVJxoFmoVoeftt2Ku0Sw%40mail.gmail.com.
I wonder if this belongs to the PWA mailing list :) so I am CC'ing this to auto...@lists.mozilla.org.
I am, however, afraid that Payment Request API has reach a stage where it would be hard to make any significant change on our own.
To view this discussion on the web visit https://groups.google.com/a/mozilla.com/d/msgid/pwa/CALXJ5soFTxV_48BBBYpOQDv2wy9R%3DdiuqhDPUgAgu0f6vAc1cg%40mail.gmail.com.
I wonder if this belongs to the PWA mailing list :) so I am CC'ing this to auto...@lists.mozilla.org.
I am, however, afraid that Payment Request API has reach a stage where it would be hard to make any significant change on our own.Agree. We missed the boat š© (with Microsoft having implemented). We can make incremental improvements in V2 tho. So keep ideas and use cases coming. We just need to retrofit things in a backwards compatible way.Ā
What's the desired outcome for you from this thread?
Kind regards,
Marcos