Title: Postal code not valid error in Chrome
Last modified: March 5, 2020

---

# Postal code not valid error in Chrome

 *  Resolved [dinodesigns87](https://wordpress.org/support/users/dinodesigns87/)
 * (@dinodesigns87)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/postal-code-not-valid-error-in-chrome/)
 * Hi,
 * I have customers reporting that they are getting a ‘Postal code not valid error’
   validation error when submitting their details on the checkout.
 * I notice there is a second Postal code field under the card details fields (which
   has a .hidden class but no CSS to actually hide it in v2.1.0 of the plugin), 
   which automatically pulls in the value from the standard Billing Postcode box
   in the address fields.
 * After testing in a few browsers, Firefox automatically triggers updates the value
   in the Postal code upon a change to the Billing Postcode (and plays the fade 
   out/spinny wheel animation over the payment form), however Chrome does not on
   desktop or mobile (also Brave browser which uses the same rendering engine).
 * Chrome does however trigger the update if you click the ‘Deliver to a different
   address’ checkbox or if you trigger an autocomplete on any of the form fields.
 * Filling the form in regularly in Chrome doesn’t trigger the Postal Code value
   to update so the hidden field is left empty.
 * So submitting the form is causing the ‘Postal code not valid’ due to the empty
   hidden field but customers will generally be checking the standard Billing Postcode
   field for errors (which will be fine) and abandoning the checkout.
 * Please could this be addressed in the next version of the plugin and a temporary
   fix provided to patch the current version.
 * Ideally, this second Postal code box needs hiding to avoid any confusion and 
   updating in the background upon any change to the Billing Postcode field.
 * Thanks,
 * Paul
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fpostal-code-not-valid-error-in-chrome%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Support [slash1andy](https://wordpress.org/support/users/slash1andy/)
 * (@slash1andy)
 * Automattic Happiness Engineer
 * [6 years, 3 months ago](https://wordpress.org/support/topic/postal-code-not-valid-error-in-chrome/#post-12533629)
 * Hey there!
 * This is likely caused by a conflict with your theme or with another plugin.
 * The best way to determine if the issue is being caused by a theme and/or plugin
   is to temporarily switch your theme to Storefront ([https://woocommerce.com/storefront/?aff=10486&cid=1131038](https://woocommerce.com/storefront/?aff=10486&cid=1131038))
   and disable all plugins except for WooCommerceand Square (I personally recommend
   using Health Check below). Finally, test to see if the issue is resolved by checking
   out using Chrome.
 * To figure out which plugin is causing the problem, continue to the next step –
   reactivate your other plugins one by one, testing after each, until you find 
   the one causing conflict.
 * Here’s a more extensive explanation in our docs: [https://docs.woocommerce.com/document/how-to-test-for-conflicts/](https://docs.woocommerce.com/document/how-to-test-for-conflicts/)
 * —–
 * Tools to help you troubleshoot:
 * and switch themes for that session without impacting your users. Link: [https://wordpress.org/plugins/health-check/](https://wordpress.org/plugins/health-check/)
 * You can clone your site to a staging environment and perform tests without modifying
   your live site or impacting customers. Many hosts provide staging facilities,
   so it’s worth checking in with them. It’s also possible to do it using the free
   WP Staging plugin. Link: [https://wordpress.org/plugins/wp-staging/](https://wordpress.org/plugins/wp-staging/)
 *  Plugin Support [slash1andy](https://wordpress.org/support/users/slash1andy/)
 * (@slash1andy)
 * Automattic Happiness Engineer
 * [6 years, 2 months ago](https://wordpress.org/support/topic/postal-code-not-valid-error-in-chrome/#post-12599483)
 * We haven’t heard back from you in a while, so I’m going to mark this as resolved–
   if you have any further questions, you can start a new thread.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Postal code not valid error in Chrome’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce-square/assets/icon-256x256.png?rev=3234354)
 * [WooCommerce Square](https://wordpress.org/plugins/woocommerce-square/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-square/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-square/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-square/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-square/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-square/reviews/)

## Tags

 * [chrome](https://wordpress.org/support/topic-tag/chrome/)
 * [Postal Code](https://wordpress.org/support/topic-tag/postal-code/)
 * [postcode](https://wordpress.org/support/topic-tag/postcode/)
 * [validation](https://wordpress.org/support/topic-tag/validation/)

 * 2 replies
 * 2 participants
 * Last reply from: [slash1andy](https://wordpress.org/support/users/slash1andy/)
 * Last activity: [6 years, 2 months ago](https://wordpress.org/support/topic/postal-code-not-valid-error-in-chrome/#post-12599483)
 * Status: resolved