-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Should the payment request support multiple pricing options? #79
Comments
A user (or their payment app) may want to make choices based on the available pricing options. This would be a frustrating experience if the user first had to make some choices to see those pricing options -- and then back out and try others. It would also be an inefficient (or infeasible) process for a payment app that is automating the process. |
What are the other options? If we are going to support the concept of pricing options at all I only see 3 ways for this to work:
It's possible that we have combination of 2 and 3 which would be my preference. Provide a good set of options that assist users in making their initial choices but still have the flexibility to fetch an updated set of prices if required. |
This sounds fine (and preferable) to me. Ideally, most of the information will be available via 2, but we could allow for cases when 3 is necessary. |
I'm for 2. The payment app tells the payee's website which payment methods are supported... it is on the payee to add additional items (e.g. "fees") to the payment request's detail for the specific payment method. |
@alexdown said:
That's a violation of the customer's privacy. The current design is for the payee site to say which payment methods it accepts and for the payer's software to expose the available methods to the payer for selection. Welcome to the group, @alexdown :) |
I think it's a good idea to have pricing options for loyalty cards, for example. I don't think it's necessary for version 1 of the API, in the interest of building the most common and simple API for now. Perhaps in version 2 would be better. That being said, I would prefer option 3 ("Payment apps are able to request an updated payment request when users make choices that may change the price they pay"), because I want to avoid computational logic and exhaustive pre-calculation. Also, option 3 fits the "paymentRequest.setAddressChangeListener()" paradigm nicely. I'm thinking about perhaps "paymentRequest.setPaymentInstrumentTypeListener()", for example. |
Here are a handful of use cases from our base use case document that I feel are related to this feature: 6.1.3 (application or marketing elements) supports this directly in that it talks about loyalty cards and coupons. However, at least in the latest draft these are not in any Roadmap "phase". 6.2.1 (discovery of accepted schemes) talks to having multiple accepted payment schemes. If that's the case, it should be possible for different schemes to have different payment amounts (e.g., if you pay with Visa it is this much, in Bitcoin it is this much). 6.2.2 (selection of payment instruments) also goes to this case. The user (or their automated agent) needs a way to intelligently decide which payment instrument or combination of instruments will be used. |
We've discussed the idea of having the user agent indicate to the web page what payment method has been selected as a way of accomplishing what @alexdown suggests. This still has privacy implications, which is one reason we haven't made a more formal proposal yet. This topic also is something we can add support for later. It's not clear that merchants necessarily want to advertise all the different pricing options they might want to offer right up front. |
Another consideration is the user experience for picking a payment app. Is price an important factor in making the decision? If the payee is prepared to accept different amounts depending on the payment method should the user be able to see that when making their choice of payment app. i.e. Should each payment app choice also show the price the user will pay if they select that app? If not, there is no incentive for merchants to price different payment methods differently which begs the question of what incentive a merchant has for using the API over a payment flow they have more control over that allows them more influence on the payment method. |
On Thu, Feb 11, 2016 at 7:06 AM, Adrian Hope-Bailie <
Well - I think at least we should not prevent a merchant from doing this. -Shane |
JFYI - the web-payments.io demo has been updated to show a price on the payment app selection screen now. |
Migrated to w3c/payment-request#54. @adrianhopebailie, please close the issue if you feel that w3c/payment-request#54 is the right home for this issue. |
I am closing this but think the history here is important for anyone picking up the issue on the other thread. We also discussed this at the F2F and I don't believe came to consensus so this is still an important point of discussion. |
Originally raised in the comments at https://github.com/WICG/paymentrequest/issues/41#issuecomment-178356991
There a number of reasons why a payment request may carry multiple pricing options:
These use cases could be addressed in different ways:
The text was updated successfully, but these errors were encountered: