zipMoney/merchantapi-ruby

ZipMoney::Shopper phone number regex error

Opened this issue · 0 comments

zhuwu commented

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.