-
Notifications
You must be signed in to change notification settings - Fork 135
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
Alternative 'Pay' button wording options for Browser UI (the button in the sheet) #701
Comments
This was discussed previously (I can't seem to find the previous issue). It would be useful if the requirement could be described in some more detail and the motivations or use cases also provided. One challenge with allowing custom UI is that this opens up additional attack surface so it would need to be considered carefully. If we allowed a choice of options (more secure than free text) what would those be? |
@adrianhopebailie, I believe it was #56 |
What is great for merchants and end-users is that, when presented with the payment sheet, they get a consistent, predictable, localized, and highly accessible user experience. Allowing arbitrary changes to “pay” (or whatever the user agent chooses to present as the textual representation) starts to break that contract/experience. |
Thanks, I missed the existing threads in my initial search. @adrianhopebailie In my checkout instances, I show a "Continue" button once they provide the payment info (which is why I mentioned 'Add'), then "Submit order" for the confirmation screen. At no time, do I show a "Pay" button. Even with a small aside notice mentioning that the transaction is not real-time, people who don't read manage to assume the charge is immediate. I am concerned that a unique one-size-fit-all "Pay" does not help clarifying this to the user very well. This can cause customer service time or incorrect assumptions about an order fulfillment on the customer's part.
I agree. I am really thinking of a small set of options with the most generic/common actions possible or a more simple 'Authorize for payment'. It needs to be defined. Happy to try and do more research. @marcoscaceres To the point of discussion at the F2F.
I would argue this premise is actually a good reason to try and start differentiating the two more clearly to the user instead of continuing to leave buyers in the unknown or with incorrect assumptions. I am not yet involved with wanting to implement the API. Just in the curiosity stage at the moment. |
It might be that a developer signals the purpose of the payment request in some way, allowing the “pay” button to be changed to something more suitable by the UA. That would retain the qualities I listed above, without explicitly handing over control of the button label. |
Note that this is supposed to be communicated by the merchant’s UI, and by calling |
It's post-action. But that could help. Or perhaps, additionally relying on those enums as selective input, for the UA to use a button label according to the expected results. I am not too clear on what "unknown" would cover. I really think "authorized" is broad enough that it could be added, with "unknown" for other things. e.g. Should the request sends a custom |
@hexalys You raise a very good point. It strikes me that the current flow & API are optimized for one-time, real-time purchases by consumers - not recurring payments (e.g., subscriptions), not split payments (e.g., multiple cards), not hold-then-pay (e.g., reservations or temporary credit charges to lock in a price with payment to follow by some other means), not more complicated B2B interactions, etc. I'm not sure what to do about that (all of those scenarios add complexity), but we should be aware of the limitations... |
Nods. I am hopeful that covering additional flows can be done without being too specific like #111 or the previous Maybe a fairly clear specs around a new minimal set of enums that cover all or most use cases can work. e.g.
They can be of informal value which does necessarily alter the API process beyond display context... |
We have also discussed "transaction types" in the past and to-date the WG has concluded that these are payment method specific. For example, does it make sense to have a To date, the approach of the WG has been that the custom data in a payment method is a great place to experiment with new request data that, if it is shown to be universally applicable/useful, could be "upgraded" to hang off the parent Payment methods that support different behavior based on the transaction type should define a way to express this in their request data model. If there is a consensus to add this to the core As to how this impacts the UI, that is a different question. We have intentionally not imposed strong requirements on implementations with regards to UI, this is competitive space. For example, there is no guarantee that the payment sheet (displaying the list of payment instrument/payment handler options) will even have a "Pay" button (the Chrome one does, but that is just one implementation). Mozilla may have a button per instrument labelled "Next" that, when pushed invokes the payment handler which (in the case of basic-card) may be a payment handler built-in to the browser that has a confirmation screen with a "Pay" button. A concrete next step might be to define this list specifically for card payments and propose that it is added to the Basic Card payment method spec? |
Based on @adrianhopebailie's feedback, I'm marking this as "Future Candidate Feature". We can come back to this after CR and as we gain more experience with payment request. Thanks again, @hexalys, for the fruitful discussion here. I'm sure this is something we will return to sooner rather than later. |
We heard at the April F2F 2019, that the labelling of the pay button is problematic for merchants, from Dee |
This issue is still opened 5 years later. I would like to see an "intent", something like:
|
@gillesbouvier-qz, right now we have no active work on new features. |
I was looking the Google intro and I see the final button description is always
Pay
in the Chrome context. I am unable to find any mention in the spec that this can be changed.For cases where the payment is either not processed right away, or the payment info if provided for future charges. I think there should be a way to change this 'Pay' button to alternative wording. 'Pay' being a strong indication that the transaction is deemed immediate, which could be misleading to users.
A couple of options like 'Add' or 'Send' would be useful in this context.
The text was updated successfully, but these errors were encountered: