Comments (7)
I just tested JCB card number and it passes validation
from credit-card.
from credit-card.
It's failing due to the spaces. Will release fix
from credit-card.
hmmm, I do not know if it's correct to trim all spaces before validation. Does stripe or other providers except credit card numbers with spaces?
from credit-card.
VISA card is working good, even with the space
from credit-card.
Its really strange, we even have this card number in our tests and it's passing: https://github.com/laravel-validation-rules/credit-card/blob/master/tests/Unit/Cards/JcbTest.php#L19
from credit-card.
I have decided to eliminate the spaces before validating and everything works perfect, thank you very much
from credit-card.
Related Issues (20)
- How to customize validation message from Form Request ? HOT 2
- Added new cards HOT 1
- Problems validating the month
- Card Number Validator is not working
- Hipercard not work HOT 2
- how to customise validation message? HOT 4
- wrong rules for validation
- Laravel 6.0 HOT 3
- Add laravel 7 support HOT 1
- Custom message without translation HOT 2
- How to validate an flag?
- please add php 8 support HOT 2
- PHP8 support HOT 1
- ELO mais brand cvv invalid HOT 1
- There is no way to set `MM/YY` format for CardExpirationDate HOT 3
- There is no way to set message of new CardExpirationDate('m/y') class
- Custom Message HOT 2
- [Welling To Contribute] Laravel 10 support HOT 1
- Package is not working with Laravel 11 HOT 1
- How can get card brand? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from credit-card.