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

Commit

Permalink
add requestSecurityCode member to BasicCardRequest (#78)
Browse files Browse the repository at this point in the history
  • Loading branch information
ianbjacobs committed Feb 13, 2020
1 parent fa4100a commit c07025c
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,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 @@ -177,6 +178,7 @@ <h2>
<pre class="idl">
dictionary BasicCardRequest {
sequence&lt;DOMString&gt; supportedNetworks = [];
boolean requestSecurityCode = true;
};
</pre>
<p>
Expand All @@ -191,6 +193,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 @@ -284,7 +295,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

0 comments on commit c07025c

Please sign in to comment.