Please sign in to comment.
Fix expire date validation so it allows cards expiring in the current…
… year. The current implementation has a bug when validating the expire date for cards expiring later in the current year. Added a condition to pass validation when year == currentYear and month >= currentMonth.
- Loading branch information...
Showing with 6 additions and 4 deletions.