Title: Zip+4 Validation Error
Last modified: May 21, 2020

---

# Zip+4 Validation Error

 *  Resolved [mattsingley](https://wordpress.org/support/users/mattsingley/)
 * (@mattsingley)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/zip4-validation-error/)
 * Hello, I am having issues with zip code validation at checkout. Everything works
   fine unless the customer uses a zip+4 number. In other words, if the zip code
   input is 91362 everything works fine (that is, all shipping options come up),
   but if 91362-5948 is input (a standard U.S. zip+4), then the error states that
   there are no valid shipping options available.
 * I have temporarily worked around this by adding a $5.99 flat rate in case of 
   no matching address in shipping options. This isn’t sustainable, we typically
   offer free shipping or paid priority shipping. Also, our international customers(
   who usually pay $20+ shipping) will be getting quite a deal and we will lose 
   money on every order.
 * Although I have used shipping extensions in the past, I have deactivated all 
   of those, and I get the same results. I have tried disabling Woocommerce Services,
   same results. Something in ZIP validation does not recognize the zip+4 input 
   and renders it invalid.
 * I’m searched A LOT and cannot seem to find a solution. I know that typical troubleshooting
   advice is “perhaps your theme or another plugin is causing a conflict” but I 
   think it’s more than that. Is there a specific error, or setting, that should
   be checked?
 * FWIW, I don’t know if it’s related, but when we activate Jetpack it gives an 
   invalid address error as well. I’m stumped. Any help is appreciated.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fzip4-validation-error%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Support [Fernando a11n](https://wordpress.org/support/users/fhaps/)
 * (@fhaps)
 * Automattic Happiness Engineer
 * [5 years, 11 months ago](https://wordpress.org/support/topic/zip4-validation-error/#post-12872945)
 * [@mattsingley](https://wordpress.org/support/users/mattsingley/) Can you elaborate
   on how are you shipping zones configured? I don’t think the nine-digit code will
   be recognized unless it is specifically part of the shipping zone configuration.
 * So, for example, if you have configured a shipping zone for the zip code 90008,
   but at checkout the customer enters zip code 90008-0051, it won’t be recognized
   as part of the zone – since it does not match the configured zip code exactly.
 * The shipping zone would have to specifically include the code 90008-0051 for 
   it to be recognized.
 *  Thread Starter [mattsingley](https://wordpress.org/support/users/mattsingley/)
 * (@mattsingley)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/zip4-validation-error/#post-12872997)
 * Fernando, thank you. I believe you addressed it immediately.
 * We have a fairly complex shipping zone set-up since we offer tiered pricing for
   local delivery based upon zip code. In our immediate area we have 4 different
   delivery zones that are identified by zip (e.g. 90008) As a workaround to include
   the rest of California, we created an “out of local delivery zone” zone with 
   all additional California zip codes (all 5 digits). All other zones above that
   are by State, which presumably DOES include +4 validation. I just tested this
   with a zip+4 in New York state (no error) and Zip+4 in a different part of California(
   error).
 * Thank you. I’ll have to rethink how we have local delivery set up, but for now
   will remove it so that other orders are not messed up. Thank you again.
 *  [jhokanson](https://wordpress.org/support/users/jhokanson/)
 * (@jhokanson)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/zip4-validation-error/#post-13510367)
 * Hi Matt – I found your topic since I’m experiencing the exact same issue. Were
   you able to find a workaround?
 * Thanks and take care!
 *  Thread Starter [mattsingley](https://wordpress.org/support/users/mattsingley/)
 * (@mattsingley)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/zip4-validation-error/#post-13510603)
 * [@jhokanson](https://wordpress.org/support/users/jhokanson/) unfortunately, not
   in the way I wanted. We started getting multiple errors with other customers 
   who *did* include a zip+4 for shipping, even if they weren’t delivery. I cannot
   remember the exact steps we took, but essentially we just eliminated the scenario
   we had set up above (that is, the local delivery code, charged based upon zip)
   and ended up installing an address validation plugin. Long story short: zip+4
   won’t work if you have specific zip codes line itemed for shipping.
 * Another way of saying it: if we had 91362 as a specific zip in California, we
   added all of the other zips in California to a separate zone called “California”(
   which is tedious af btw), but then if anybody anywhere in California put in their
   zip+4, it would only show our fallback shipping method, which was much more expensive
   to account for international shipping.
 * tl;dr zip+4 doesn’t work in Woo if you have individual zip codes configured, 
   it only works with a full zone like, “California”. Sorry I couldn’t give you 
   a more productive answer!
 *  [jhokanson](https://wordpress.org/support/users/jhokanson/)
 * (@jhokanson)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/zip4-validation-error/#post-13510714)
 * [@mattsingley](https://wordpress.org/support/users/mattsingley/) thanks for the
   quick reply and info!

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

The topic ‘Zip+4 Validation Error’ is closed to new replies.

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

## Tags

 * [checkout](https://wordpress.org/support/topic-tag/checkout/)
 * [validation](https://wordpress.org/support/topic-tag/validation/)
 * [zip](https://wordpress.org/support/topic-tag/zip/)
 * [zip code](https://wordpress.org/support/topic-tag/zip-code/)

 * 5 replies
 * 3 participants
 * Last reply from: [jhokanson](https://wordpress.org/support/users/jhokanson/)
 * Last activity: [5 years, 7 months ago](https://wordpress.org/support/topic/zip4-validation-error/#post-13510714)
 * Status: resolved