Skip to content

2co.js should check if params are parsed before parsing #3

Description

@bennypowers

2co.js' requestToken method aggressively parses it's params. If the client passes credit card or cvv number as type Number, the library will fail:

a.cvv.replace is not a function

2co.js should check if params are of type Number before parsing, then validate.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions