Skip to content
This repository has been archived by the owner on Aug 27, 2021. It is now read-only.

add requestSecurityCode member to BasicCardRequest #78

Merged
merged 9 commits into from
Feb 13, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 15 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,9 @@ <h2>
Model
</h2>
<p>
A <dfn>card</dfn> is a physical or virtual payment instrument that has
<a>details</a> and optionally is part of a <a>network</a>.
A <dfn data-lt="card's">card</dfn> is a physical or virtual payment
instrument that has <a>details</a> and optionally is part of a
<a>network</a>.
</p>
<p>
The <dfn>details</dfn> of a <a>card</a> are the <dfn data-abbr=
Expand Down Expand Up @@ -178,6 +179,7 @@ <h2>
<pre class="idl">
dictionary BasicCardRequest {
sequence&lt;DOMString&gt; supportedNetworks = [];
boolean requestSecurityCode = true;
};
</pre>
<p>
Expand All @@ -192,6 +194,15 @@ <h2>
accepts, derived from the [[[card-network-ids]]]. When the sequence
is empty, it means that all <a>networks</a> are supported.
</dd>
<dt>
<dfn>requestSecurityCode</dfn> member
</dt>
<dd data-link-for="BasicCardResponse">
A boolean that indicates whether the <a>payment handler</a> SHOULD
collect and return a [=card's=] <a>security code</a> via
{{BasicCardResponse/cardSecurityCode}}. For some transactions, the
payee may prefer that the <a>payment handler</a> not prompt the user.
</dd>
</dl>
</section>
<section>
Expand Down Expand Up @@ -285,7 +296,8 @@ <h3>
chooses provide it, set |card|.{{BasicCardResponse/cardholderName}}
to the <a>card holder's name</a>.
</li>
<li>If the |card| supports a <a>security code</a> and the user
<li>If the |card| supports a <a>security code</a>, and
{{BasicCardRequest/requestSecurityCode}} is true, and the user
chooses provide it, set |card|.{{BasicCardResponse/cardSecurityCode}}
to a three or more digit string.
</li>
Expand Down