Skip to content

Checkout Address Validation Does Not Allow Period Character in City Field #40280

@matthewdolman-afd

Description

@matthewdolman-afd

Preconditions and environment

  • Magento version: 2.4.8

Steps to reproduce

  • Add item to cart, go to checkout
  • Input a UK address with the city set to "St. Albans"
  • Try to place the order

Expected result

Order is placed successfully

Actual result

Error message shown that says "Invalid City. Please use A-Z, a-z, 0-9, -, ', spaces".

Additional information

"St. Albans" is a valid UK town name and it appears like this in the Royal Mail Postcode Address File (PAF), which is the definitive UK address database. For services that are validating addresses against PAF this requirement either stops the checkout process or causes invalid address data to be collected.

Release note

Address towns can now contain . character.

Triage and priority

  • Severity: S0 - Affects critical data or functionality and leaves users without workaround.
  • Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
  • Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
  • Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
  • Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.

Metadata

Metadata

Labels

Issue: needs updateAdditional information is require, waiting for responseReported on 2.4.8Indicates original Magento version for the Issue report.

Type

No type

Projects

Status

Needs Update

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions