MDVA-32012 patch: S. Korean and Argentina zip codes validation
The MDVA-32012 patch solves the issue where Argentine and South Korean zip codes are not validating, due to changes or variation in national postal code formats. South Korean zip codes are now required to be 5-digits, whereas previously they were 6-digits. Argentine zip codes can be both numeric and alphanumeric. The MDVA-32012 patch means that these formats for postal code values will validate for these countries. This patch is available when the Quality Patches Tool (QPT) 1.0.9 is installed. Please note that the issue is scheduled to be fixed in Adobe Commerce version 2.4.2.
Affected products and versions
- The patch was designed for Adobe Commerce on cloud infrastructure 2.3.5.
- The patch is also compatible with the following Adobe Commerce versions: Adobe Commerce on cloud infrastructure and Adobe Commerce on-premises 2.3.0 - 2.4.1.
The patch might become applicable to other versions with new Quality Patches Tool releases. To check if the patch is compatible with your Adobe Commerce version, update the
magento/quality-patches package to the latest version and check the compatibility on the QPT landing page. Use the patch ID as a search keyword to locate the patch.
Inputting a 5-digit South Korean or alphanumeric Argentine zip codes produces a warning:
Provided Zip/Postal Code seems to be invalid. Example: [1234 (if inputted an alphanumeric Argentine address)] or [123-456 (if inputted a 5-digit South Korean address)]. If you believe it is the right one you can ignore this notice.
Steps to reproduce:
- Open the storefront.
- Add item to cart.
- Process to checkout.
- Add a new address with South Korea for the country and input a 5-digit zip code or add a new address with Argentina for the country and input an alphanumeric zip code.
- Try to save.
Address should save without warning.
Saving address returns warning.
Apply the patch
To apply individual patches, use the following links depending on your deployment method:
To learn more about Quality Patches Tool, refer to:
For info about other patches available in QPT, refer to the Patches available in QPT in our developer documentation.