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

Why are payment ids restricted to [a-z0-9]? #20

Closed
stevenatkin opened this issue Jan 5, 2017 · 2 comments
Closed

Why are payment ids restricted to [a-z0-9]? #20

stevenatkin opened this issue Jan 5, 2017 · 2 comments

Comments

@stevenatkin
Copy link

4.1 Syntax
https://w3c.github.io/webpayments-method-identifiers/#syntax-1

Is there a specific requirement that identifiers be restricted to [a-z0-9-]? Are there any international card issuers that may require characters outside this range?

@ianbjacobs
Copy link
Contributor

Hi Steve,

I'm not aware that we've encountered any.

Also, these strings are intended for automated matching and so are not intended for humans to read. They will most likely never be seen by users.

Ian

@marcoscaceres
Copy link
Member

This seems wrong for URLs. There are effectively two types:

  • URLs, which are USVString
  • Predefined enum values (e.g., "basic-card")

We should make sure the spec reflects this properly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants