-
Notifications
You must be signed in to change notification settings - Fork 8
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
Add payerGivenName + payerFamilyName to PaymentAddress #69
Comments
Yes, that works for me. I would prefer we provide a hint as to the ordering instead of the full name, but I appreciate some implementors have shipped already and that would be a breaking change. Additionally we can then use payerName to indicate not just ordering but other potential information. Some background - this is an important requirement for certain sectors and markets such as Asia. Additionally, merchants in the travel and financial industries often have regulatory or legal requirements to collect names in a standardized format. |
@lararennie @zkoch FYI. |
What do you intend to do for people who only have one name? are both of these optional fields? |
@r12a and @aphillips could you have a look at this proposal? |
@lararennie Yes, I think both of these would be optional. |
Have we checked with the travel/financial industries what they expect to be in each field? e.g. middle names: are they put with given names? |
@nickjshearer, do you some insights about the above and what the conventions are for things like middle names, etc? |
@nickjshearer any thoughts on the above? |
I'm postponing this, as unfortunately we've not received any response from @hober. |
I'm not sure I have all that much insight here. Here's a little bit of background: PassKit generally handles names in component form. This wouldn't be much of a problem for Whether or not this is something that needs to be addressed before entering LCCR is not obvious to me. If it isn't, I guess we'll raise it as a CR comment. |
I just now saw this. I don't think either @r12a or I saw this previously for some reason. I added a comment to w3c/payment-request#471 and am a little concerned that this proposal overlooks the problems inherent in personal names--these can have multiple fields (not limited to 1 or 2) and different rules associated with them. Splitting names into fields introduces the need to account for the cultural and functional (such as sorting) variations associated with personal names. This is not to say "don't do it". Only that this proposal appears inadequate/incomplete. |
@hober: How is |
Just noticing this thread now. (For future reference, @ianbjacobs and others, note that if you stick the i18n-tracker label on an issue, the i18n WG will be notified about it for each new comment.) I'll add it to our tracker, and read the thread... |
@r12a, noted. |
@ianbjacobs do you have a link to 'the proposal' ? tx |
@ianbjacobs I think we will postpone to after we go to CR. That will give @hober and friends at Apple time to figure out if they can make this work with |
@aestes, can you kindly take a look at the discussion in this issue? With respect to WebKit's implementation and |
The issues summarized at https://www.w3.org/International/questions/qa-personal-names make me wonder if it's a good idea to add payerGivenName and payerFamilyName. At the least, it would help to have a clearer idea of the motivation and requirements here. |
@stpeter That Q+A document does summarize the range of variation and the problem space inherent in personal names. Using a single, undivided field is an avoidance tactic. The other end of the spectrum, familiar to implementers of address book and contact applications, is a much more complex, nuanced data structure (which is usually coupled with locale-based presentation to hide unneeded complexity from e.g. your US English customers unless/except where they want it). Given+Family is a pretty common pattern that, while by no means universal, can be made sensible as an intermediate compromise between an opaque single-name-string and the full richness of human culturally linked naming. When it is the only structure for personal names, that usually leads to bad compromises for cultures that need more/fewer tokens for a name. If it is an adjunct to the opaque name string ( |
Thanks @aphillips for weighing in. As one data point, it might be interesting to know what credit card issuers require for naming throughout the world - even though from a Web Payments perspective (a) in the long term we don't want to be tied to credit cards and debit cards as payment instruments and (b) things like prepaid cards don't have names associated with them. Furthermore, it would be helpful to understand the requirements here. For instance, is this needed for sorting or validation, and by which parties in the ecosystem (merchant, payment service provider, etc.)? Knowing that might help us figure out if this is really something we want the user agent to handle and enforce. |
There is ongoing interest to add these additional fields.... |
@xfq @marcoscaceres I am native Japanese speaker. I don't want to consider about the meaning / structure of the name. But, In Japan almost all people's names are represented in Kanji character like '山田太郎'. In-Japan, family is important because family-registration by the law. Some people might wonder what is a problem. Here is an example implementation of Google contacts. And when I enter these fields, and save it single full-name field is automatically generated like below. I think Google and Apple doing well in this area. But i'm glad if I can pass paymentOption object like Sorry for the long text, and thank you for reading my opinion. |
This issue was raised in Payment Request, but closed once we removed addresses from that API. Since the features are now part of Contact Picker, we are transferring the issue here. |
Should this still be a closed issue? |
I've re-opened; thank you. |
It would be good to then clarify that payerName would be the user’s preferred rendering of their name.
The text was updated successfully, but these errors were encountered: