From da2d452fc842e25ebfa9597fa5fa7071d33a161b Mon Sep 17 00:00:00 2001 From: Ian Jacobs Date: Tue, 3 Jan 2017 10:37:15 -0600 Subject: [PATCH 1/3] Add section on merchantID --- proposals/method-practice/index.html | 48 ++++++++++++++++++++++------ 1 file changed, 38 insertions(+), 10 deletions(-) diff --git a/proposals/method-practice/index.html b/proposals/method-practice/index.html index 52ef8f9..a93cdf8 100644 --- a/proposals/method-practice/index.html +++ b/proposals/method-practice/index.html @@ -192,18 +192,46 @@

User Experience

- +
+

Identity

+
+

Security and Privacy

-

It is important to protect user data and ensure that - it is exchanged securely throughout the network.

-

Authors of payment method specifications may wish to address topics such as:

- +
+

Considerations in Payment Method Specifications

+

It is important to protect user data and ensure that + it is exchanged securely throughout the network.

+

Authors of payment method specifications may wish to address topics such as:

+
    +
  • tokenization of information in the payment response
  • +
  • topics that may vary by regulatory regime, such as whether + data may be stored by a payment app.
  • +
  • links for developers to relevant rules defined for the payment method
  • +
+
+
+

Payee Identity

+

Origin information plays an important role on the Web in identifying the payee. In some use cases, origin information may be necessary but insufficient to identify the payee, including:

+
    +
  • On hosted checkout pages, and
  • +
  • when a site otherwise provides services for multiple merchants.
  • +
+ +

In these cases, it may be useful to provide a "merchantID" in the data field of the payment request. Payment method specific data offers one way to avoid identifier conflicts across payment methods:

+ +
+	    new PaymentRequest(
+              [{
+              supportedMethods: ["https://example.com/method1"],
+              data: {merchantId: "1234567890"}
+           }, {
+              supportedMethods: ["https://example.com/method2"],
+              data: {merchantId: "ASDFGHJKL"}
+            }], shoppingCart).show();
+           
+ +
From 8b5e4b3817568c90e7224543de035ed1e9180688 Mon Sep 17 00:00:00 2001 From: Ian Jacobs Date: Tue, 3 Jan 2017 10:38:29 -0600 Subject: [PATCH 2/3] Deleted unused section --- proposals/method-practice/index.html | 4 ---- 1 file changed, 4 deletions(-) diff --git a/proposals/method-practice/index.html b/proposals/method-practice/index.html index a93cdf8..86a1daf 100644 --- a/proposals/method-practice/index.html +++ b/proposals/method-practice/index.html @@ -192,10 +192,6 @@

User Experience

-
-

Identity

-
-

Security and Privacy

