From 54c583986048ad56d8e1ae32b2eacd593183d54d Mon Sep 17 00:00:00 2001
From: mattsaxon Payment Method Response
BasicCardResponse
dictionary BasicCardResponse {
- required DOMString nameOnCard;
- required DOMString pan;
+ required DOMString cardHolderName;
+ required DOMString cardNumber;
required DOMString expiryMonth;
required DOMString expiryYear;
- DOMString securityCode;
-
+ DOMString cardSecurityCode;
+ DOMString startMonth;
+ DOMString startYear;
+ DOMString issueNumber;
+
BillingAddress? billingAddress;
};
@@ -179,28 +182,34 @@ BasicCardResponse
nameOnCardnameOnCard field contains the card holder's name as it appears on the card.panpan field contains the card number or primary account number (PAN) for the payment card.cardHolderNamecardHolderName field contains the card holder's name as it appears on the card.cardNumbercardNumber field contains the primary account number (PAN) for the payment card.expiryMonthexpiryMonth field contains a two-digit string for the expiry month
of the card in the range 01 to 12.expiryYearexpiryYear field contains a two-digit string for the expiry year
of the card in the range 00 to 99.securityCodesecurityCode field contains a three or four digit string for the
- security code of the card (e.g. sometimes known as the CVV, CVC, or CID).cardSecurityCodecardSecurityCode field contains a three or four digit string for the
+ security code of the card (e.g. sometimes known as the CVV, CVC, CVN, CVE or CID).startMonthstartMonth field contains a two-digit string for the start month
+ of the card in the range 01 to 12.startYearstartYear field contains a two-digit string for the start year
+ of the card in the range 00 to 99.issueNumberissueNumber field contains a two-digit string for the start year
+ of the card in the range 00 to 99.| Identifier String | Description |
|---|---|
| visa | VISA cards |
| ... | ... |
cardHolderNamecardHolderName field contains the card holder's name as it appears on the card.cardholderNamecardholderName field contains the cardholder's name as it appears on the card.cardNumbercardNumber field contains the primary account number (PAN) for the payment card.expiryMonth00 to 99.
cardSecurityCodecardSecurityCode field contains a three or four digit string for the
- security code of the card (e.g. sometimes known as the CVV, CVC, CVN, CVE or CID).startMonthstartMonth field contains a two-digit string for the start month
@@ -205,8 +210,7 @@ startYear field contains a two-digit string for the start year
of the card in the range 00 to 99.issueNumberissueNumber field contains a two-digit string for the start year
- of the card in the range 00 to 99.issueNumber field contains a one or two digit string from the issue number from the card
dictionary BasicCardResponse {
- required DOMString cardHolderName;
+ required DOMString cardholderName;
required DOMString cardNumber;
required DOMString expiryMonth;
required DOMString expiryYear;
From 0d3df4677488edf7db40b357ebfd5bbf5f4170df Mon Sep 17 00:00:00 2001
From: mattsaxon
Date: Sun, 6 Mar 2016 19:08:22 +0000
Subject: [PATCH 4/6] Fixed incorrect issue reference
---
specs/paymentrequest.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/specs/paymentrequest.html b/specs/paymentrequest.html
index aa33d8c9..92296ef1 100644
--- a/specs/paymentrequest.html
+++ b/specs/paymentrequest.html
@@ -341,7 +341,7 @@ PaymentRequest constructor
currently described in the specification.
-
+
There is an open issue about whether the API should handle occasions when a site wants to request a payment
method but not actually make a charge immediately. These may include identification validation, pre-auth
for a deposit, pre-auth for a later payment, making recurring payments, and more.
From 78fa9399fd164be96dfcdbe1913153b454f01c5f Mon Sep 17 00:00:00 2001
From: mattsaxon
Date: Fri, 11 Mar 2016 11:33:13 +0000
Subject: [PATCH 5/6] Removed Maestro specific fields
---
specs/basic-card-payment.html | 14 --------------
1 file changed, 14 deletions(-)
diff --git a/specs/basic-card-payment.html b/specs/basic-card-payment.html
index 4ee582b3..d996fc36 100644
--- a/specs/basic-card-payment.html
+++ b/specs/basic-card-payment.html
@@ -174,9 +174,6 @@ BasicCardResponse
required DOMString expiryMonth;
required DOMString expiryYear;
DOMString cardSecurityCode;
- DOMString startMonth;
- DOMString startYear;
- DOMString issueNumber;
BillingAddress? billingAddress;
};
@@ -201,17 +198,6 @@ BasicCardResponse
The cardSecurityCode field contains a three or four digit string for the
security code of the card (sometimes known as the CVV, CVC, CVN, CVE or CID).
- For certain debit cards, the following fields are used
-
- startMonth
- The startMonth field contains a two-digit string for the start month
- of the card in the range 01 to 12.
- startYear
- The startYear field contains a two-digit string for the start year
- of the card in the range 00 to 99.
- issueNumber
- The issueNumber field contains a one or two digit string from the issue number from the card
-
From b273a2254608e196c1a0d82c42b834809eab8d72 Mon Sep 17 00:00:00 2001
From: mattsaxon
Date: Wed, 16 Mar 2016 21:08:04 +0000
Subject: [PATCH 6/6] Added UnionPay as a payment method identifier
---
specs/basic-card-payment.html | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/specs/basic-card-payment.html b/specs/basic-card-payment.html
index d996fc36..70810cbc 100644
--- a/specs/basic-card-payment.html
+++ b/specs/basic-card-payment.html
@@ -147,9 +147,10 @@ Payment Method Identifier
amex American Express
discover Discover
maestro Maestro
- diner Diners Club
+ diners Diners Club
jcb JCB
-
+ unionpay Union Pay
+