2.2.0
Added
- Ability to enable Pan formatting by calling
enablePanFormatting()
when buildingCardValidationConfig
Changed
- All Pans that are entered will be formatted by default. All card brands except for Amex will be formatted as
XXXX-XXXX-XXXX-XXXX
. Amex will be formatted asXXXX-XXXXXX-XXXXX
. - Sanitise
BaseUrl
configuration value to remove trailing forward slashes, so thathttp://localhost/
becomeshttp://localhost