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

Add cardholder name #1

Merged
merged 6 commits into from
Nov 18, 2015
Merged

Add cardholder name #1

merged 6 commits into from
Nov 18, 2015

Conversation

mgroger2
Copy link

No description provided.

// Globalization: alphanumeric, space, hyphen are all definitely okay;
// there's no compelling reason for us to get fussy here.
self.numbersOnly = NO;
self.maxLength = 175; // PayPal REST APIs accept max of 175 chars for cardholder name

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be defined as a constant?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree that it should be a constant, but, again, this is strictly following their style (of not using constants). I think I'll do what Dan did, and after this branch gets merged, make another PR for Card.io that cleans up their code and implements constants.

martinrybak added a commit that referenced this pull request Nov 18, 2015
@martinrybak martinrybak merged commit 121f328 into master Nov 18, 2015
This pull request was closed.
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

Successfully merging this pull request may close these issues.

3 participants