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 @@

222222
<dfn>Steps for when a user changes payment methoddfn> (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">dictionarya> or
228-
<a data-cite="WEBIDL#idl-object">objecta> 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">dictionarya> or <a data-cite=
230+
"WEBIDL#idl-object">objecta> or null.
231+
p>
232+
<p>
233+
A <a>payment handlera> that defines <a>steps for when a user
234+
changes payment methoda> MUST redact the <a>address linea>,
235+
<a>organizationa>, <a>phone numbera>, and <a>recipienta>
236+
from any <a>PaymentAddressa> included in the
237+
<a>PaymentMethodChangeEventa>'s <a data-link-for=
238+
"PaymentMethodChangeEvent">methodDetailsa> attribute.
239+
p>
229240
dd>
230241
dl>
231242
<p>
@@ -4411,7 +4422,16 @@

44114422
"WEBIDL#idl-object">objecta> or null, and a <var>methodNamevar>,
44124423
which is a DOMString that represents the <a>payment method
44134424
identifiera> of the <a>payment handlera> 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>PaymentMethodChangeEventa> 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+
linea>, <a>dependent localitya>, <a>organizationa>,
4434+
<a>phone numbera>, and <a>recipienta>.
44154435
p>
44164436
<ol class="algorithm">
44174437
<li>Let <var>requestvar> be the <a>PaymentRequesta> object that
@@ -5308,6 +5328,13 @@

53085328
member with a third-party <a>payment handlera> 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 methodsa>), 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)