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

Editorial changes #465

Merged
merged 3 commits into from Mar 21, 2017
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
46 changes: 27 additions & 19 deletions index.html
Expand Up @@ -6,7 +6,8 @@
</title>
<meta charset='utf-8'>
<script src='https://www.w3.org/Tools/respec/respec-w3c-common' class=
'remove'></script>
'remove'>
</script>
<script class='remove'>
var respecConfig = {
shortName: "payment-request",
Expand Down Expand Up @@ -119,15 +120,21 @@ <h2>
</h2>
<p>
This specification describes an API that allows <a>user agents</a>
(e.g., browsers) to act as an intermediary between three systems in
every transaction: the merchant (e.g., an online web store), the buyer,
represented by the <a>user agent</a> (e.g., the user buying from the
online web store), and the <dfn data-lt="payment methods">payment
method</dfn> (e.g., credit card). Information necessary to process and
confirm a transaction is passed between the <a>payment method</a> and
the merchant via the <a>user agent</a> with the buyer confirming and
authorizing as necessary across the flow.
(e.g., browsers) to act as an intermediary between three parties in a
transaction:
</p>
<ul>
<li>the payee: the merchant that runs an online store, or other party
that requests to be paid.
</li>
<li>the payer: the party that makes a purchase at that online store,
and who authenticates and authorizes payment as required.
</li>
<li>the <dfn data-lt="payment methods">payment method</dfn> provider:
the party that provides the means (e.g., credit card) that the payer
uses to pay, and that is accepted by the payee.
</li>
</ul>
<p>
The details of how to fulfill a payment request for a given <a>payment
method</a> are handled by <dfn data-lt="payment app">payment
Expand All @@ -148,13 +155,14 @@ <h2>
</h2>
<ul>
<li>Allow the user agent to act as intermediary between merchants,
users, and <a>payment methods</a>
users, and <a>payment method</a> providers.
</li>
<li>Standardize (to the extent that it makes sense) the communication
flow between a merchant, user agent, and <a>payment method</a>
provider.
</li>
<li>Allow <a>payment methods</a> to bring more secure payment
transactions to the web
<li>Enable <a>payment method</a> providers to bring more secure
payment transactions to the web.
</li>
</ul>
<section id="out-of-scope">
Expand Down Expand Up @@ -223,11 +231,11 @@ <h2>
<p>
A web page creates a <a>PaymentRequest</a> to make a payment request.
This is typically associated with the user initiating a payment process
(e.g., selecting a "Power Up" in an interactive game, pulling up to an
automated kiosk in a parking structure, or activating a "Buy",
"Purchase", or "Checkout" button). The <a>PaymentRequest</a> allows the
web page to exchange information with the <a>user agent</a> while the
user is providing input before approving or denying a payment request.
(e.g., by activating a "Buy," "Purchase," or "Checkout" button on a web
site, selecting a "Power Up" in an interactive game, or paying at a
kiosk in a parking structure). The <a>PaymentRequest</a> allows the web
page to exchange information with the <a>user agent</a> while the user
is providing input before approving or denying a payment request.
</p>
<p data-link-for="PaymentRequest">
The <a>shippingAddress</a>, <a>shippingOption</a>, and
Expand Down Expand Up @@ -288,11 +296,11 @@ <h2>
const methodData = [{
supportedMethods: ["basic-card"],
data: {
supportedNetworks: ['aFamousBrand', 'aDebitNetwork'],
supportedNetworks: ['visa, 'mastercard'],
supportedTypes: ['debit']
}
}, {
supportedMethods: ["bobpay.com"],
supportedMethods: ["https://example.com/bobpay"],
data: {
merchantIdentifier: "XXXX",
bobPaySpecificField: true
Expand Down