Skip to content

ZipMoney::Shopper phone number regex error #1

@zhuwu

Description

@zhuwu

Currently the phone number validation regex in ZipMoney::Shopper class is /^\\+?[\\d\\s]+$/. The correct regex should be /^\+?[\d\s]+$/.

Line 155, 175 and 187 were affected by the wrong regex in the current master branch.

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