Skip to content

Commit 9dd14c3

Browse files
committed
assure request+response use same shippingAddress
* closes w3c#692
1 parent fb7cad2 commit 9dd14c3

File tree

1 file changed

+17
-6
lines changed

1 file changed

+17
-6
lines changed

index.html

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3392,12 +3392,23 @@ <h2>
33923392
</li>
33933393
<li>If the <a data-lt=
33943394
"PaymentOptions.requestShipping">requestShipping</a> value of
3395-
<var>request</var>.<a>[[\options]]</a> is true, then <a>create a
3396-
<code>PaymentAddress</code> from user-provided input</a> passing the
3397-
empty list as the <var>redactList</var> and set the <a data-lt=
3398-
"PaymentResponse.shippingAddress">shippingAddress</a> attribute of
3399-
<var>response</var> to the resulting <a>PaymentAddress</a>.
3400-
Otherwise, set it to null.
3395+
<var>request</var>.<a>[[\options]]</a> is true, then:
3396+
<ol>
3397+
<li>Let <var>redactList</var> be the empty <a>list</a>.
3398+
</li>
3399+
<li>Let <var>shippingAddress</var> be the result of <a>create a
3400+
<code>PaymentAddress</code> from user-provided input</a> with
3401+
<var>redactList</var>.
3402+
</li>
3403+
<li>Set the <a data-lt=
3404+
"PaymentResponse.shippingAddress">shippingAddress</a> attribute
3405+
value of <var>response</var> to <var>shippingAddress</var>.
3406+
</li>
3407+
<li>Set the <a data-lt=
3408+
"PaymentResponse.shippingAddress">shippingAddress</a> attribute
3409+
value of <var>request</var> to <var>shippingAddress</var>.
3410+
</li>
3411+
</ol>
34013412
</li>
34023413
<li>If the <a data-lt=
34033414
"PaymentOptions.requestShipping">requestShipping</a> value of

0 commit comments

Comments
 (0)