jessepollak / jessepollak/card
Card number formatting for card numbers with length >16 is broken
- Dominant language
- SCSS
- Stars
- 11.7k
- Forks
- 1.5k
- PR merge metrics
- No merged PRs in 30d
Description
Not sure if this is intentional or not. However when I enter a visa card number i can enter 3 digits more (total of 19) than should be allowed ? (16). Is there a reason for this?
This doesn't happen on mastercard numbers or amex etc.
Screenshot from your demo site:

Contributor guide
Research direction
Start by reproducing the Visa card-number behavior on the demo site and tracing the card-number formatting path in the repository. Done means Visa input no longer accepts more than 16 digits while Mastercard and Amex formatting remain unchanged.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, jquery
- Domain
- frontend, payments
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100