-
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
Added based on issue 936 #937
Conversation
index.html
Outdated
In particular, the {{PaymentMethodData.data}} and | ||
{{PaymentResponse.details}} members allow for the arbitrary exchange | ||
of data. In light of the wide range of data models used by existing | ||
payment methods, prescribing data specifics in this API would limit | ||
its usefulness. The {{PaymentResponse.details}} member carries data | ||
from the payment handler, whether Web-based (as defined by the | ||
[[Payment Handler API]]) or proprietary. The <a>user agent</a> MUST | ||
NOT support payment handlers unless they include adequate user | ||
consent mechanisms (such as awareness of parties to the transaction | ||
and mechanisms for demonstrating the intention to share data). |
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.
In particular, the {{PaymentMethodData.data}} and | |
{{PaymentResponse.details}} members allow for the arbitrary exchange | |
of data. In light of the wide range of data models used by existing | |
payment methods, prescribing data specifics in this API would limit | |
its usefulness. The {{PaymentResponse.details}} member carries data | |
from the payment handler, whether Web-based (as defined by the | |
[[Payment Handler API]]) or proprietary. The <a>user agent</a> MUST | |
NOT support payment handlers unless they include adequate user | |
consent mechanisms (such as awareness of parties to the transaction | |
and mechanisms for demonstrating the intention to share data). | |
In particular, the {{PaymentMethodData}}'s {{PaymentMethodData/data}} and | |
{{PaymentResponse}}'s {{PaymentResponse/details}} members allow for the arbitrary exchange | |
of data. In light of the wide range of data models used by existing | |
payment methods, prescribing data specifics in this API would limit | |
its usefulness. The {{PaymentResponse/details}} member carries data | |
from the payment handler, whether Web-based (as defined by the | |
[[[payment-handler]]]) or proprietary. The [=user agent=] MUST | |
NOT support payment handlers unless they include adequate user | |
consent mechanisms (such as awareness of parties to the transaction | |
and mechanisms for demonstrating the intention to share data). |
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 seems reasonable (as far as proprietary/native payment handlers go), but it still puts the onus on the Payment Handler spec to do the "right thing"™️ with regards to privacy. That's going to be tricky with respect to the .details
method because it's opaque to both the user agent and the end user.
Thank you, @marcoscaceres. I have incorporated your edits into the pull request. |
#936 (comment)
closes #936
The following tasks have been completed:
Implementation commitment:
Impact on Payment Handler spec: Requires payment apps to ensure adequate user consent mechanisms.
Preview | Diff