Title: Disable Zipcode Validation?
Last modified: August 28, 2023

---

# Disable Zipcode Validation?

 *  Resolved [visnucarr](https://wordpress.org/support/users/visnucarr/)
 * (@visnucarr)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/disable-zipcode-validation/)
 * Hello!
 * Using WC Blocks cart/checkout has mostly been great for my new site. However,
   at least once a week or more a customer complains they cannot checkout because
   it tells them zipcode does match and cannot proceed. How can this be disabled
   or adjusted? I still want them to enter zipcodes, just not force a validation.
 * I sell a lot in USA, but also to Canada and general international, i.e, Europe,
   Australia and so on. Is there some code I add to my function.php to disable or
   adjust this? Or is there an admin setting somewhere I am missing? Thanks a lot.

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

 *  [Saif](https://wordpress.org/support/users/babylon1999/)
 * (@babylon1999)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/disable-zipcode-validation/#post-17019422)
 * Hello [@visnucarr](https://wordpress.org/support/users/visnucarr/),
   Thank you
   for reaching out!According to this [thread](https://wordpress.org/support/topic/postcode-make-it-optional-on-checkout-block/),
   you can make the field optional by targeting certain countries.I’m not sure if
   the following approach will work, it should make the field optional in all countries
   in the mentioned [list](https://github.com/woocommerce/woocommerce-blocks/blob/15864078373373c7c53bbb1e21e34f7822c89e0b/assets/js/base/components/cart-checkout/address-form/country-address-fields.js#L274-L279):
   Can you please try it?
 *     ```wp-block-code
       add_filter(
           'woocommerce_get_country_locale',
           function ($countries) {
               foreach ($countries as $country_code => $country_data) {
                   $countries[$country_code]['postcode'] = array(
                       'hidden'   => false,
                       'required' => false,
                   );
               }
               return $countries;
           },
           1,
           1
       );
       ```
   
 * Let us know how it goes!
 *  Thread Starter [visnucarr](https://wordpress.org/support/users/visnucarr/)
 * (@visnucarr)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/disable-zipcode-validation/#post-17030979)
 * Hello!
 * Thanks for the code. While it does indeed make the Zipcode field (Optional), 
   it doesn’t seem to disable the validation. If I input a wrong zip code, say wrong
   one for shipping but correct for billing it will flag as wrong and prevent checkout.
   It seems to do this with Ajax, as it doesn’t require a page load, and the error
   message disappears as soon as you enter a correct zipcode.
 *  Plugin Support [Gabriel – a11n](https://wordpress.org/support/users/gabrielfuentes/)
 * (@gabrielfuentes)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/disable-zipcode-validation/#post-17041673)
 * Hello there! Natively, WooCommerce does not have zipcode validation beyond matching
   up with the Shipping Zone. So, it seems that this issue might be coming from 
   a payment gateway.
 * So, could you share a copy of your site’s System Status Report with us?
    You’ll
   find it at the top of the page under **WooCommerce > Status > Get system report
   > Download for support (after you scroll down a bit)**. Once you have the System
   Status Report file, please attach it to your reply.
 *  Thread Starter [visnucarr](https://wordpress.org/support/users/visnucarr/)
 * (@visnucarr)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/disable-zipcode-validation/#post-17048039)
 * Hello Gabriel! Thanks for replying. here is my system report. I don’t see a way
   to attach the downloaded file, so will have to copy it in here.
 *     ```wp-block-code
       ` WordPress Environment
   
       WordPress address (URL): https://www.vermontlanterns.com<br>Site address (URL): https://www.vermontlanterns.com<br>WC Version: 8.0.2<br>REST API Version: ✔ 8.0.2<br>WC Blocks Version: ✔ 10.8.3<br>Action Scheduler Version: ✔ 3.6.1<br>Log Directory Writable: ✔<br>WP Version: ❌ 6.2.2 - There is a newer version of WordPress available (6.3.1)<br>WP Multisite: –<br>WP Memory Limit: 512 MB<br>WP Debug Mode: –<br>WP Cron: ✔<br>Language: en_US<br>External object cache: – Server Environment
   
       Server Info: Apache<br>PHP Version: 8.0.30<br>PHP Post Max Size: 152 MB<br>PHP Time Limit: 300<br>PHP Max Input Vars: 1000<br>cURL Version: 7.61.1<br>OpenSSL/1.1.1k
   
       SUHOSIN Installed: –<br>MySQL Version: 10.3.35-MariaDB<br>Max Upload Size: 50 MB<br>Default Timezone is UTC: ✔<br>fsockopen/cURL: ✔<br>SoapClient: ✔<br>DOMDocument: ✔<br>GZip: ✔<br>Multibyte String: ✔<br>Remote Post: ✔<br>Remote Get: ✔ Database
   
       WC Database Version: 8.0.2<br>WC Database Prefix: vtl_<br>Total Database Size: 894.52MB<br>Database Data Size: 503.98MB<br>Database Index Size: 390.54MB<br>vtl_woocommerce_sessions: Data: 0.11MB + Index: 0.02MB + Engine InnoDB<br>vtl_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>vtl_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>vtl_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>vtl_woocommerce_order_items: Data: 13.52MB + Index: 4.52MB + Engine InnoDB<br>vtl_woocommerce_order_itemmeta: Data: 72.61MB + Index: 73.20MB + Engine InnoDB<br>vtl_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>vtl_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>vtl_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>vtl_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>vtl_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>vtl_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>vtl_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>vtl_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>vtl_actionscheduler_actions: Data: 1.03MB + Index: 7.11MB + Engine InnoDB<br>vtl_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>vtl_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>vtl_actionscheduler_logs: Data: 2.02MB + Index: 2.03MB + Engine InnoDB<br>vtl_admin_columns: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>vtl_berocket_termmeta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>vtl_bws_list_countries: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>vtl_bws_list_ip: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>vtl_check_email_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>vtl_commentmeta: Data: 0.33MB + Index: 0.41MB + Engine InnoDB<br>vtl_comments: Data: 15.52MB + Index: 16.09MB + Engine InnoDB<br>vtl_ddp_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>vtl_dgwt_wcas_stats: Data: 0.23MB + Index: 0.00MB + Engine InnoDB<br>vtl_duplicator_pro_entities: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>vtl_duplicator_pro_packages: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>vtl_edd_adjustmentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>vtl_edd_adjustments: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>vtl_edd_customermeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>vtl_edd_customers: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>vtl_edd_customer_addresses: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>vtl_edd_customer_email_addresses: Data: 0.02MB + Index: 0.08MB + Engine InnoDB<br>vtl_edd_logmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>vtl_edd_logs: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>vtl_edd_logs_api_requestmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>vtl_edd_logs_api_requests: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>vtl_edd_logs_file_downloadmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>vtl_edd_logs_file_downloads: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>vtl_edd_notemeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>vtl_edd_notes: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>vtl_edd_notifications: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>vtl_edd_ordermeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>vtl_edd_orders: Data: 0.02MB + Index: 0.13MB + Engine InnoDB<br>vtl_edd_order_addresses: Data: 0.02MB + Index: 0.09MB + Engine InnoDB<br>vtl_edd_order_adjustmentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>vtl_edd_order_adjustments: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>vtl_edd_order_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>vtl_edd_order_items: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>vtl_edd_order_transactions: Data: 0.02MB + Index: 0.08MB + Engine InnoDB<br>vtl_e_events: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>vtl_fg_redirect: Data: 0.08MB + Index: 0.00MB + Engine InnoDB<br>vtl_gglcptch_allowlist: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>vtl_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>vtl_options: Data: 31.38MB + Index: 2.08MB + Engine InnoDB<br>vtl_phone_orders_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>vtl_pimwick_gift_card: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>vtl_pimwick_gift_card_activity: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>vtl_podsrel: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>vtl_postmeta: Data: 202.70MB + Index: 133.41MB + Engine InnoDB<br>vtl_posts: Data: 44.55MB + Index: 10.05MB + Engine InnoDB<br>vtl_pos_history: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>vtl_sgs_log_events: Data: 7.52MB + Index: 2.52MB + Engine InnoDB<br>vtl_sgs_log_visitors: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>vtl_smush_dir_images: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>vtl_strong_views: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>vtl_termmeta: Data: 0.09MB + Index: 0.11MB + Engine InnoDB<br>vtl_terms: Data: 0.05MB + Index: 0.03MB + Engine InnoDB<br>vtl_term_relationships: Data: 0.23MB + Index: 0.16MB + Engine InnoDB<br>vtl_term_taxonomy: Data: 0.08MB + Index: 0.03MB + Engine InnoDB<br>vtl_tm_taskmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>vtl_tm_tasks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>vtl_usermeta: Data: 70.61MB + Index: 99.28MB + Engine InnoDB<br>vtl_users: Data: 4.52MB + Index: 4.55MB + Engine InnoDB<br>vtl_vstrsnln_detailing: Data: 3.02MB + Index: 0.00MB + Engine InnoDB<br>vtl_vstrsnln_general: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>vtl_wcpdf_invoice_number: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>vtl_wc_admin_notes: Data: 0.06MB + Index: 0.00MB + Engine InnoDB<br>vtl_wc_admin_note_actions: Data: 0.05MB + Index: 0.02MB + Engine InnoDB<br>vtl_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>vtl_wc_customer_lookup: Data: 3.52MB + Index: 3.03MB + Engine InnoDB<br>vtl_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>vtl_wc_orders: Data: 0.02MB + Index: 0.11MB + Engine InnoDB<br>vtl_wc_orders_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>vtl_wc_order_addresses: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>vtl_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>vtl_wc_order_operational_data: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>vtl_wc_order_product_lookup: Data: 20.55MB + Index: 23.06MB + Engine InnoDB<br>vtl_wc_order_stats: Data: 6.52MB + Index: 5.55MB + Engine InnoDB<br>vtl_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>vtl_wc_product_attributes_lookup: Data: 0.20MB + Index: 0.20MB + Engine InnoDB<br>vtl_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>vtl_wc_product_meta_lookup: Data: 0.13MB + Index: 0.19MB + Engine InnoDB<br>vtl_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>vtl_wc_reserved_stock: Data: 0.05MB + Index: 0.00MB + Engine InnoDB<br>vtl_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>vtl_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>vtl_wfpklist_template_data: Data: 0.06MB + Index: 0.00MB + Engine InnoDB<br>vtl_woo_shippment_provider: Data: 0.13MB + Index: 0.00MB + Engine InnoDB<br>vtl_wpforms_payments: Data: 0.02MB + Index: 0.14MB + Engine InnoDB<br>vtl_wpforms_payment_meta: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>vtl_wpforms_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>vtl_wpie_template: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>vtl_wt_iew_action_history: Data: 0.31MB + Index: 0.00MB + Engine InnoDB<br>vtl_wt_iew_mapping_template: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>vtl_yoast_indexable: Data: 0.52MB + Index: 0.27MB + Engine InnoDB<br>vtl_yoast_indexable_hierarchy: Data: 0.06MB + Index: 0.05MB + Engine InnoDB<br>vtl_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>vtl_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>vtl_yoast_seo_links: Data: 0.06MB + Index: 0.03MB + Engine InnoDB Post Type Counts
   
       acf-field: 25<br>acf-field-group: 6<br>astra-advanced-hook: 1<br>attachment: 1228<br>blog: 24<br>br_product_filter: 1<br>custom_css: 1<br>elementor_library: 3<br>feedback: 27<br>mywp_admin_sidebar: 197<br>mywp_admin_toolbar: 36<br>nav_menu_item: 55<br>o-list: 1<br>page: 17<br>pewc_field: 1<br>pewc_group: 1<br>product: 523<br>product_variation: 314<br>reviews: 59<br>revision: 1<br>shop_order: 45393<br>shop_order_refund: 5<br>spt_testimonial: 1<br>testimonial: 1<br>ultimate-woo-cart: 1<br>viwec_template: 14<br>wcs_ruleset: 1<br>wopb_builder: 1<br>wp_block: 11<br>wp_global_styles: 2<br>wp_navigation: 2<br>wpcode: 2<br>wpforms: 1<br>wpm-testimonial: 2<br>xlwcty_thankyou: 1 Security
   
       Secure connection (HTTPS): ✔<br>Hide errors from visitors: ✔ Active Plugins (33)
   
       WPSHAPERE: by AcmeeDesign Softwares and Solutions – 6.1.19<br>FiboSearch - AJAX Search for WooCommerce: by FiboSearch Team – 1.25.0<br>Astra Pro: by Brainstorm Force – 4.1.7<br>Autoptimize: by Frank Goossens (futtta) – 3.1.8.1<br>Branda: by WPMU DEV – 3.4.11<br>Custom Post Type UI: by WebDevStudios – 1.14.0<br>reCaptcha by BestWebSoft: by BestWebSoft – 1.72<br>Image Widget: by The Events Calendar – 4.4.9<br>Jetpack: by Automattic – 12.4<br>Limit Login Attempts Reloaded: by Limit Login Attempts Reloaded – 2.25.22<br>Make Tables Responsive: by Nikolay Nikolov – 1.6.0<br>Menu Icons: by ThemeIsle – 0.13.7<br>Permalink Manager Lite: by Maciej Bis – 2.4.1.3<br>WooCommerce PDF Invoices, Packing Slips, Delivery Notes and Shipping Labels: by WebToffee – 4.1.2<br>Payment Plugins for PayPal WooCommerce: by Payment Plugins<br>support@paymentplugins.com – 1.0.36
   
       Recent Posts Widget Extended: by Ga Satrya – 2.0.2<br>Reusable Blocks Extended: by audrasjb – 0.9.1<br>Shortcode in Menus: by Gagan Deep Singh – 3.5.1<br>Spectra: by Brainstorm Force – 2.7.6<br>Visitors Online by BestWebSoft: by BestWebSoft – 1.1.3<br>WooCommerce Weight Based Shipping: by weightbasedshipping.com – 5.5.6<br>Conditional Discounts for WooCommerce - A simple yet complete woocommerce dynamic pricing plugin: by ORION – 2.31.5<br>WooCommerce Conditional Shipping Pro: by Lauri Karisola / WP Trio – 3.1.1<br>WooCommerce Blocks: by Automattic – 10.8.3<br>NextMove Lite - Thank You Page for WooCommerce: by XLPlugins – 2.17.0<br>WooCommerce Google Analytics Integration: by WooCommerce – 1.8.4<br>WooCommerce Payments: by Automattic – 6.3.2 (update to version 6.4.1 is available)<br>WooCommerce Shipping & Tax: by WooCommerce – 2.3.2 (update to version 2.3.4 is available)<br>WooCommerce - ShipStation Integration: by WooCommerce – 4.3.8 (update to version 4.3.9 is available)<br>WooCommerce: by Automattic – 8.0.2 (update to version 8.1.0 is available)<br>Yoast SEO: by Team Yoast – 20.13<br>WP Fastest Cache Premium: by Emre Vona – 1.6.9<br>WP Fastest Cache: by Emre Vona – 1.1.8 Inactive Plugins (4)
   
       Advanced Cron Manager: by BracketSpace – 2.5.2<br>Phone Orders for WooCommerce: by AlgolPlus – 3.8.4<br>WooCommerce Blocks: by Automattic – 10.9.0<br>WooCommerce Save Manual Order User: by Tim's Solutions – 1.2 Dropin Plugins (2)
   
       db-error.php: db-error.php<br>maintenance.php: maintenance.php Settings
   
       API Enabled: –<br>Force SSL: –<br>Currency: USD ($)<br>Currency Position: left<br>Thousand Separator: ,<br>Decimal Separator: .<br>Number of Decimals: 2<br>Taxonomies: Product Types: external (external)<br>grouped (grouped)<br>pw gift card (pw-gift-card)<br>simple (simple)<br>subscription (subscription)<br>variable (variable)<br>variable subscription (variable-subscription)
   
       Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)<br>exclude-from-search (exclude-from-search)<br>featured (featured)<br>outofstock (outofstock)<br>rated-1 (rated-1)<br>rated-2 (rated-2)<br>rated-3 (rated-3)<br>rated-4 (rated-4)<br>rated-5 (rated-5)
   
       Connected to WooCommerce.com: –<br>Enforce Approved Product Download Directories: ✔<br>HPOS feature screen enabled: –<br>HPOS feature enabled: –<br>Order datastore: WC_Order_Data_Store_CPT<br>HPOS data sync enabled: – WC Pages
   
       Shop base: ❌ Page not set<br>Cart: #8 - /cart<br>Checkout: #9 - /checkout<br>My account: #10 - /my-account<br>Terms and conditions: ❌ Page not set Theme
   
       Name: Astra<br>Version: 4.2.1 (update to version 4.3.1 is available)<br>Author URL: https://wpastra.com/about/?utm_source=theme_preview&utm_medium=author_link&utm_campaign=astra_theme<br>Child Theme: ❌ – If you are modifying WooCommerce on a parent theme that you did not build personally we recommend using a child theme. See: How to create a child theme<br>WooCommerce Support: ✔ Templates
   
       Overrides: /var/www/vhosts/vermontlanterns.com/httpdocs/wp-content/plugins/woo-gutenberg-products-block/templates/notices/error.php<br>/var/www/vhosts/vermontlanterns.com/httpdocs/wp-content/plugins/woo-gutenberg-products-block/templates/notices/notice.php<br>/var/www/vhosts/vermontlanterns.com/httpdocs/wp-content/plugins/woo-gutenberg-products-block/templates/notices/success.php Admin
   
       Enabled Features: activity-panels<br>analytics<br>product-block-editor<br>coupons<br>core-profiler<br>customer-effort-score-tracks<br>import-products-task<br>experimental-fashion-sample-products<br>shipping-smart-defaults<br>shipping-setting-tour<br>homescreen<br>marketing<br>mobile-app-banner<br>navigation<br>onboarding<br>onboarding-tasks<br>remote-inbox-notifications<br>remote-free-extensions<br>payment-gateway-suggestions<br>shipping-label-banner<br>subscriptions<br>store-alerts<br>transient-notices<br>woo-mobile-welcome<br>wc-pay-promotion<br>wc-pay-welcome-page
   
       Disabled Features: minified-js<br>new-product-management-experience<br>product-variation-management<br>settings<br>async-product-editor-category-field
   
       Daily Cron: ✔ Next scheduled: 2023-09-13 20:17:40 -04:00<br>Options: ✔<br>Notes: 64<br>Onboarding: completed WooCommerce Payments
   
       Version: 6.3.2<br>Connected to WPCOM: Yes<br>Blog ID: 220263424<br>Account ID: acct_1NK4hoCEh8OVMeq1 Action Scheduler
   
       Canceled: 13<br>Oldest: 2023-08-14 13:52:17 -0400<br>Newest: 2023-09-10 09:16:45 -0400
   
       Complete: 2,103<br>Oldest: 2023-08-13 13:40:15 -0400<br>Newest: 2023-09-13 10:46:10 -0400
   
       Failed: 69<br>Oldest: 2022-09-23 13:36:15 -0400<br>Newest: 2023-08-05 10:11:15 -0400
   
       Pending: 2<br>Oldest: 2023-09-13 18:47:46 -0400<br>Newest: 2023-09-14 10:46:10 -0400 Status report information
   
       Generated at: 2023-09-13 10:55:47 -04:00<br>`
       ```
   
 *  Thread Starter [visnucarr](https://wordpress.org/support/users/visnucarr/)
 * (@visnucarr)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/disable-zipcode-validation/#post-17048046)
 * Re: Matching up with shipping zone, I do have free and paid shipping in the USA,
   but again this issue is not consistent. Is there some way to disable the matching?
   I don’t really need it. Is that perhaps in the settings of WooCom for “Shipping
   Location(s)” ? I currently have it set to “Ship to all countries you sell to.”
   But there is also “Ship to all countries” I wonder if that would disable it.
 * Re: Payment gateways, I offer WooPay & PayPal & Check payments. Default is woopay
   though.
    -  This reply was modified 2 years, 8 months ago by [visnucarr](https://wordpress.org/support/users/visnucarr/).
 *  Plugin Author [Karol Manijak](https://wordpress.org/support/users/karolmanijak/)
 * (@karolmanijak)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/disable-zipcode-validation/#post-17061838)
 * Hi [@visnucarr](https://wordpress.org/support/users/visnucarr/) !
 * > I currently have it set to “Ship to all countries you sell to.” But there is
   > also “Ship to all countries” I wonder if that would disable it.
 * I’m afraid it wouldn’t disable validation in the Checkout block.
   I can confirm
   Checkout block does the ZIP code validation against countries. And at the moment
   there’s no option to disable it in the block.But definitely, customers shouldn’t
   see a validation error when providing the correct ZIP code. Are you able to provide
   the error message they get for further debugging? I’m asking because there’s 
   a similar issue reported in the WooCommerce Blocks repo: [https://github.com/woocommerce/woocommerce-blocks/issues/10847](https://github.com/woocommerce/woocommerce-blocks/issues/10847)
   and I’m wondering if the error message matches the one from the issue: “ZIP code
   does not match the selected state”?
 * Thanks!
 *  Thread Starter [visnucarr](https://wordpress.org/support/users/visnucarr/)
 * (@visnucarr)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/disable-zipcode-validation/#post-17062782)
 * [@karolmanijak](https://wordpress.org/support/users/karolmanijak/)
 * yes it’s the exact same error and behavior as per the issue you linked. I did
   have shipping and tax module enabled, but only for a single state and none of
   the problem orders were from that state. All the same I’ve disabled shipping 
   and tax for now and setup a manual tax instead.
 *  Plugin Author [Karol Manijak](https://wordpress.org/support/users/karolmanijak/)
 * (@karolmanijak)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/disable-zipcode-validation/#post-17062843)
 * > yes it’s the exact same error and behavior as per the issue you linked
 * In that case, I commented on the issue mentioning that you experienced the same
   problem. Also, considering there’s already some movement in the issue: [https://github.com/woocommerce/woocommerce-blocks/issues/10847](https://github.com/woocommerce/woocommerce-blocks/issues/10847),
   I suggest following it for further updates until it gets resolved.
 * > I’ve disabled shipping and tax for now and setup a manual tax instead.
 * I’m happy you were able to work around this!
 * Thanks!
 *  Plugin Author [Raluca](https://wordpress.org/support/users/ralucastn/)
 * (@ralucastn)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/disable-zipcode-validation/#post-17065313)
 * [@visnucarr](https://wordpress.org/support/users/visnucarr/) could you help us
   with some testing steps for trying to replicate the issue. Please offer as many
   details as possible.
    - what country, city and zip code you added
    - what was the setup around shipping and tax module
 * Thank you!

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

The topic ‘Disable Zipcode Validation?’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/woo-gutenberg-products-block_71608f.
   svg)
 * [WooCommerce Blocks](https://wordpress.org/plugins/woo-gutenberg-products-block/)
 * [Support Threads](https://wordpress.org/support/plugin/woo-gutenberg-products-block/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-gutenberg-products-block/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-gutenberg-products-block/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-gutenberg-products-block/reviews/)

 * 9 replies
 * 5 participants
 * Last reply from: [Raluca](https://wordpress.org/support/users/ralucastn/)
 * Last activity: [2 years, 8 months ago](https://wordpress.org/support/topic/disable-zipcode-validation/#post-17065313)
 * Status: resolved