Skip to content

Commit 76135b9

Browse files
Describe privacy inplications of changing payment method (#849)
1 parent 9dac110 commit 76135b9

File tree

1 file changed

+32
-5
lines changed

1 file changed

+32
-5
lines changed

index.html

Lines changed: 32 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -222,10 +222,21 @@ <h2>
222222
<dfn>Steps for when a user changes payment method</dfn> (optional)
223223
</dt>
224224
<dd>
225-
Steps that describe how to handle the user changing payment method or
226-
monetary instrument (e.g., from a debit card to a credit card) that
227-
results in a <a data-cite="WEBIDL#idl-dictionary">dictionary</a> or
228-
<a data-cite="WEBIDL#idl-object">object</a> or null.
225+
<p>
226+
Steps that describe how to handle the user changing payment method
227+
or monetary instrument (e.g., from a debit card to a credit card)
228+
that results in a <a data-cite=
229+
"WEBIDL#idl-dictionary">dictionary</a> or <a data-cite=
230+
"WEBIDL#idl-object">object</a> or null.
231+
</p>
232+
<p>
233+
A <a>payment handler</a> that defines <a>steps for when a user
234+
changes payment method</a> MUST redact the <a>address line</a>,
235+
<a>organization</a>, <a>phone number</a>, and <a>recipient</a>
236+
from any <a>PaymentAddress</a> included in the
237+
<a>PaymentMethodChangeEvent</a>'s <a data-link-for=
238+
"PaymentMethodChangeEvent">methodDetails</a> attribute.
239+
</p>
229240
</dd>
230241
</dl>
231242
<p>
@@ -4411,7 +4422,16 @@ <h2>
44114422
"WEBIDL#idl-object">object</a> or null, and a <var>methodName</var>,
44124423
which is a DOMString that represents the <a>payment method
44134424
identifier</a> of the <a>payment handler</a> the user is interacting
4414-
with:
4425+
with.
4426+
</p>
4427+
<p class="note" title=
4428+
"Privacy of information shared by paymentmethodchange event">
4429+
When the user selects or changes a payment method (e.g., a credit
4430+
card), the <a>PaymentMethodChangeEvent</a> includes redacted billing
4431+
address information for the purpose of performing tax calculations.
4432+
Redacted attributes include, but are not limited to, <a>address
4433+
line</a>, <a>dependent locality</a>, <a>organization</a>,
4434+
<a>phone number</a>, and <a>recipient</a>.
44154435
</p>
44164436
<ol class="algorithm">
44174437
<li>Let <var>request</var> be the <a>PaymentRequest</a> object that
@@ -5308,6 +5328,13 @@ <h2>
53085328
member with a third-party <a>payment handler</a> without user
53095329
consent.
53105330
</p>
5331+
<p>
5332+
Where sharing of privacy-sensitive information might not be obvious
5333+
to users (e.g., when <a data-lt=
5334+
"payment method changed algorithm">changing payment methods</a>), it
5335+
is RECOMMENDED that user agents inform the user of exactly what
5336+
information is being shared with a merchant.
5337+
</p>
53115338
</section>
53125339
<section class="informative">
53135340
<h2 id="canmakepayment-protections">

0 commit comments

Comments
 (0)