When using the Card Expiration field, validation will fail if the card is expiring this month. Documentation on Credit Cards indicate that the card will be good until the end of the expiration month. Eg: https://wallethub.com/answers/cc/does-a-credit-card-expire-at-the-beginn...

This was correct in the D7 version of the module.

CommentFileSizeAuthor
#2 creditfield-3158929-date-validation-2.patch850 bytesthreeg

Comments

threeg created an issue. See original summary.

threeg’s picture

Status: Active » Needs review
StatusFileSize
new850 bytes
kevinquillen’s picture

Assigned: Unassigned » kevinquillen
kevinquillen’s picture

Thanks, I will take a look.

kevinquillen’s picture

Good catch. Dev has been updated, and I adjusted the tests to account for this.

  • kevinquillen committed 727c194 on 8.x-1.x
    Issue #3158929 by threeg, kevinquillen: Date validation fails for...
kevinquillen’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.