Recommended payment apps #74
Comments
|
This sounds like the same intent of the "Recommended payment apps" described in the spec. Thank you for digging down into the next level of detail. Can we agree to call them "recommended payment apps" instead of "suggested payment apps" simply because the former term has been used for a longer period of time? Some notes:
Let me start there and see if those points resonate with. I'll put this on Wednesday's agenda. Ian |
|
Agree 100% with everything you said, @ianbjacobs. |
|
Hi all, Here is a summary of our discussion about Recommended payment apps
I expect to make some edits to the spec based on this summary. [1] https://www.w3.org/2017/01/04-apps-minutes.html#item06 |
ianbjacobs
changed the title from
Suggested apps to Recommended payment apps
Jan 5, 2017
|
In light of recent discussions including on 7 February [1], I propose that we:
This will let us move the spec forward and continue to discuss a recommendation "layer" independently (as Marcos also suggests [2]). Ian |
|
I have experimented a bit with how to do Payment App recommendations outside of the Payment Request API. You can try out my approach by first installing an Android client with support for Payment Apps and then heading over to my dummy online shop. If you select to pay with TommyPay on this merchant page, it tries to call request.show()
.then(function(paymentResponse) {
// handle successful payment
})
.catch(function(error) {
console.log("show() error: " + error);
if (error.code == DOMException.NOT_SUPPORTED_ERR) {
window.location.href =
"https://tommythorsen.github.io/webpayments-demo/payment-apps/tommypay/signup/?redirect_url=" +
encodeURI(window.location.href);
}
});Since we pass the url to the current page as Does this meet the needs of a recommendation system, or are we missing something important? It would certainly be possible for the merchant to show some intermediate UI, asking the user if they want to install TommyPay before redirecting there. There's one use-case that is hard to support in this way: you may have noticed that I have separated the payment actions into individual buttons for the individual payment methods. For some merchants, this may not be desirable - they may wish to have one payment button that contains all their supported payment methods. In such a scenario, since most user agents have native support for This example does not make use of |
|
(let try that again
IMO, yes - that meets the needs for V1. |
This was referenced Feb 14, 2017
ianbjacobs
added this to the
Mark in FPWD
milestone
Apr 4, 2017
|
At today's payment apps task force call [1] we concluded that we want to put a marker in the FPWD indicating that we want additional input on two capabilities (not currently in the spec):
Ian |
rsolomakhin commentedDec 12, 2016
I've heard feedback from payment app writers that merchants need a way to suggest payment apps to the user. Let's specify how this happens, exactly. Here's a few options.
Does this sound any good? If so, let's spec something out.
Some ways to improve with pros and cons:
https://bobpay.com/payment-app/app.js.something.jsfile in the UI to the user is ugly.https://bobpay.com/payment-app/to the user.https://bobpay.com/payment-app/and show that in its own UI.https://bobpay.com/payment-app/to the user.https://bobpay.com/payment-app/index.htmlandhttps://bobpay.com/favicon.icoevery time the merchant suggests a payment app that's not installed.https://bobpay.commay get overloaded.https://bobpay.comlearns about the user's IP without user's explicit consent.