W3C home > Mailing lists > Public > public-payments-wg@w3.org > February 2017

[w3c/webpayments] [Tokenized Card Payment] Replace usage of 'last4' with 'suffix' (#211)

From: Nick Shearer <notifications@github.com>
Date: Mon, 13 Feb 2017 18:00:02 -0800
To: w3c/webpayments <webpayments@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Message-ID: <w3c/webpayments/issues/211@github.com>
_Ian requested some feedback on this proposal, which I am happy to provide. Note that my feedback should not be taken as an endorsement of the proposal itself._

In https://w3c.github.io/webpayments/proposals/tokenized_cards.html#response

```
dictionary TokenizedCardResponse : BasicCardResponse {
    required DOMString cardLast4;
             DOMString tokenType;
             DOMString tokenRequesterId;
};
```

Although many cards and networks sanitize to the last four digits, there are some edge cases where that doesn't happen. I would recommend renaming this to something along the lines of `cardSuffix`.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webpayments/issues/211
Received on Tuesday, 14 February 2017 02:00:38 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:43:24 UTC