Skip to content

Commit

Permalink
assure request+response use same shippingAddress
Browse files Browse the repository at this point in the history
* closes #692
  • Loading branch information
marcoscaceres committed Mar 8, 2018
1 parent fb7cad2 commit 9dd14c3
Showing 1 changed file with 17 additions and 6 deletions.
23 changes: 17 additions & 6 deletions index.html
Expand Up @@ -3392,12 +3392,23 @@ <h2>
</li>
<li>If the <a data-lt=
"PaymentOptions.requestShipping">requestShipping</a> value of
<var>request</var>.<a>[[\options]]</a> is true, then <a>create a
<code>PaymentAddress</code> from user-provided input</a> passing the
empty list as the <var>redactList</var> and set the <a data-lt=
"PaymentResponse.shippingAddress">shippingAddress</a> attribute of
<var>response</var> to the resulting <a>PaymentAddress</a>.
Otherwise, set it to null.
<var>request</var>.<a>[[\options]]</a> is true, then:
<ol>
<li>Let <var>redactList</var> be the empty <a>list</a>.
</li>
<li>Let <var>shippingAddress</var> be the result of <a>create a
<code>PaymentAddress</code> from user-provided input</a> with
<var>redactList</var>.
</li>
<li>Set the <a data-lt=
"PaymentResponse.shippingAddress">shippingAddress</a> attribute
value of <var>response</var> to <var>shippingAddress</var>.
</li>
<li>Set the <a data-lt=
"PaymentResponse.shippingAddress">shippingAddress</a> attribute
value of <var>request</var> to <var>shippingAddress</var>.
</li>
</ol>

This comment has been minimized.

Copy link
@marcoscaceres

marcoscaceres Mar 8, 2018

Author Member

Accidentally forgot to add back in “Otherwise, set it to null.”

</li>
<li>If the <a data-lt=
"PaymentOptions.requestShipping">requestShipping</a> value of
Expand Down

0 comments on commit 9dd14c3

Please sign in to comment.