Skip to content

[FR]: Support for detecting Troy Card #179

@ashuvssut

Description

@ashuvssut

Feature Summary

Do you think we should include Troy card?

I found this card type from here:- https://github.com/medipass/react-payment-inputs/pull/100/changes

  {
    displayName: 'Troy',
    type: 'troy',
    format: /(\d{1,4})/g,
    startPattern: /^9792/,
    gaps: [4, 8, 12],
    lengths: [16],
    code: {
      name: 'CVV',
      length: 3
    }
  }

Detailed description of new feature.

I am looking for libraries with robust validators covering as many cards as possible. So let me know if having a validator for Troy Card is a good idea or not. (I am not sure about this)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions