Support » Plugin: WooCommerce » WooCommerce Checkout Error Billing Country not valid

  • Resolved grazalemacycling

    (@grazalemacycling)


    Hi,

    Since a couple of weeks, we have noticed that foreign visitors to our website (we run our website from Spain) are experiencing a problem with the checkout at our webshop, that is run with the WooCommerce plugin.

    In the Error Log of WooCommerce the following messages show up repeatedly:
    – DEBUG Billing Country is not valid.
    – DEBUG Billing Country default is not valid.

    We temporarily switched to Storefront.
    We deactivated temporarily all our plugins, except WooCommerce.
    We tried to change our default billing country with the code that is shown on this link (https://docs.woocommerce.com/document/change-the-default-state-and-country-on-the-checkout/#) but this didn´t solve the problem either.

    Could somebody please help us to solve this issue?

    I will include our WooCommerce status report below:

    
    ### WordPress Environment ###
    
    WordPress address (URL): https://www.grazalemacycling.com
    Site address (URL): https://www.grazalemacycling.com
    WC Version: 4.8.0
    REST API Version: ✔ 4.8.0
    WC Blocks Version: ✔ 3.8.1
    Action Scheduler Version: ✔ 3.1.6
    WC Admin Version: ✔ 1.7.3
    Log Directory Writable: ✔
    WP Version: 5.6
    WP Multisite: –
    WP Memory Limit: 512 MB
    WP Debug Mode: –
    WP Cron: ✔
    Language: en_US
    External object cache: ✔
    
    ### Server Environment ###
    
    Server Info: LiteSpeed
    PHP Version: 7.4.13
    PHP Post Max Size: 128 MB
    PHP Time Limit: 180
    PHP Max Input Vars: 10000
    cURL Version: 7.71.0
    OpenSSL/1.1.1d
    
    SUHOSIN Installed: –
    MySQL Version: 10.3.27-MariaDB
    Max Upload Size: 128 MB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ✔
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔
    
    ### Database ###
    
    WC Database Version: 4.8.0
    WC Database Prefix: wp_
    Total Database Size: 74.97MB
    Database Data Size: 51.63MB
    Database Index Size: 23.34MB
    wp_woocommerce_sessions: Data: 0.20MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_order_itemmeta: Data: 0.09MB + Index: 0.14MB + Engine InnoDB
    wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_actions: Data: 0.06MB + Index: 0.11MB + Engine InnoDB
    wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_logs: Data: 0.05MB + Index: 0.03MB + Engine InnoDB
    wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_comments: Data: 0.05MB + Index: 0.09MB + Engine InnoDB
    wp_icl_cms_nav_cache: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_icl_content_status: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_icl_core_status: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_icl_flags: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_icl_languages: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_icl_languages_translations: Data: 0.19MB + Index: 0.08MB + Engine InnoDB
    wp_icl_locale_map: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_icl_message_status: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_icl_mo_files_domains: Data: 0.05MB + Index: 0.02MB + Engine InnoDB
    wp_icl_node: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_icl_reminders: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_icl_strings: Data: 8.52MB + Index: 11.09MB + Engine InnoDB
    wp_icl_string_batches: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_icl_string_packages: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_icl_string_pages: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_icl_string_positions: Data: 6.52MB + Index: 1.52MB + Engine InnoDB
    wp_icl_string_status: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_icl_string_translations: Data: 8.52MB + Index: 4.03MB + Engine InnoDB
    wp_icl_string_urls: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_icl_translate: Data: 3.52MB + Index: 0.14MB + Engine InnoDB
    wp_icl_translate_job: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_icl_translations: Data: 0.16MB + Index: 0.31MB + Engine InnoDB
    wp_icl_translation_batches: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_icl_translation_downloads: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_icl_translation_status: Data: 3.52MB + Index: 0.02MB + Engine InnoDB
    wp_layerslider: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_layerslider_revisions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_litespeed_img_optm: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_mollie_pending_payment: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_ngg_album: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_ngg_gallery: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_ngg_pictures: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_options: Data: 4.25MB + Index: 0.27MB + Engine InnoDB
    wp_postmeta: Data: 7.52MB + Index: 3.02MB + Engine InnoDB
    wp_posts: Data: 4.52MB + Index: 0.38MB + Engine InnoDB
    wp_redsys_reference: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_revslider_css: Data: 0.13MB + Index: 0.00MB + Engine InnoDB
    wp_revslider_css_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_revslider_layer_animations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_revslider_layer_animations_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_revslider_navigations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_revslider_navigations_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_revslider_sliders: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_revslider_sliders_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_revslider_slides: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_revslider_slides_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_revslider_static_slides: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_revslider_static_slides_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_strong_views: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_termmeta: Data: 0.05MB + Index: 0.03MB + Engine InnoDB
    wp_terms: Data: 0.05MB + Index: 0.03MB + Engine InnoDB
    wp_term_relationships: Data: 0.08MB + Index: 0.05MB + Engine InnoDB
    wp_term_taxonomy: Data: 0.05MB + Index: 0.03MB + Engine InnoDB
    wp_usermeta: Data: 0.11MB + Index: 0.03MB + Engine InnoDB
    wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wc_admin_notes: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_product_meta_lookup: Data: 0.06MB + Index: 0.09MB + Engine InnoDB
    wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wpfb_badges: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wpfb_floats: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wpfb_forms: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wpfb_getapps_forms: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wpfb_gettwitter_forms: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wpfb_nofitifcation_forms: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wpfb_post_templates: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wpfb_reviewfunnel: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wpfb_reviews: Data: 0.11MB + Index: 0.02MB + Engine InnoDB
    wp_wpfb_total_averages: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_yoast_indexable: Data: 1.52MB + Index: 0.41MB + Engine InnoDB
    wp_yoast_indexable_hierarchy: Data: 0.05MB + Index: 0.05MB + Engine InnoDB
    wp_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_yoast_seo_links: Data: 0.08MB + Index: 0.03MB + Engine InnoDB
    wp_yoast_seo_meta: Data: 0.06MB + Index: 0.00MB + Engine InnoDB
    
    ### Post Type Counts ###
    
    attachment: 862
    customize_changeset: 6
    elementor_library: 1
    envira: 1
    foogallery: 1
    nav_menu_item: 113
    ngg_gallery: 1
    ngg_pictures: 8
    oembed_cache: 40
    page: 85
    post: 3
    product: 40
    product_variation: 399
    revision: 318
    shop_order: 57
    tablepress_table: 2
    testimonial: 6
    testimonial_rotator: 1
    wpcf7_contact_form: 3
    
    ### Security ###
    
    Secure connection (HTTPS): ✔
    Hide errors from visitors: ✔
    
    ### Active Plugins (16) ###
    
    WPML Multilingual CMS: by OnTheGoSystems – 4.4.8
    Yoast SEO Multilingual: by OnTheGoSystems – 1.2.4
    Advanced noCaptcha & invisible Captcha: by Shamim Hasan – 6.1.5
    Akismet Anti-Spam: by Automattic – 4.1.7
    Contact Form 7 Multilingual: by OnTheGoSystems – 1.0.2
    Contact Form 7: by Takayuki Miyoshi – 5.3.2
    Cookie Notice: by dFactory – 1.3.2
    Mollie Payments for WooCommerce: by Mollie – 6.0
    Redsys WooCommerce: by Redsys – 3.0.1 – Installed version not tested with active version of WooCommerce 4.0
    W3 Total Cache: by BoldGrid – 2.0.0
    WooCommerce Multilingual: by OnTheGoSystems – 4.10.4
    WooCommerce: by Automattic – 4.8.0
    Yoast SEO: by Team Yoast – 15.5
    WP Review Slider Pro (Premium): by LJ Apps – 11.0.9.4
    WPML String Translation: by OnTheGoSystems – 3.1.6
    WPML Translation Management: by OnTheGoSystems – 2.10.4
    
    ### Inactive Plugins (0) ###
    
    ### Dropin Plugins (2) ###
    
    advanced-cache.php: advanced-cache.php
    object-cache.php: object-cache.php
    
    ### 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 WooCommerce.com: ✔
    
    ### WC Pages ###
    
    Shop base: #1092 - /shop/
    Cart: #1093 - /cart/
    Checkout: #1094 - /checkout/
    My account: #1095 - /shop/my-account/
    Terms and conditions: #2780 - /terms-and-conditions/webshop/
    
    ### Theme ###
    
    Name: Betheme Child
    Version: 1.6.1.1
    Author URL: https://www.grazalemacycling.com
    Child Theme: ✔
    Parent Theme Name: Betheme
    Parent Theme Version: 21.9.5
    Parent Theme Author URL: https://muffingroup.com/
    WooCommerce Support: ✔
    
    ### Templates ###
    
    Overrides: betheme/woocommerce/archive-product.php
    betheme/woocommerce/cart/cart.php
    betheme/woocommerce/cart/mini-cart.php
    betheme/woocommerce/content-product.php
    betheme/woocommerce/content-single-product.php
    betheme/woocommerce/loop/loop-end.php
    betheme/woocommerce/loop/loop-start.php
    betheme/woocommerce/loop/no-products-found.php
    betheme/woocommerce/loop/pagination.php
    betheme/woocommerce/notices/error.php
    betheme/woocommerce/notices/notice.php
    betheme/woocommerce/notices/success.php
    betheme/woocommerce/single-product/add-to-cart/external.php
    betheme-child/woocommerce/single-product/add-to-cart/variable.php
    betheme-child/woocommerce/single-product/add-to-cart/variation-add-to-cart-button.php
    betheme-child/woocommerce/single-product/add-to-cart/variation.php
    betheme/woocommerce/single-product/product-image.php
    betheme/woocommerce/single-product/product-thumbnails.php
    betheme/woocommerce/single-product/sale-flash.php
    betheme/woocommerce/single-product/tabs/additional-information.php
    betheme/woocommerce/single-product/tabs/description.php
    betheme/woocommerce/single-product/tabs/tabs.php
    betheme/woocommerce/single-product/title.php
    
    ### Action Scheduler ###
    
    Canceled: 1
    Oldest: 2020-12-19 15:21:08 +0000
    Newest: 2020-12-19 15:21:08 +0000
    
    Complete: 134
    Oldest: 2020-11-22 20:06:45 +0000
    Newest: 2020-12-19 16:10:09 +0000
    
    

    The page I need help with: [log in to see the link]

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

    (@fylgjur)

    Hi! Which plugin did the error log appear in, please? Is it related to your payment gateway, Mollie?

    If the log is from Mollie, my advice would be to post in the Mollie forum so that the developer can take a look.

    Thread Starter grazalemacycling

    (@grazalemacycling)

    Hi Victoria,

    Thank you very much for your reply. The error log appears in WooCommerce and is called “mollie-payments-for-woocommerce+date”, but we temporarily switched to the Storefront theme and deactivated all plugins (Mollie included) except for WooCommerce with the idea to switch them on one by one to see which one is causing a conflict. However, the same error turns up with all plugins but WooCommerce deactivated, so I doubt that the error has something to do with Mollie.

    I contacted Mollie and they said that the error seems to be on the WooCommerce side and not on their side.

    Plugin Support Victoria

    (@fylgjur)

    Hi!

    Can you make doubly sure in WooCommerce -> Settings that your shop base address and default customer address are configured correctly?

    Are you able to run a complete test purchase using a different payment gateway such as PayPal or Stripe? If successful, that would also confirm whether the error is with a particular gateway or not.

    I see from this forum post in the Mollie forum that another user hardcoded their country code using the same link you suggested – and for them, that worked.

    On the same forum thread there’s an email address for the developer where they asked the original poster to send log files. Since the error you sent is being generated in a log entitled “mollie-payments-for-woocommerce”, that means that Mollie is generating the error, so it’s something connected with that payment gateway that is happening here. It would not be possible for that log to be written into if Mollie was deactivated during your test. Here’s general information about the WooCommerce logs.

    As it’s a third party extension, it’s outside our scope of support here to help with I’m afraid, so I’d encourage you to try again with Mollie and send them the full text of the log.

    Plugin Support gabrielfuentes

    (@gabrielfuentes)

    Hi there 👋

    We’ve not heard back from you in a while, so I’m marking this thread as resolved.

    Hopefully, you were able to find a solution to your problem! If you have further questions, please feel free to open a new topic.

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.