Title: Getting an error: Billing postcode / zip is not a valid postcode. on Poland
Last modified: April 26, 2024

---

# Getting an error: Billing postcode / zip is not a valid postcode. on Poland

 *  Resolved [optimalprime](https://wordpress.org/support/users/optimalprime/)
 * (@optimalprime)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/getting-an-error-billing-postcode-zip-is-not-a-valid-postcode-on-poland/)
 * Hello,
 * I have found out that the problem is on filling out the country “Poland” specifically.
   I will describe what happens. The woocommerce report doesnt show any fails and
   now error log report.
 * So when you start to fill out a booking on the link provided and you choose Poland
   as the client Country on the checkout screen when chosen European Bank transfer(
   the option on the bottom) it will give the error:
 * `Billing postcode / zip is not a valid postcode. `
 * It will refuse to finish the order. If you then choose to alter it into another
   country on the same checkout page that you are still in, for example Netherlands,
   it will succesfully finish it. Made me think if Poland wasnt a Sepa country, 
   but it is. So I have no idea why Poland gets this message specifically. Please
   can you test it for yourself and tell me what you think? Thank you.
 *     ```wp-block-code
       ` WordPress Environment
   
       WC Version: 8.6.1
       REST API Version: ✔ 8.6.1
       WC Blocks Version: ✔ 11.8.0-dev
       Action Scheduler Version: ✔ 3.7.1
       Log Directory Writable: ✔
       WP Version: 6.5.2
       WP Multisite: –
       WP Memory Limit: 1 GB
       WP Debug Mode: –
       WP Cron: –
       Language: en_GB
       External object cache: ✔ Server Environment
   
       Server Info: LiteSpeed
       PHP Version: 8.2.4
       PHP Post Max Size: 100 MB
       PHP Time Limit: 30
       PHP Max Input Vars: 3000
       cURL Version: 7.87.0
       OpenSSL/1.1.1p
   
       SUHOSIN Installed: –
       MySQL Version: 10.6.16-MariaDB-cll-lve
       Max Upload Size: 100 MB
       Default Timezone is UTC: ✔
       fsockopen/cURL: ✔
       SoapClient: ✔
       DOMDocument: ✔
       GZip: ✔
       Multibyte String: ✔
       Remote Post: ✔
       Remote Get: ✔ Database
   
       WC Database Version: 8.6.1
       Total Database Size: 46.27MB
       Database Data Size: 33.10MB
       Database Index Size: 13.17MB
   
       attachment: 458
       custom_css: 1
       customize_changeset: 1
       gs_faq: 14
       ml-slide: 5
       ml-slider: 1
       mphb_booking: 1153
       mphb_coupon: 5
       mphb_payment: 624
       mphb_rate: 18
       mphb_reserved_room: 1270
       mphb_room: 17
       mphb_room_attribute: 2
       mphb_room_service: 12
       mphb_room_type: 16
       mphb_season: 16
       nav_menu_item: 26
       oembed_cache: 1
       page: 34
       popupbuilder: 9
       post: 41
       product: 1
       revision: 467
       shop_order: 511
       simple_pricing_table: 1
       testimonial: 4
       wp_block: 4
       wp_global_styles: 1
       wp_navigation: 1
       wpforms: 1 Security
   
       Secure connection (HTTPS): ✔
       Hide errors from visitors: ✔ Active Plugins (30)
   
   
       advanced-cache.php: advanced-cache.php
       maintenance.php: maintenance.php
       object-cache.php: object-cache.php Must Use Plugins (1)
   
       aios-firewall-loader.php: by – Settings
   
       API Enabled: –
       Force SSL: –
       Currency: EUR (€)
       Currency Position: left
       Thousand Separator: ,
       Decimal Separator: .
       Number of Decimals: 2
       Taxonomies: Product Types: external (external)
       grouped (grouped)
       simple (simple)
       variable (variable)
   
       Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)
       exclude-from-search (exclude-from-search)
       featured (featured)
       outofstock (outofstock)
       rated-1 (rated-1)
       rated-2 (rated-2)
       rated-3 (rated-3)
       rated-4 (rated-4)
       rated-5 (rated-5)
   
       Connected to Woo.com: –
       Enforce Approved Product Download Directories: –
       HPOS feature screen enabled: –
       HPOS feature enabled: –
       Order datastore: WC_Order_Data_Store_CPT
       HPOS data sync enabled: – WC Pages
   
       Shop base: #7632 - /shop/
       Basket: ❌ Page ID is set
       but the page does not exist
   
       Checkout: #7634 - /checkout/
       My account: #7635 - /my-account/
       Terms and conditions: ❌ Page not set Theme
   
       Name: Watermark Surfhouse
       Version: 1.1.6
       Author URL:
       Child Theme: ✔
       Parent Theme Name: Genesis
       Parent Theme Version: 3.5.0
       Parent Theme Author URL: https://www.studiopress.com/
       WooCommerce Support: ✔ Templates
   
       Overrides: – Admin
   
       Enabled Features: activity-panels
       analytics
       product-block-editor
       coupons
       core-profiler
       customer-effort-score-tracks
       import-products-task
       experimental-fashion-sample-products
       shipping-smart-defaults
       shipping-setting-tour
       homescreen
       marketing
       mobile-app-banner
       navigation
       onboarding
       onboarding-tasks
       product-variation-management
       product-virtual-downloadable
       product-external-affiliate
       product-grouped
       product-linked
       remote-inbox-notifications
       remote-free-extensions
       payment-gateway-suggestions
       shipping-label-banner
       subscriptions
       store-alerts
       transient-notices
       woo-mobile-welcome
       wc-pay-promotion
       wc-pay-welcome-page
   
       Disabled Features: customize-store
       minified-js
       new-product-management-experience
       product-pre-publish-modal
       settings
       async-product-editor-category-field
   
       Daily Cron: ✔ Next scheduled: 2024-02-09 14:52:06 +00:00
       Options: ✔
       Notes: 199
       Onboarding: completed Action Scheduler
   
       Complete: 20
       Oldest: 2024-04-23 14:06:04 +0000
       Newest: 2024-04-26 11:38:21 +0000
   
       Failed: 5
       Oldest: 2023-04-25 18:45:58 +0000
       Newest: 2023-06-02 12:28:57 +0000
   
       Pending: 6
       Oldest: 2024-04-26 11:53:21 +0000
       Newest: 2024-04-27 11:21:50 +0000 Status report information
   
       Generated at: 2024-04-26 11:38:32 +00:00
       `
       ```
   
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fgetting-an-error-billing-postcode-zip-is-not-a-valid-postcode-on-poland%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [Zee](https://wordpress.org/support/users/doublezed2/)
 * (@doublezed2)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/getting-an-error-billing-postcode-zip-is-not-a-valid-postcode-on-poland/#post-17718563)
 * Hello [optimalprime](https://wordpress.org/support/users/optimalprime/),
 * Thank you for contacting Woo support.
 * I tried a checkout using a random address from Poland and used European Bank 
   Transfer. As a result, I was able to complete the checkout process without any
   errors.
 * ![](https://i0.wp.com/snipboard.io/C2klYu.jpg?ssl=1)
 * Could you share exact address and steps you used to create this problem?
   I will
   follow those steps to recreate the issue from my end.
 * I look forward to your reply. 🙂
 * Best regards.
 *  Thread Starter [optimalprime](https://wordpress.org/support/users/optimalprime/)
 * (@optimalprime)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/getting-an-error-billing-postcode-zip-is-not-a-valid-postcode-on-poland/#post-17720540)
 * Thank you
 * The link used is correct to go to the booking page. You choose to book. And on
   the booking screen thats follows you fill out adults: 1
 * Then on “your information” you let the fields be autofilled by what it suggests
   and after change the country manually to for example Poland. Then you go to the
   next screen and Dont fill out anything. Especially not change or add anything
   in the address fields. Then choose European Bank Transfer and that should give
   you the error.
 * It should give the error. I used the chrome browser.
 * Thank you
 *  [Zee](https://wordpress.org/support/users/doublezed2/)
 * (@doublezed2)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/getting-an-error-billing-postcode-zip-is-not-a-valid-postcode-on-poland/#post-17722533)
 * Hello [optimalprime](https://wordpress.org/support/users/optimalprime/)
 * Thank you for your reply.
 * I followed your instructions and the result was the same as before.
   I did not
   encounter any issues. I am using Google Chrome.
 * Here is a [video recording](https://drive.google.com/file/d/1J5mK_jU5_RcWUL6zabEzd4U5vooFNL-6/view?usp=sharing)
   of my steps.
   Please let me know if you see anything odd.
 * I look forward to your reply. 🙂
 * Best regards.
 *  Thread Starter [optimalprime](https://wordpress.org/support/users/optimalprime/)
 * (@optimalprime)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/getting-an-error-billing-postcode-zip-is-not-a-valid-postcode-on-poland/#post-17722998)
 * Thank you for investigating it. Maybe my directions were unclear, but after watching
   the video I do see some differences. The first difference I dont think is a problem,
   but most people on the booking screen fill in the fields on the far right column
   and click the blue “search” button. I dont think this will make a difference 
   or is relevant for the postcode error though.
 * The thing I do think makes the difference is when you are on the screen where
   you fill out the amount of adults / kids I noticed that you filled out the “your
   information” fields manually. The 1st field is “first name” now many people when
   filling out there name will get autofill suggestions here. Once you click on 
   the autofill suggestion it will fill out all other fields right away automatically,
   so name, country, phone and email. You manually filled it out instead. Can you
   please test this with choosing an autofill option on the “first name” field and
   after when all fields are filled out change the country field, that is prefilled
   then too, to another country manually and then after finish the process exactly
   how you did before (so not change anything on the checkout page and then choose
   European bank transfer). This will recreate the error, I had this recreated already
   with 4 different people.
 * Hope I am more clear now, thank you again.
 *  [carolm29 (woo-hc)](https://wordpress.org/support/users/carolm29/)
 * (@carolm29)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/getting-an-error-billing-postcode-zip-is-not-a-valid-postcode-on-poland/#post-17726450)
 * Hey, [@optimalprime](https://wordpress.org/support/users/optimalprime/)!
 * Thank you for the clarification, I did as you mentioned and I was able to see
   the issue with not only Poland, but also Portugal (I started trying other countries
   to check, and the third one I tried, New Zealand, went through).
 * I see on your report you have an outdated version of WooCommerce.
 * We recommend keeping everything updated. Regularly updating everything helps 
   maintain your site’s security, performance, and compatibility while ensuring 
   you benefit from the latest features and improvements.
 * So please update Woo, any other plugin that needs it, as well as your theme and
   check if the issue persists.
 * If it does, please add a simple product via the default WooCommerce interface
   and try it out. Please let us know if the issue also happens with simple products
   so we can assist you further.
 * Also, I don’t see the plugin list on your report, do you mind sharing it again
   with the plugin list so we can take a look? You can do it after updating everything
   so we see the current versions.
 * Looking forward to your reply.
 * Have a wonderful day!
 *  [anastas10s](https://wordpress.org/support/users/anastas10s/)
 * (@anastas10s)
 * [2 years ago](https://wordpress.org/support/topic/getting-an-error-billing-postcode-zip-is-not-a-valid-postcode-on-poland/#post-17751209)
 * Howdy 👋 We haven’t heard back from you in a while, so I’m going to mark this
   as resolved – we’ll be here if and/or when you are ready to continue.
 *  Thread Starter [optimalprime](https://wordpress.org/support/users/optimalprime/)
 * (@optimalprime)
 * [2 years ago](https://wordpress.org/support/topic/getting-an-error-billing-postcode-zip-is-not-a-valid-postcode-on-poland/#post-17751217)
 * Hello, I directly reacted in the mail, but guess that doesnt work. So my reaction
   here on your answer:
 * Ok, 
 * “so there might have been adjustments made to its validation rules.”
 * By who? If you mean me? Besides making it optional I did not. The technicality
   of it not working, I do agree it probably is one of these reasons. But if these
   adjustments weren’t applied universally will this get fixed eventually by woocommerce?
   What can be done? 
 *  [carolm29 (woo-hc)](https://wordpress.org/support/users/carolm29/)
 * (@carolm29)
 * [2 years ago](https://wordpress.org/support/topic/getting-an-error-billing-postcode-zip-is-not-a-valid-postcode-on-poland/#post-17755091)
 * Hey, [@optimalprime](https://wordpress.org/support/users/optimalprime/)!
 * I’m afraid I’m a bit lost.
 * You quoted: “so there might have been adjustments made to its validation rules.”
   
   As it was an answer from us, but I don’t see this in this thread.
 * Are you still having issues with the Poland Zip code or is this last message 
   about something else?
 * Looking forward to your reply.
 * Have a wonderful day!
 *  Thread Starter [optimalprime](https://wordpress.org/support/users/optimalprime/)
 * (@optimalprime)
 * [2 years ago](https://wordpress.org/support/topic/getting-an-error-billing-postcode-zip-is-not-a-valid-postcode-on-poland/#post-17762654)
 * Hello, Yes a message was deleted, Guess someone else responded on the question
   aswell. This was the answer I got. Yes the problem with Poland (and Portugal)
   exists unless I take away (disable not hide) the fields entirely, which I did
   as a workaround. But I still dont get why 2 countries only would give this error.
 * Femi wrote:
 * Hello
 * You may want to review the settings or code related to the zip code field validation.
   How was the zip code field made optional? Typically, this field is mandatory 
   by default, so there might have been adjustments made to its validation rules.
   However, it’s conceivable that these adjustments weren’t applied universally,
   resulting in the field being required for some countries while optional for others.
 *  Plugin Support [omarfpg a11n](https://wordpress.org/support/users/omarfpg/)
 * (@omarfpg)
 * [2 years ago](https://wordpress.org/support/topic/getting-an-error-billing-postcode-zip-is-not-a-valid-postcode-on-poland/#post-17763907)
 * Hi [@optimalprime](https://wordpress.org/support/users/optimalprime/),
 * Can you share more details about these code modifications you’ve made? Additionally,
   which payment gateway are you using for the bookings?
 * I’m also marking this thread as not resolved for now.
 * Thanks!
   -OP
 *  Plugin Support [omarfpg a11n](https://wordpress.org/support/users/omarfpg/)
 * (@omarfpg)
 * [2 years ago](https://wordpress.org/support/topic/getting-an-error-billing-postcode-zip-is-not-a-valid-postcode-on-poland/#post-17779301)
 * Hi there 👋 ,
 * We haven’t heard from you in a while; this is to check if you still need help
   or if you’ve been able to fix the custom code to make it work.
 * Thanks!
   -OP
 *  Thread Starter [optimalprime](https://wordpress.org/support/users/optimalprime/)
 * (@optimalprime)
 * [2 years ago](https://wordpress.org/support/topic/getting-an-error-billing-postcode-zip-is-not-a-valid-postcode-on-poland/#post-17799074)
 * My reactions keep not getting through.
 * Motopress is used. they say we had to go to you.
 * there is data filled (country aswell) in the motopress booking page. And then
   after in the woocommerce page these fields come through as well. So i disabled
   the fields completely as on Portugal and Poland it gives problems.
 * /**
    - Remove checkout fields */
 * function kg_override_checkout_fields( $fields ) {
 * unset($fields[‘billing’][‘billing_country’]);
   unset($fields[‘billing’][‘billing_address_1’]);
   unset($fields[‘billing’][‘billing_address_2’]);unset($fields[‘billing’][‘billing_postcode’]);
   unset($fields[‘billing’][‘billing_city’]);unset($fields[‘billing’][‘billing_company’]);
 * return $fields;
 * }
 * add_filter(‘woocommerce_checkout_fields’,’kg_override_checkout_fields’);
 *  Plugin Support [Shameem – a11n](https://wordpress.org/support/users/shameemreza/)
 * (@shameemreza)
 * [2 years ago](https://wordpress.org/support/topic/getting-an-error-billing-postcode-zip-is-not-a-valid-postcode-on-poland/#post-17800576)
 * Hi [@optimalprime](https://wordpress.org/support/users/optimalprime/)
 * The issue you’re experiencing with the postcode validation for Poland and Portugal
   might be related to your modifications to the checkout fields.
 * To further investigate, I suggest temporarily removing the custom code you’ve
   added to disable the fields and see if the issue persists. If it doesn’t, then
   the issue is likely related to your modifications.
 * If the issue persists even after removing the custom code, it would be helpful
   to know if you have any other customizations or plugins that might be affecting
   the checkout process.
 * If you haven’t already, I recommend updating all your WooCommerce plugins, themes,
   and WordPress to their latest versions. This can help ensure that you have the
   latest fixes and improvements that might resolve your issue.
 * Please let us know how it goes or if you need further assistance.

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

The topic ‘Getting an error: Billing postcode / zip is not a valid postcode. on 
Poland’ 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/)

 * 13 replies
 * 6 participants
 * Last reply from: [Shameem – a11n](https://wordpress.org/support/users/shameemreza/)
 * Last activity: [2 years ago](https://wordpress.org/support/topic/getting-an-error-billing-postcode-zip-is-not-a-valid-postcode-on-poland/#post-17800576)
 * Status: resolved