Support » Plugin: WooCommerce » Bug report – Tax setting for Norway (NO) doesn’t work…

  • Resolved MikaelG

    (@armbreaker)


    I have now tried everything. I have set-up taxes for each country I sell and ship to. And all countries taxes is correctly shown with the custom tax text, all except for Norway. For some reason I see the text from the Swedish tax (SE) when choosing Norway in checkout.
    This must be a bug. I even tried removing all countries except Norway and then there is no tax shown at all…

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Support Hannah S.

    (@fernashes)

    Automattic Happiness Engineer

    Hey there,

    That sounds odd!

    Can you please share a screenshot of the tax settings? And can you please share the link to your site so I can test the behavior?

    Could you please share a copy of your site’s System Status? 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.

    Hi.

    Yes, you can visit the store here: https://www.armsportstore.com/
    Add a product to the cart then head over to the checkout.
    Choose Norway in the checkout and look closely on tax-text inside the () beside the total price. Norway have the following tax-settings in WooCommerce: NO 0.0000 EU VAT (NO).

    But if you choose Norway as suggested, then you will see this text: EU VAT (SE) which is only for SE = Sweden.

    I added the text with two letter country code to all country taxes set-up just to debug this. So if you try other countries, you will see correct country codes. It is only on Norway it fails.

    
    ### WordPress Environment ###
    
    WordPress address (URL): https://www.armsportbutiken.se
    Site address (URL): https://www.armsportbutiken.se
    WC Version: 3.6.2
    Log Directory Writable: ✔
    WP Version: 5.2
    WP Multisite: –
    WP Memory Limit: 512 MB
    WP Debug Mode: –
    WP Cron: ✔
    Language: sv_SE
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: Apache/2
    PHP Version: 7.3.4
    PHP Post Max Size: 256 MB
    PHP Time Limit: 300
    PHP Max Input Vars: 10000
    cURL Version: 7.62.0
    OpenSSL/1.0.2k
    
    SUHOSIN Installed: –
    MySQL Version: 5.5.5-10.3.14-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: 3.6.2
    WC Database Prefix: wp_
    MaxMind GeoIP Database: ✔
    Total databasstorlek: 28.36MB
    Datastorlek för databas: 15.59MB
    Indexstorlek för databas: 12.77MB
    wp_woocommerce_sessions: Data: 0.11MB + Index: 0.02MB
    wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB
    wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB
    wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB
    wp_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB
    wp_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB
    wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB
    wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB
    wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB
    wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB
    wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB
    wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB
    wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB
    wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB
    wp_aiowps_events: Data: 0.08MB + Index: 0.00MB
    wp_aiowps_failed_logins: Data: 0.02MB + Index: 0.00MB
    wp_aiowps_global_meta: Data: 0.02MB + Index: 0.00MB
    wp_aiowps_login_activity: Data: 0.02MB + Index: 0.00MB
    wp_aiowps_login_lockdown: Data: 0.02MB + Index: 0.00MB
    wp_aiowps_permanent_block: Data: 0.02MB + Index: 0.00MB
    wp_berocket_termmeta: Data: 0.02MB + Index: 0.00MB
    wp_commentmeta: Data: 0.00MB + Index: 0.00MB
    wp_comments: Data: 0.00MB + Index: 0.00MB
    wp_icl_content_status: Data: 0.02MB + Index: 0.02MB
    wp_icl_core_status: Data: 0.02MB + Index: 0.02MB
    wp_icl_flags: Data: 0.02MB + Index: 0.02MB
    wp_icl_languages: Data: 0.02MB + Index: 0.03MB
    wp_icl_languages_translations: Data: 0.20MB + Index: 0.13MB
    wp_icl_locale_map: Data: 0.02MB + Index: 0.00MB
    wp_icl_message_status: Data: 0.02MB + Index: 0.03MB
    wp_icl_mo_files_domains: Data: 0.02MB + Index: 0.02MB
    wp_icl_node: Data: 0.02MB + Index: 0.00MB
    wp_icl_reminders: Data: 0.02MB + Index: 0.00MB
    wp_icl_strings: Data: 4.52MB + Index: 6.94MB
    wp_icl_string_packages: Data: 0.02MB + Index: 0.00MB
    wp_icl_string_pages: Data: 3.52MB + Index: 2.52MB
    wp_icl_string_positions: Data: 0.28MB + Index: 0.08MB
    wp_icl_string_status: Data: 0.02MB + Index: 0.02MB
    wp_icl_string_translations: Data: 2.52MB + Index: 1.52MB
    wp_icl_string_urls: Data: 0.02MB + Index: 0.02MB
    wp_icl_translate: Data: 0.28MB + Index: 0.05MB
    wp_icl_translate_job: Data: 0.02MB + Index: 0.02MB
    wp_icl_translations: Data: 0.08MB + Index: 0.17MB
    wp_icl_translation_batches: Data: 0.02MB + Index: 0.00MB
    wp_icl_translation_status: Data: 0.38MB + Index: 0.02MB
    wp_imagify_files: Data: 0.02MB + Index: 0.08MB
    wp_imagify_folders: Data: 0.02MB + Index: 0.03MB
    wp_links: Data: 0.00MB + Index: 0.00MB
    wp_ms_snippets: Data: 0.02MB + Index: 0.00MB
    wp_options: Data: 0.92MB + Index: 0.09MB
    wp_postmeta: Data: 1.07MB + Index: 0.16MB
    wp_posts: Data: 0.44MB + Index: 0.04MB
    wp_shipment_batch_process: Data: 0.02MB + Index: 0.00MB
    wp_slim_events: Data: 0.02MB + Index: 0.03MB
    wp_slim_events_archive: Data: 0.02MB + Index: 0.02MB
    wp_slim_stats: Data: 0.06MB + Index: 0.02MB
    wp_slim_stats_archive: Data: 0.02MB + Index: 0.02MB
    wp_snippets: Data: 0.05MB + Index: 0.00MB
    wp_termmeta: Data: 0.05MB + Index: 0.03MB
    wp_terms: Data: 0.01MB + Index: 0.03MB
    wp_term_relationships: Data: 0.02MB + Index: 0.04MB
    wp_term_taxonomy: Data: 0.01MB + Index: 0.02MB
    wp_usermeta: Data: 0.01MB + Index: 0.01MB
    wp_users: Data: 0.00MB + Index: 0.01MB
    wp_wcpdf_credit_note_number: Data: 0.02MB + Index: 0.00MB
    wp_wcpdf_invoice_number: Data: 0.02MB + Index: 0.00MB
    wp_wcpdf_packing_slip_number: Data: 0.02MB + Index: 0.00MB
    wp_wcpdf_proforma_number: Data: 0.02MB + Index: 0.00MB
    wp_wc_download_log: Data: 0.02MB + Index: 0.03MB
    wp_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB
    wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB
    wp_woo_shipment_status_email: Data: 0.02MB + Index: 0.00MB
    wp_woo_shippment_provider: Data: 0.02MB + Index: 0.00MB
    
    ### Post Type Counts ###
    
    attachment: 226
    br_labels: 6
    custom_css: 1
    customize_changeset: 2
    nav_menu_item: 44
    page: 18
    post: 3
    product: 26
    product_variation: 36
    revision: 2
    shop_coupon: 1
    
    ### Security ###
    
    Secure connection (HTTPS): ✔
    Hide errors from visitors: ✔
    
    ### Active Plugins (41) ###
    
    WPML Multilingual CMS: av OnTheGoSystems – 4.2.6
    Advanced Database Cleaner: av Younes JFR. – 2.0.0
    AJAX Search for WooCommerce: av Damian Góra – 1.4.0
    All In One WP Security: av Tips and Tricks HQ
    Peter Petreski
    Ruhul
    Ivy – 4.3.9
    
    Classic Editor: av Bidragsgivare till WordPress – 1.5
    Code Snippets: av Shea Bunge – 2.13.3
    Customer Reviews for WooCommerce: av ivole – 3.71
    Edit Author Slug: av Brandon Allen – 1.6.0
    Email Address Encoder: av Till Krüss – 1.0.19
    Flexible Shipping: av WP Desk – 3.3.12
    Google XML Sitemaps: av Arne Brachhold – 4.1.0
    Imagify: av WP Media – 1.9.0
    Klarna Checkout för WooCommerce: av Krokedil – 1.9.6 – Inte testat med den aktiva versionen för WooCommerce
    Klarna Order Management for WooCommerce: av klarna
    krokedil – 1.2.5 – Inte testat med den aktiva versionen för WooCommerce
    
    Maintenance Switch: av Fugu – 1.5.2
    Prevent Browser Caching: av Kostya Tereshchuk – 2.3.1
    Revision Control: av Dion Hulse – 2.3.2
    Sitewide Notice WP: av Yoohoo Plugins – 2.0.4
    Storefront Blog Customiser: av WooCommerce – 1.3.0
    Storefront Footer Bar: av WooThemes – 1.0.4
    Storefront Parallax Hero: av WooCommerce – 1.5.7
    Storefront Powerpack: av WooCommerce – 1.4.15
    Storefront Product Sharing: av WooCommerce – 1.0.6
    Storefront Reviews: av WooCommerce – 1.0.5 – Inte testat med den aktiva versionen för WooCommerce
    Open Graph för Facebook, Google+ och Twitter korttaggar: av Webdados – 2.2.6.1
    Advanced Shipment Tracking for WooCommerce: av zorem – 1.9.5.2
    WooCommerce Cart Weight: av WP Desk – 1.1.6
    WooCommerce Advanced Product Labels: av BeRocket – 3.1.6.2 – Inte testat med den aktiva versionen för WooCommerce
    WooCommerce Swish Gateway: av Redlight Media – 3.0.1 – Inte testat med den aktiva versionen för WooCommerce
    WooCommerce Multilingual: av OnTheGoSystems – 4.6.2.1
    WooCommerce PDF Invoices & Packing Slips: av Ewout Fernhout – 2.2.12
    WooCommerce PDF Invoices & Packing Slips Professional: av Ewout Fernhout – 2.2.14
    WooCommerce PDF Invoices & Packing Slips Premium Templates: av Ewout Fernhout – 2.6.2 – Inte testat med den aktiva versionen för WooCommerce
    WooCommerce: av Automattic – 3.6.2
    WP Rollback: av Impress.org – 1.6
    WPFront Scroll Top: av Syam Mohan – 2.0.1
    WPML Media: av OnTheGoSystems – 2.5.2
    WPML String Translation: av OnTheGoSystems – 2.10.4
    WPML Translation Management: av OnTheGoSystems – 2.8.5
    WP Overnight Sidekick: av Jeremiah Prummer
    Ewout Fernhout
    Michael Kluver – 2.0.4
    
    WPS Hide Login: av WPServeur
    NicolasKulka
    tabrisrp – 1.5.2.1
    
    ### Inactive Plugins (2) ###
    
    Regenerate Thumbnails: av Alex Mills (Viper007Bond) – 3.1.0
    Slimstat Analytics: av Jason Crouse – 4.8
    
    ### Dropin Plugins (1) ###
    
    maintenance.php: maintenance.php
    
    ### Settings ###
    
    API Enabled: –
    Force SSL: –
    Currency: SEK (kr)
    Currency Position: right
    Thousand Separator: .
    Decimal Separator: ,
    Number of Decimals: 2
    Taxonomies: Product Types: external (external)
    grouped (grouped)
    simple (simple)
    variable (variable)
    woosb (woosb)
    
    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 ###
    
    Butikbas: #43 - /butik/
    Varukorg: #44 - /varukorg/
    Kassan: #45 - /kassan/
    Mitt konto: #46 - /mitt-konto/
    Allmänna villkor: #10 - /kopvillkor/
    
    ### Theme ###
    
    Name: ProShop
    Version: 2.0.15
    Author URL: https://woocommerce.com
    Child Theme: ✔
    Parent Theme Name: Storefront
    Parent Theme Version: 2.4.6 – 2.5.0 finns tillgänglig
    Parent Theme Author URL: https://woocommerce.com/
    WooCommerce Support: ✔
    
    ### Templates ###
    
    Overrides: –
    
    ### Klarna Checkout ###
    
    Orders created via API callback: 0% (0 of 0) of all orders paid via Klarna Checkout were created via API callback during the last month. This is a fallback order creation feature. You should aim for 0%.
    
    ### Action Scheduler ###
    
    Complete: 0
    Oldest: –
    Newest: –
    
    Pending: 0
    Oldest: –
    Newest: –
    
    Canceled: 0
    Oldest: –
    Newest: –
    
    In-progress: 0
    Oldest: –
    Newest: –
    
    Failed: 0
    Oldest: –
    Newest: –
    
    

    Sorry, forgot to add the screenshot: https://i.imgur.com/ahxsGvN.jpg of the tax settings.

    Plugin Support Hannah S.

    (@fernashes)

    Automattic Happiness Engineer

    Thanks for all of this information, and good call on adding the country codes to the tax labels to help with debugging.

    I tested by adding a product to the cart, noting that the country is auto set to Sweden at checkout:

    Checkout SE
    Link to image: https://cld.wthms.co/yjQgFj

    Interestingly, I’m not seeing the SE notation next to the tax label, just moms.

    I switched the country in the checkout to Norway, the totals look exactly the same, including noting moms. That matches what you’ve been seeing.

    I switched to Poland, and the information does update:

    Checkout PL
    Link to image: https://cld.wthms.co/0aXh9H

    Can you please share a screenshot of the Taxes settings, i.e. the “Moms” section in your screenshot? I’d like to know how it’s set up for your shop.

    • This reply was modified 5 months, 2 weeks ago by  Hannah S.. Reason: Fixed image

    Hi.

    Yeah, the reason that you don’t see what I wrote earlier is that I changed all settings and removed the country specific taxes for all countries, that I previously had.

    I also changed the WooCommerce setting to add prices without tax and then I added only 3 different tax settings.
    * 25.000 VAT (used to have 25% VAT for all countries as base)
    SE 25.000 moms (used only for Sweden, that is why you saw “moms”)
    NO 0.000 NO MVA (used only for Norway to remove tax = not working at all)

    So Norway keeps being the problem. It revert backs to Swedish tax and displaying “moms”. All other countries display VAT as intended.

    And another thing, do you know why the country is auto set to Sweden? I don’t seem to find any setting for this. I have setup the calculate tax on the customers delivery address. Don’t know exactly what is says on English, as I have everything in Swedish. So why is it auto setting tax country to Sweden as default?

    But regardless of this, it is obvious that tax for Norway isn’t working. Do you have the possibility to test this on your side to see if it is WooCommerce itself that have the bug.
    I have WPML & WooCommerce Multilingual running on this site too. Don’t know if that have anything to do with it. It feels like a stretch as tax settings is dependent on WooCommerce, but wanted to mention it anyway.

    Plugin Support Hannah S.

    (@fernashes)

    Automattic Happiness Engineer

    Hey there,

    I have not been able to replicate this on my own test site, which is why I’m asking you lots of questions to understand where things may be going wrong. I’d like to make sure settings are all correct – if the settings don’t turn out to be the problem, then the next step is a conflict test to rule out problems with the complex set-up around WPML and Multi-lingual.

    Can you please share a screenshot of the Taxes settings, i.e. the “Moms” section in your screenshot? I’d like to know how it’s set up for your shop.

    And another thing, do you know why the country is auto set to Sweden?

    At this point, I don’t know – it could be a setting, or it could be coming from one of those plugins.

    Can you please share a screenshot of the WooCommerce > Settings > General tab? I’m interested in all of the settings, but particularly how the customer location is set.

    If you’d like to jump ahead to the conflict test, here’s how to get started:

    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.

    It sounds like a staging site could be a good idea. If your host doesn’t offer that option, we recommend WP Staging for quickly spinning up a new test site.

    Hi.

    Appreciate your effort with this. As I believe there is more to this then just the tax… The site is really slow. And I have an webhost account that is superfast, so performance of the hardware isn’t a problem. Something else is killing the site performance. Have also had issues with all products disappearing from Shop page of the default language from time to time. Strangly the products are visible when searching and when browsing categories. My solution to this is saving permalink settings, as this fixes the problem temporary.

    Here are the requested screenshots:
    WooCommerce Settings – General: https://i.imgur.com/5gcT2tS.jpg

    Tax options: https://i.imgur.com/GP311Ib.jpg

    Tax settings: https://i.imgur.com/HkJAowc.jpg

    Plugin Support Hannah S.

    (@fernashes)

    Automattic Happiness Engineer

    Hey there,

    Happy to help! Thanks for all of those screenshots – that’s exactly what I needed to see.

    As I believe there is more to this then just the tax… The site is really slow. And I have an webhost account that is superfast, so performance of the hardware isn’t a problem. Something else is killing the site performance. Have also had issues with all products disappearing from Shop page of the default language from time to time.

    For me, the location is defaulting to Sweden as the location is set to localisera, so geolocating. If you’re also based in Sweden, you’ll see the same thing. The best way to test this is to set up a VPN and make it look like you’re coming from a different country.

    Geolocate
    Link to image: https://cld.wthms.co/qLldfN

    From going through the screenshots, I can confirm that you’ve set up everything correctly. I set up matching settings and can switch from Sweden to Norway at checkout and see different rates:

    Checkout tax
    Link to image: https://cld.wthms.co/2V5Rmb

    I believe you’re looking at a problem from the different language plugins that you’re running on the site. Also, if your hosting is fast but the site is slow, then working through plugins is a good idea.

    I’d recommend the following:

    1. If you don’t have one yet, set up a staging site. It sounds like a staging site would be a good idea. If your host doesn’t offer that option, we recommend WP Staging for quickly spinning up a new test site.
    2. Work through a conflict test. I’ll include the instructions below. Once youy only have WooCommerce and a default theme in place, you can work on those tax questions, as well as tracking down why your site is slow.

    Here’s how to do that conflict test again:
     

    • 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.

    This is as far as I can help without being able to log into your site, something that isn’t possible via the forums. I’d be curious to hear what comes of your further testing, though!

    If you need more hands on support with this, I highly recommend contacting one of the services on our customizations page: https://woocommerce.com/customizations/

    Hi.

    I did go through with all the steps on a staging site. Disabled one plugin at the time. And now I have only WooCommerce left with theme Storefront active.
    And the same issues persists. Choosing Sweden show “moms”. Choosing any other country then Norway or Sweden displays “VAT estimated to…”. Choosing Norway displays… “moms”

    So there isn’t any plugins that could cause this, so why is the problem still there? Can’t believe this…

    EDIT:
    I also changed the settings in WooCommerce to the ones you use to display VAT aka display prices in cart & checkout without tax. And Sweden shows “moms”. Norway shows “moms” all other countries shows “VAT”.

    AND I have tested this with VPN enabled browser (Opera) every time.

    • This reply was modified 5 months, 1 week ago by  MikaelG.
    • This reply was modified 5 months, 1 week ago by  MikaelG.
    Plugin Support Hannah S.

    (@fernashes)

    Automattic Happiness Engineer

    Hey there,

    Thanks for testing!

    Without being able to log in, I’m not sure what else could be going wrong. From here, I’d recommend having someone take a look at the site – as I mentioned, you could contact one of the services on our customizations page: https://woocommerce.com/customizations/

    Plugin Support EtienneP

    (@etiennep)

    We haven’t heard back from you in a while, so I’m going to mark this as closed – if you have any further questions, you can start a new thread.

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