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

Expirating Date validation #8

Closed
renannery opened this issue Apr 19, 2016 · 3 comments
Closed

Expirating Date validation #8

renannery opened this issue Apr 19, 2016 · 3 comments

Comments

@renannery
Copy link

Congrats for the library, I really like the idea to bring some reality to android views.

I've been working on mCommerces companies for a while and I'd like to share a situation that I was face in this field.

We, as android developers or client developer, can not block the user to input a expired date in the field. This is a kind of business logic that should be handle in the backend. Sometimes the payment brand (visa, amex, mastercard, etc) will accept the purchase, even if the credit card is already expired.

@sharish
Copy link
Owner

sharish commented Apr 20, 2016

Thanks Renannery for bringing in to the notice and I understand it will be business requirement whether to block/allow validation on cards. I will make changes to include additional flags to control validation.

Thanks,
Harish

sharish added a commit that referenced this issue Apr 20, 2016
added optional validation for expiry check. -
#8
@sharish
Copy link
Owner

sharish commented Apr 20, 2016

Fixed in fb660a1 and README is updated here : 5b534a3

@renannery
Copy link
Author

👍

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

2 participants