From bbbe966890d032498dc84b60242e8f804e96791f Mon Sep 17 00:00:00 2001 From: Ian Jacobs Date: Wed, 11 Jan 2017 17:19:00 -0600 Subject: [PATCH 3/3] New shell for Direct Debit --- proposals/direct-debit/CONTRIBUTING.md | 25 +++++ proposals/direct-debit/LICENSE.md | 2 + proposals/direct-debit/README.md | 9 ++ proposals/direct-debit/index.html | 150 +++++++++++++++++++++++++ proposals/direct-debit/w3c.json | 5 + 5 files changed, 191 insertions(+) create mode 100644 proposals/direct-debit/CONTRIBUTING.md create mode 100644 proposals/direct-debit/LICENSE.md create mode 100644 proposals/direct-debit/README.md create mode 100644 proposals/direct-debit/index.html create mode 100644 proposals/direct-debit/w3c.json diff --git a/proposals/direct-debit/CONTRIBUTING.md b/proposals/direct-debit/CONTRIBUTING.md new file mode 100644 index 0000000..0f4fdcc --- /dev/null +++ b/proposals/direct-debit/CONTRIBUTING.md @@ -0,0 +1,25 @@ +# Web Payments Working Group + +Contributions to this repository are intended to become part of Recommendation-track documents +governed by the [W3C Patent Policy](http://www.w3.org/Consortium/Patent-Policy-20040205/) and +[Document License](http://www.w3.org/Consortium/Legal/copyright-documents). To contribute, you must +either participate in the relevant W3C Working Group or make a non-member patent licensing + commitment. + +If you are not the sole contributor to a contribution (pull request), please identify all +contributors in the pull request's body or in subsequent comments. + + To add a contributor (other than yourself, that's automatic), mark them one per line as follows: + + ``` + +@github_username + ``` + + If you added a contributor by mistake, you can remove them in a comment with: + + ``` + -@github_username + ``` + + If you are making a pull request on behalf of someone else but you had no part in designing the + feature, you can remove yourself with the above syntax. diff --git a/proposals/direct-debit/LICENSE.md b/proposals/direct-debit/LICENSE.md new file mode 100644 index 0000000..6b9ee26 --- /dev/null +++ b/proposals/direct-debit/LICENSE.md @@ -0,0 +1,2 @@ +All documents in this Repository are licensed by contributors under the [W3C Document +License](http://www.w3.org/Consortium/Legal/copyright-documents). diff --git a/proposals/direct-debit/README.md b/proposals/direct-debit/README.md new file mode 100644 index 0000000..50809b0 --- /dev/null +++ b/proposals/direct-debit/README.md @@ -0,0 +1,9 @@ + +# Direct Debit Transfer Payment +## A Payment Method Specification + +This repository contains a draft specification from the [W3C Web Payments Working Group](https://www.w3.org/Payments/WG/). + +This is a Payment Method Specification that describes the __Direct Debit Payment Method__. + +The editor's draft is available at: https://w3c.github.io/webpayments/proposals/direct-debit/index.html diff --git a/proposals/direct-debit/index.html b/proposals/direct-debit/index.html new file mode 100644 index 0000000..1165590 --- /dev/null +++ b/proposals/direct-debit/index.html @@ -0,0 +1,150 @@ + + + + Direct Debit Transfer Payment + + + + + + +
+

This specification is a Payment Method specification for use with the PaymentRequest API [PAYMENT-REQUEST-API]. With it, merchants and payers can exchange information required for credit transfers across a variety of payment systems. +

+
+ +
+

+ The working group maintains a list of all bug reports that the group has not yet addressed. +

+
+ +
+

Introduction

+

This specification is a Payment Method Specification used by the PaymentRequest API [[!PAYMENTREQUESTAPI]] to support payment by direct debit.

+ +
+ +
+

Dependencies

+

+ This specification relies on several other underlying specifications. +

+
+
Payment Request API
+
The term PaymentRequest constructor is defined by the PaymentRequest API + specification [[!PAYMENTREQUESTAPI]].
+
Payment Method Identifiers
+
The term Payment + Method Identifier is defined by the Payment Method Identifiers specification + [[!METHODIDENTIFIERS]].
+
Web IDL
+
The IDL in this specification is defined by Web IDL [[!WEBIDL]].
+
ISO 3611
+
Country codes defined in [[!ISO3166-2]] are used by merchants as a filter for indicating the countries from which they accept credit transfers.
+
+
+ +
+

Payment Method Identifier

+

The payment method identifier string for the Direct Debit Payment method is direct-debit.

+
+ +
+

Payment Method Specific Data for the PaymentRequest constructor

+

This section describes payment method specific data that is supplied as part of the data argument to the PaymentRequest constructor.

+ +
+

DirectDebitRequest

+
+
+ +
+

Payment Method Response

+ +

The DirectDebitResponse dictionary + contains the response from the PaymentRequest API when a user accepts payment by the direct debit payment method.

+ +
+

DirectDebitResponse

+
+
+ +
+

Appendix: Design Considerations

+

The following are design considerations for this specification.

+
    +
  • @@@
  • +
+
+ +
+

Acknowledgments

+

Laurent Castillo (Gemalto), Kris Ketels (Swift), Vincent Kuntz (Swift), Frédéric Meignien (Canton Consulting).

+
+ + diff --git a/proposals/direct-debit/w3c.json b/proposals/direct-debit/w3c.json new file mode 100644 index 0000000..8c093b2 --- /dev/null +++ b/proposals/direct-debit/w3c.json @@ -0,0 +1,5 @@ + { + "group": ["83744"] +, "contacts": ["ianbjacobs"] +, "shortName": "webpayments-methods-credit-transfer-direct-debit" +} \ No newline at end of file