• Resolved Patrick

    (@pmdigital)


    Hello,
    In the checkout page when selecting Portugal as a country and leave the other address fields empty (as there are optional) it shows the following message when submitting the form: Billing Postcode / ZIP is not a valid postcode / ZIP.

    I tried with UK and it doesn’t show any message. The plugin is up to date (Version 3.8.1)

    Are there any settings I’m supposed to change?
    Thank you

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Tseten a11n

    (@tibetanitech)

    If I understand it correctly, you are trying to checkout on your site where you would like to leave the billing postcode blank. You mentioned you can checkout with the country as UK with blank postcode however if you use the country as Portugal, you cannot checkout with blank postcode – correct?

    Could you please share a copy of your site’s System Status to understand how your site is configured? You can find it via WooCommerce > Status.
    Select “Get system report” and then “Copy for support”.  Once you’ve done that, paste it here in your response.

    Thread Starter Patrick

    (@pmdigital)

    Hi,
    Yes, that’s correct.

    Here is the status:

    
    ### WordPress Environment ###
    
    WC Version: 3.8.1
    REST API Version: ✔ 1.0.2
    Log Directory Writable: ✔
    WP Version: ❌ 4.9.14 - There is a newer version of WordPress available (5.4.1)
    WP Multisite: –
    WP Memory Limit: 2 GB
    WP Debug Mode: –
    WP Cron: ✔
    Language: en_US
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: Apache
    PHP Version: 7.2.31
    PHP Post Max Size: 1 GB
    PHP Time Limit: 360
    PHP Max Input Vars: 1000
    cURL Version: 7.58.0
    OpenSSL/1.1.1
    
    SUHOSIN Installed: –
    MySQL Version: 5.5.5-10.1.44-MariaDB-0ubuntu0.18.04.1
    Max Upload Size: 1 GB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ✔
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔
    
    ### Database ###
    
    WC Database Version: 3.8.1
    WC Database Prefix: wp_
    MaxMind GeoIP Database: ✔
    Total Database Size: 136.49MB
    Database Data Size: 108.57MB
    Database Index Size: 27.92MB
    wp_woocommerce_sessions: Data: 43.26MB + Index: 2.33MB + Engine MyISAM
    wp_woocommerce_api_keys: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_woocommerce_downloadable_product_permissions: Data: 0.08MB + Index: 0.09MB + Engine MyISAM
    wp_woocommerce_order_items: Data: 0.18MB + Index: 0.09MB + Engine MyISAM
    wp_woocommerce_order_itemmeta: Data: 1.40MB + Index: 0.74MB + Engine MyISAM
    wp_woocommerce_tax_rates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_woocommerce_payment_tokens: Data: 0.01MB + Index: 0.01MB + Engine MyISAM
    wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.02MB + Engine MyISAM
    wp_woocommerce_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_aryo_activity_log: Data: 5.02MB + Index: 0.00MB + Engine InnoDB
    wp_commentmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_comments: Data: 0.53MB + Index: 0.33MB + Engine MyISAM
    wp_duplicator_packages: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_failed_jobs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_gf_addon_feed: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_learndash_user_activity: Data: 0.18MB + Index: 0.49MB + Engine MyISAM
    wp_learndash_user_activity_meta: Data: 0.84MB + Index: 0.30MB + Engine MyISAM
    wp_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_mailchimp_carts: Data: 0.05MB + Index: 0.00MB + Engine MyISAM
    wp_options: Data: 2.53MB + Index: 0.12MB + Engine MyISAM
    wp_pmpro_membership_levelmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_postmeta: Data: 7.80MB + Index: 3.76MB + Engine MyISAM
    wp_posts: Data: 12.74MB + Index: 0.69MB + Engine MyISAM
    wp_queue: Data: 0.64MB + Index: 0.00MB + Engine MyISAM
    wp_redirection_404: Data: 4.02MB + Index: 4.27MB + Engine InnoDB
    wp_redirection_groups: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_redirection_items: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    wp_redirection_logs: Data: 0.16MB + Index: 0.08MB + Engine InnoDB
    wp_rg_form: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_rg_form_meta: Data: 0.03MB + Index: 0.00MB + Engine MyISAM
    wp_rg_form_view: Data: 0.22MB + Index: 0.11MB + Engine MyISAM
    wp_rg_incomplete_submissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_rg_lead: Data: 11.25MB + Index: 0.90MB + Engine MyISAM
    wp_rg_lead_detail: Data: 4.82MB + Index: 7.49MB + Engine MyISAM
    wp_rg_lead_detail_long: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_rg_lead_meta: Data: 5.93MB + Index: 2.79MB + Engine MyISAM
    wp_rg_lead_notes: Data: 0.07MB + Index: 0.03MB + Engine MyISAM
    wp_termmeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wp_terms: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wp_term_relationships: Data: 0.01MB + Index: 0.02MB + Engine MyISAM
    wp_term_taxonomy: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wp_usermeta: Data: 2.64MB + Index: 1.48MB + Engine MyISAM
    wp_users: Data: 0.11MB + Index: 0.11MB + Engine MyISAM
    wp_wccs_conditions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wccs_condition_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_download_log: Data: 0.06MB + Index: 0.05MB + Engine MyISAM
    wp_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_webhooks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_wpam_actions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wpam_affiliates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wpam_affiliates_fields: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wpam_creatives: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wpam_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wpam_impressions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wpam_messages: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wpam_paypal_logs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wpam_tracking_tokens: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wpam_tracking_tokens_purchase_logs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wpam_transactions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wp_pro_quiz_category: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_wp_pro_quiz_form: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_wp_pro_quiz_lock: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_wp_pro_quiz_master: Data: 0.05MB + Index: 0.00MB + Engine MyISAM
    wp_wp_pro_quiz_prerequisite: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_wp_pro_quiz_question: Data: 0.91MB + Index: 0.04MB + Engine MyISAM
    wp_wp_pro_quiz_statistic: Data: 2.30MB + Index: 0.93MB + Engine MyISAM
    wp_wp_pro_quiz_statistic_ref: Data: 0.09MB + Index: 0.20MB + Engine MyISAM
    wp_wp_pro_quiz_template: Data: 0.02MB + Index: 0.00MB + Engine MyISAM
    wp_wp_pro_quiz_toplist: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_yoast_seo_links: Data: 0.15MB + Index: 0.04MB + Engine MyISAM
    wp_yoast_seo_meta: Data: 0.07MB + Index: 0.07MB + Engine MyISAM
    
    ### Security ###
    
    Secure connection (HTTPS): ✔
    Hide errors from visitors: ✔
    
    ### Active Plugins (29) ###
    
    Gravity Forms: by rocketgenius – 2.2.5
    WP Affiliate Manager: by wp.insider
    wpaffiliatemgr – 2.6.5
    
    All-in-One WP Migration: by ServMask – 6.96
    Activity Log: by Activity Log Team – 2.5.2
    Cookie Notice: by dFactory – 1.2.46
    Display PHP Version: by David Gwyer – 1.5
    Duplicate Post: by Enrico Battocchi – 3.2.3
    Duplicator: by Snap Creek – 1.3.12
    Enhanced E-commerce for Woocommerce store: by Tatvic – 2.1.7 – Not tested with the active version of WooCommerce
    Gravity Forms MailChimp Add-On: by rocketgenius – 4.3
    WPBakery Page Builder: by Michael M - WPBakery.com – 6.0.2
    LearnDash WooCommerce Integration: by LearnDash – 1.3.2 – Not tested with the active version of WooCommerce
    Mailchimp for WooCommerce: by Mailchimp – 2.1.16 – Not tested with the active version of WooCommerce
    Mailchimp for WordPress: by ibericode – 4.5.2
    Subscriptions For Downloadable Products: by codeable – 1.0 – Not tested with the active version of WooCommerce
    Really Simple SSL: by Rogier Lankhorst
    Mark Wolters – 3.2.5
    
    Redirection: by John Godley – 4.2.3
    Redsys WooCommerce: by Redsys – 3.0.1 – Not tested with the active version of WooCommerce
    LearnDash LMS: by LearnDash – 2.5.8.2
    Simple Social Buttons: by WPBrigade – 3.1.0
    W3 Total Cache: by Frederick Townes – 0.9.7.4
    Woo Discount Rules: by Flycart Technologies LLP – 1.9.5
    WooCommerce PayPal Checkout Gateway: by WooCommerce – 1.6.18 – 2.0.2 is available
    WooCommerce Stripe Gateway: by WooCommerce – 4.3.1
    WooCommerce Google Analytics Integration: by WooCommerce – 1.4.14 – Not tested with the active version of WooCommerce
    WooCommerce Subscriptions: by Prospress Inc. – 2.5.2 – Not tested with the active version of WooCommerce
    WooCommerce: by Automattic – 3.8.1
    Yoast SEO: by Team Yoast – 11.2.1 – Not tested with the active version of WooCommerce
    WP Mail SMTP: by WPForms – 1.4.2
    
    ### Inactive Plugins (4) ###
    
    AddToAny Share Buttons: by AddToAny – 1.7.39
    Easy WooCommerce Discounts - WooCommerce Dynamic Pricing & Shipping: by Asana Plugins – 4.1.0
    WooCommerce Pay Per Post: by Pramadillo – 2.2.1 – Not tested with the active version of WooCommerce
    Woocommerce Table Rate Shipping: by JEM Plugins – 2.0.7
    
    ### Dropin Plugins (1) ###
    
    advanced-cache.php: advanced-cache.php
    
    ### Settings ###
    
    API Enabled: ✔
    Force SSL: –
    Currency: EUR (€)
    Currency Position: left
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 2
    Taxonomies: Product Types: course (course)
    external (external)
    grouped (grouped)
    simple (simple)
    subscription (subscription)
    variable (variable)
    variable subscription (variable-subscription)
    
    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 WooCommerce.com: –
    
    ### WC Pages ###
    
    Shop base: ❌ Page not set
    Cart: #88 - /cart/
    Checkout: #89 - /checkout/
    My account: ❌ Page does not contain the shortcode.
    Terms and conditions: ❌ Page not set
    
    ### Theme ###
    
    Name: Learn Hot English
    Version: 1.0
    Author URL: http://faisalmughal.com
    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
    WooCommerce Support: ❌ Not declared
    
    ### Templates ###
    
    Overrides: /woocommerce/checkout/form-billing.php
    /woocommerce/checkout/form-checkout.php
    /woocommerce/checkout/form-shipping.php
    /woocommerce/checkout/order-receipt.php
    /woocommerce/checkout/review-order.php version 3.3.0 is out of date. The core version is 3.8.0
    /woocommerce/checkout/thankyou.php
    /woocommerce/content-product.php
    /woocommerce/content-single-product.php
    /woocommerce/emails/customer-completed-order.php
    /woocommerce/emails/email-header.php
    /woocommerce/emails/email-styles.php
    /woocommerce/order/order-details-customer.php
    /woocommerce/single-product/tabs/tabs.php version 2.4.0 is out of date. The core version is 3.8.0
    /single-product.php
    
    Outdated Templates: ❌
    					
    					
    						Learn how to update
    
    ### Subscriptions ###
    
    WCS_DEBUG: ✔ No
    Subscriptions Mode: ✔ Live
    Subscription Statuses: wc-active: 75
    wc-expired: 1
    wc-pending-cancel: 1
    wc-pending: 1
    wc-on-hold: 15
    wc-cancelled: 71
    
    WooCommerce Account Connected: ❌ No
    Report Cache Enabled: ✔ Yes
    Cache Update Failures: ✔ 0 failure
    
    ### Store Setup ###
    
    Country / State: Spain — Madrid
    
    ### Subscriptions by Payment Gateway ###
    
    other: wc-cancelled: 9
    PayPal Checkout: wc-active: 1
    wc-cancelled: 28
    wc-pending: 1
    
    Stripe: wc-active: 61
    wc-cancelled: 33
    wc-on-hold: 14
    
    ### Payment Gateway Support ###
    
    PayPal Checkout: products
    refunds
    subscriptions
    subscription_cancellation
    subscription_reactivation
    subscription_suspension
    multiple_subscriptions
    subscription_payment_method_change_customer
    subscription_payment_method_change_admin
    subscription_amount_changes
    subscription_date_changes
    
    Stripe: products
    refunds
    tokenization
    add_payment_method
    subscriptions
    subscription_cancellation
    subscription_suspension
    subscription_reactivation
    subscription_amount_changes
    subscription_date_changes
    subscription_payment_method_change
    subscription_payment_method_change_customer
    subscription_payment_method_change_admin
    multiple_subscriptions
    pre-orders
    
    ### Action Scheduler ###
    
    Complete: 153
    Oldest: 2020-05-03 15:59:43 +0000
    Newest: 2020-06-03 11:12:44 +0000
    
    Pending: 82
    Oldest: 2020-06-03 14:41:11 +0000
    Newest: 2021-06-03 14:36:08 +0000
    
    Canceled: 12
    Oldest: 2020-05-05 14:18:37 +0000
    Newest: 2021-05-05 14:05:45 +0000
    
    In-progress: 0
    Oldest: –
    Newest: –
    
    Failed: 2
    Oldest: 2019-06-22 18:48:15 +0000
    Newest: 2019-06-23 18:49:35 +0000
    
    
    Plugin Support slash1andy

    (@slash1andy)

    Automattic Happiness Engineer

    Hey again!

    It looks like your theme is overriding basically all the WooCommerce checkout page templates:

    Overrides: /woocommerce/checkout/form-billing.php
    /woocommerce/checkout/form-checkout.php
    /woocommerce/checkout/form-shipping.php
    /woocommerce/checkout/order-receipt.php
    /woocommerce/checkout/review-order.php version 3.3.0 is out of date. The core version is 3.8.0
    /woocommerce/checkout/thankyou.php
    /woocommerce/content-product.php
    /woocommerce/content-single-product.php
    /woocommerce/emails/customer-completed-order.php
    /woocommerce/emails/email-header.php
    /woocommerce/emails/email-styles.php
    /woocommerce/order/order-details-customer.php
    /woocommerce/single-product/tabs/tabs.php version 2.4.0 is out of date. The core version is 3.8.0
    /single-product.php

    This kind of problem is usually caused by either a conflict with your theme or with another plugin.
     
    The best way to determine this is to:

    • Temporarily switch your theme to Storefront
    • Disable all plugins except for WooCommerce
    • Repeat the action that is causing the problem

    If you’re not seeing the same problem after completing the conflict test, then you know the problem was with the plugins and/or theme you deactivated. To figure out which plugin is causing the problem, reactivate your other plugins one by one, testing after each, until you find the one causing conflict. You can find a more detailed explanation on how to do a conflict test here.

    Plugin Support Tseten a11n

    (@tibetanitech)

    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 4 replies - 1 through 4 (of 4 total)

The topic ‘Error: Billing Postcode / ZIP is not a valid postcode / ZIP’ is closed to new replies.