-
Notifications
You must be signed in to change notification settings - Fork 20
fix: don't redact addressLine from billingAddress #77
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you help me understand the rationale for the change?
I believe this is a bug. When the payment request is done, the response data, including billing address, is returned. It was never the intention that the billing address be redacted once the user has agreed to pay with that payment instrument. There is no reason to specify a "complete" billing address in Basic Card and then not return it under any circumstances. Ian |
Reviewing #5, I concur that "addressLine" can probably be added back in for AVS. But I'm not seeing any justification for adding "organization", "phone", "recipient" to the billing address? |
I meant #5 above. |
@marcoscaceres has convinced me that it may not be necessary to return the entirety of a (generic) PaymentAddress in a billing context. I will do some outreach to learn more whether "organization", "phone", "recipient" are required in practice. In the meantime, I have restored the redactList, but without addressLine (as Marcos indicated). |
@zouhir, now that Microsoft has put out preview build, are you in a position to give indications of support for things related to basic card? |
Filed on bug on the Firefox side for record keeping purposes: |
LGTM @ianbjacobs comment above & most recent commit changes makes total sense. |
Ok, let's run with this for now. If we need to expand this later, we can always open a new PR. |
Hi all, I endeavored to find out whether there are some use cases for sending From my outreach I conclude that (card) information is useful both @Krystosterone pointed to the authorize.net documentation [1] and I It seems that for authorization, the three fields are not strictly I also concluded from discussion that "addressLine" should be returned I have thus updated the pull request so that the redactList for Basic Ian [1] https://developer.authorize.net/api/reference/index.html |
Could you please provide a few more details about how phone plays a role? Handing out phone with the billing address seems super risky/exploitable. |
@marcoscaceres, in cases where the merchant makes use of 3-D Secure authentication, phone is a data point that figures into that protocol. As one person commented: "The more information provided, the better. This is due to fraud analysis being doing prior to charging the card on the PSP's side. This means that the merchant can have a transaction declined, not by the bank, but rather by the PSP itself." Can your concern be addressed through UX? The payment handler can indicate that phone number is optional. If the user provides one, it is returned. Ian |
It can. The browser wouldn’t provide the option to the user. If Firefox ever did basic card, I don’t think we would ever hand this out (or bother the user to provide it). It’s too easy for third parties to abuse. |
Should we add a privacy consideration to Basic Card at the same time? I'm happy to draft that. |
We can (we have a note about not needlessly sharing phone numbers somewhere already I think). I don’t have a horse in this race, so would be good to get opinions from other Basic Card implementers. |
Privacy consideration could not hurt. |
@rsolomakhin and @marcoscaceres, I have added a new privacy consideration paragraph; review welcome! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to me!
Are you absolutely sure they can’t live without the phone number? I’m still very uncomfortable with this. |
@marcoscaceres, I am asking more PSPs. Ian |
c2ab61b
to
d16a30c
Compare
Rebased and fixed up markup. |
Hi @marcoscaceres, Here is some additional PSP input (paraphrasing):
I would like to propose that we address the privacy balance as follows:
Please let me know if that works for you. Ian |
returned once the user has accepted the payment request.
…on about whether all of a generic PaymentAddress is required for card billing purposes.
- Merged two related paragraphs. - New paragraph on possibility of configs to share less response data.
…on about whether all of a generic PaymentAddress is required for card billing purposes.
- Merged two related paragraphs. - New paragraph on possibility of configs to share less response data.
56811b4
to
b7e8a02
Compare
There should be no redaction for the billing address that is
returned once the user has accepted the payment request.
The following tasks have been completed:
Implementation commitments:
Preview | Diff