Title: Zip Code Field Problem
Last modified: December 11, 2024

---

# Zip Code Field Problem

 *  Resolved [janak5](https://wordpress.org/support/users/janak5/)
 * (@janak5)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/zip-code-field-problem/)
 * Hi, I’m in the UK and 99% of our orders are from UK customers. I’m testing at
   the moment and where you enter card details , expiry date and CVV there is a 
   Zip Code field which is causing a problem. It won’t accept a UK postcode, it 
   will only accept 5 digits and won’t let you proceed without entering 5 digits.
   This looks unprofessional to users and may stop us using Square.
    1. How can this be removed or made non mandatory?
    2. In testing I can enter any 5 digits and the transaction gets processed by Square–
       will this be the same for live transactions for UK addresses, just enter anything
       and it will get processed ok?
 * I hope you can help as I really want to use Square. Thank you

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

 *  Plugin Support [shahzeen(woo-hc)](https://wordpress.org/support/users/shahzeenfarooq/)
 * (@shahzeenfarooq)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/zip-code-field-problem/#post-18193865)
 * Hi there!
 * I understand your concern. Please note that postcodes are used as an additional
   form of security to verify that the card is being used by the cardholder or an
   authorized person. If the country code for the targeted location is the United
   States (US), Canada (CA), or the United Kingdom (GB), you **must not** remove
   the postal code requirement. Doing so will result in all credit card transactions
   being declined. You can read more about this here:
   [Square Developer Documentation – Disable Postal Code](https://developer.squareup.com/docs/in-app-payments-sdk/cookbook/disable-postal-code)
 * Regarding the issue with the postal code, if entering a random 5-digit postal
   code allows the transaction to proceed, it could be a plugin conflict or another
   issue.
 * For testing purposes, could you please create a staging site, deactivate all 
   plugins except for WooCommerce and the Square plugin, and activate a default 
   theme like Storefront? This will help determine if the issue is related to any
   plugin or theme conflict. For more details on how to run a conflict test you 
   can use this article. [https://woocommerce.com/document/how-to-test-for-conflicts/](https://woocommerce.com/document/how-to-test-for-conflicts/)
 * If the issue persists, could you please share the URL of the staging site so 
   we can investigate further and assist you accordingly?
 *  Thread Starter [janak5](https://wordpress.org/support/users/janak5/)
 * (@janak5)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/zip-code-field-problem/#post-18200645)
 * Hi, when I ran my tests on a test system I was using a test credit card number
   every time and got the Zip Code field appearing. When I entered my own real UK
   credit card (I didn’t submit of course) the Zip code field wasn’t there.
 * Can I assume that whether the zip code comes up is dependent on the card details
   entered? ie what country card is from?
 *  [Reynier (a11n)](https://wordpress.org/support/users/reynierc/)
 * (@reynierc)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/zip-code-field-problem/#post-18200750)
 * Hi [@janak5](https://wordpress.org/support/users/janak5/)
 * Thanks for getting back to us. You’re correct, the appearance of the Zip Code
   field can indeed depend on the card details entered, particularly the country
   associated with the card. If using a UK-based card, the system typically recognizes
   this and adjusts the fields accordingly, which is why you didn’t see the Zip 
   Code field with your own card.
 * It’s good to hear the system is working correctly with your actual UK card. If
   you experience issues or have any concerns when going live please let us know.

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

The topic ‘Zip Code Field Problem’ 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/)

 * 3 replies
 * 3 participants
 * Last reply from: [Reynier (a11n)](https://wordpress.org/support/users/reynierc/)
 * Last activity: [1 year, 5 months ago](https://wordpress.org/support/topic/zip-code-field-problem/#post-18200750)
 * Status: resolved