Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove restriction that payment method identifier only appear once #261

Merged
merged 1 commit into from
Sep 16, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 4 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -394,10 +394,6 @@ <h2>PaymentRequest constructor</h2>
If the first character of <code>details.total.amount.value</code> is U+002D HYPHEN-MINUS, then throw a
<a><code>TypeError</code></a>. <code>total</code> MUST be a non-negative amount.
</li>
<li>
If a <a>payment method identifier</a> appears more than once in the <code>methodData</code>
or <code>details.modifiers</code> sequences, then <a>throw</a> a <a><code>TypeError</code></a>.
</li>
<li>
For each <a><code>PaymentMethodData</code></a> in <code>methodData</code>, if the <code>data</code> field
is supplied but is not a <a>JSON-serializable object</a>, then <a>throw</a> a <a><code>TypeError</code></a>.
Expand Down Expand Up @@ -755,6 +751,7 @@ <h2>PaymentDetailsModifier dictionary</h2>
required sequence&lt;DOMString&gt; supportedMethods;
PaymentItem total;
sequence&lt;PaymentItem&gt; additionalDisplayItems;
object data;
};
</pre>

Expand Down Expand Up @@ -790,6 +787,9 @@ <h2>PaymentDetailsModifier dictionary</h2>
and the <code>additionalDisplayItems</code>, but it is the responsibility of the calling code to ensure that.
</p>
</dd>
<dt><code>data</code></dt>
<dd><code>data</code> is a <a>JSON-serializable object</a> that provides optional information that
might be needed by the supported payment methods.</dd>
</dl>
</section>

Expand Down