Tax not working
-
Hello,
The tax Isn’t working the way I want in the webshop and I just can’t figure out what is wrong.
People from many different countries can order in the webshop, but the only country that needs to pay tax on the products is the Netherlands.I have tried different settings and options but now it doesn’t calculate any tax or whatsoever.
In the settings under Standard rates stands that the Netherlands needs to have 21% tax and the other countries 0%.Is there a way to fix this?
Thanks!The page I need help with: [log in to see the link]
-
Hi there,
If you want to only charge tax in the Netherlands that can be set up with a Standard Rate set up as seen here:
Link to image: https://cld.wthms.co/aReHrOThere’s no need to add in rates or information with countries that are 0% as that is assumed for any country that doesn’t have rate set.
Hello @kbassart,
Thank you for your reaction. Even if I only have tax for NL enabled it isn’t working..
Hi there,
Can you please share a screenshot of your tax settings? You won’t be able to upload files here, however you can either share them via your site’s Media section, or use a service like https://snaggy.com
I have made 3 screenshots. If you need to something else please let me know.
screenshot 1
screenshot 2
screenshot 3Thanks for the screenshots. The issue appears to be with your rates as you have NL as a state in addition to NL as a country:
Link to image: https://cld.wthms.co/1KU2DUYou’ll want to remove the
NL
and replace it with a*
I have removed the state code and do see tax appear in the cart. But it does also appear for other countries what of course is not the intention…
Hmm, could you try changing this setting here.
Link to image: https://cld.wthms.co/I0yisJHead into your tax settings and swap that to Excluding tax and see if that helps. ??
Hi @ryanr14,
I am afraid to say this doesn’t do anything either… ??
Now of course there aren’t any taxes (since I turned it off), but in the NL country where we have to pay those taxes it does show the normal price without taxes.Hi there,
Can you please provide a copy of your System Status Report found under WooCommerce>Status?
Link to image: https://cld.wthms.co/AZTUs8You can click Copy for Support and then paste it here.
Here you go!
### WordPress Environment ### Home URL: https://www.reefer-parts.com Site URL: https://www.reefer-parts.com WC Version: 3.5.2 Log Directory Writable: ? WP Version: 4.9.8 WP Multisite: – WP Memory Limit: 256 MB WP Debug Mode: – WP Cron: ? Language: en_US External object cache: – ### Server Environment ### Server Info: Apache/2 PHP Version: 5.6.38 - We recommend using PHP version 7.2 or above for greater performance and security. How to update your PHP version PHP Post Max Size: 64 MB PHP Time Limit: 30 PHP Max Input Vars: 1000 cURL Version: 7.29.0 NSS/3.21 Basic ECC SUHOSIN Installed: – MySQL Version: 5.5.61-MariaDB Max Upload Size: 64 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 3.5.1 WC Database Prefix: wp_ MaxMind GeoIP Database: ? Total Database Size: 22.98MB Database Data Size: 17.86MB Database Index Size: 5.12MB wp_woocommerce_sessions: Data: 0.13MB + 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.05MB wp_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB wp_woocommerce_order_itemmeta: Data: 0.11MB + Index: 0.14MB wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.05MB wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.05MB 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_aelia_dismissed_messages: Data: 0.02MB + Index: 0.00MB wp_aelia_exchange_rates_history: Data: 0.02MB + Index: 0.00MB wp_auto_updates: Data: 0.02MB + Index: 0.00MB wp_commentmeta: Data: 0.02MB + Index: 0.03MB wp_comments: Data: 0.09MB + Index: 0.09MB wp_links: Data: 0.02MB + Index: 0.02MB wp_mollie_pending_payment: Data: 0.02MB + Index: 0.00MB wp_options: Data: 2.08MB + Index: 0.06MB wp_postmeta: Data: 3.52MB + Index: 3.00MB wp_posts: Data: 1.50MB + Index: 0.19MB wp_revslider_css: Data: 0.13MB + Index: 0.00MB wp_revslider_layer_animations: Data: 0.02MB + Index: 0.00MB wp_revslider_navigations: Data: 0.02MB + Index: 0.00MB wp_revslider_sliders: Data: 0.02MB + Index: 0.00MB wp_revslider_slides: Data: 0.02MB + Index: 0.00MB wp_revslider_static_slides: Data: 0.02MB + Index: 0.00MB wp_termmeta: Data: 0.02MB + Index: 0.03MB wp_terms: Data: 0.02MB + Index: 0.03MB wp_term_relationships: Data: 0.05MB + Index: 0.02MB wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB wp_usermeta: Data: 0.19MB + Index: 0.16MB wp_users: Data: 0.02MB + Index: 0.05MB wp_wc_download_log: Data: 0.02MB + Index: 0.03MB wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB wp_wfBadLeechers: Data: 0.02MB + Index: 0.00MB wp_wfBlockedCommentLog: Data: 0.02MB + Index: 0.00MB wp_wfBlockedIPLog: Data: 0.02MB + Index: 0.00MB wp_wfBlocks: Data: 0.02MB + Index: 0.02MB wp_wfBlocks7: Data: 0.02MB + Index: 0.05MB wp_wfBlocksAdv: Data: 0.02MB + Index: 0.00MB wp_wfConfig: Data: 2.25MB + Index: 0.00MB wp_wfCrawlers: Data: 0.02MB + Index: 0.00MB wp_wfFileChanges: Data: 0.02MB + Index: 0.00MB wp_wfFileMods: Data: 3.52MB + Index: 0.00MB wp_wfHits: Data: 1.02MB + Index: 0.31MB wp_wfHoover: Data: 0.02MB + Index: 0.02MB wp_wfIssues: Data: 0.02MB + Index: 0.06MB wp_wfKnownFileList: Data: 1.52MB + Index: 0.00MB wp_wfLeechers: Data: 0.09MB + Index: 0.00MB wp_wfLiveTrafficHuman: Data: 0.02MB + Index: 0.02MB wp_wfLockedOut: Data: 0.02MB + Index: 0.00MB wp_wfLocs: Data: 0.02MB + Index: 0.00MB wp_wfLogins: Data: 0.06MB + Index: 0.03MB wp_wfNet404s: Data: 0.02MB + Index: 0.02MB wp_wfNotifications: Data: 0.05MB + Index: 0.00MB wp_wfPendingIssues: Data: 0.02MB + Index: 0.06MB wp_wfReverseCache: Data: 0.02MB + Index: 0.00MB wp_wfScanners: Data: 0.02MB + Index: 0.00MB wp_wfSNIPCache: Data: 0.02MB + Index: 0.05MB wp_wfStatus: Data: 0.13MB + Index: 0.11MB wp_wfThrottleLog: Data: 0.02MB + Index: 0.02MB wp_wfTrafficRates: Data: 0.02MB + Index: 0.00MB wp_wfVulnScanners: Data: 0.02MB + Index: 0.00MB wp_wysija_campaign: Data: 0.02MB + Index: 0.00MB wp_wysija_campaign_list: Data: 0.02MB + Index: 0.00MB wp_wysija_custom_field: Data: 0.02MB + Index: 0.00MB wp_wysija_email: Data: 0.05MB + Index: 0.00MB wp_wysija_email_user_stat: Data: 0.02MB + Index: 0.00MB wp_wysija_email_user_url: Data: 0.02MB + Index: 0.00MB wp_wysija_form: Data: 0.02MB + Index: 0.00MB wp_wysija_list: Data: 0.02MB + Index: 0.00MB wp_wysija_queue: Data: 0.02MB + Index: 0.02MB wp_wysija_subscriber_ips: Data: 0.02MB + Index: 0.02MB wp_wysija_url: Data: 0.02MB + Index: 0.00MB wp_wysija_url_mail: Data: 0.02MB + Index: 0.00MB wp_wysija_user: Data: 0.02MB + Index: 0.02MB wp_wysija_user_field: Data: 0.02MB + Index: 0.00MB wp_wysija_user_history: Data: 0.02MB + Index: 0.00MB wp_wysija_user_list: Data: 0.02MB + Index: 0.00MB wp_yoast_seo_links: Data: 0.05MB + Index: 0.02MB wp_yoast_seo_meta: Data: 0.02MB + Index: 0.00MB ### Post Type Counts ### attachment: 324 flamingo_contact: 60 nav_menu_item: 10 page: 29 product: 125 revision: 160 shop_order: 70 wpcf7_contact_form: 1 wysijap: 1 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (18) ### Companion Auto Update: by Papin Schipper – 3.3.1 Contact Form 7: by Takayuki Miyoshi – 5.0.5 Flamingo: by Takayuki Miyoshi – 1.9 WPBakery Page Builder: by Michael M - WPBakery.com – 5.5.2 Mollie Payments for WooCommerce: by Mollie – 5.0.7 – Not tested with the active version of WooCommerce NK Google Analytics: by Manfred Rodríguez – 1.4.16 oik Weight/Country Shipping: by bobbingwide – 1.3.4 – Not tested with the active version of WooCommerce Really Simple SSL: by Rogier Lankhorst Mark Wolters – 3.1.3 Resize Image After Upload: by ShortPixel – 1.8.5 Slider Revolution: by ThemePunch – 5.4.8 RT-Theme 19 | Extensions Plugin: by RT-Themes – 2.6 Aelia Foundation Classes for WooCommerce: by Aelia – 2.0.1.180821 – Not tested with the active version of WooCommerce Woo Checkout Field Editor Pro: by ThemeHiGH – 1.3.0 – Not tested with the active version of WooCommerce WooCommerce EU VAT Assistant: by Aelia – 1.8.4.181009 – Not tested with the active version of WooCommerce WooCommerce: by Automattic – 3.5.2 Wordfence Security: by Wordfence – 7.1.18 Yoast SEO: by Team Yoast – 9.2.1 WP Sitemap Page: by Tony Archambeau – 1.6.1 ### Settings ### API Enabled: ? Force SSL: – Currency: EUR (€) Currency Position: left_space 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) ### WC Pages ### Shop base: #2432 - /shop/ Cart: #2433 - /cart/ Checkout: #2434 - /checkout/ My account: #2435 - /my-account/ Terms and conditions: #3184 - /terms-and-conditions/ ### Theme ### Name: RT-Theme 19 Version: 2.6 Author URL: https://themeforest.net/user/stmcan 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: ? ### Templates ### Overrides: rttheme19/woocommerce/archive-product.php rttheme19/woocommerce/cart/mini-cart.php version 3.3.0 is out of date. The core version is 3.5.0 rttheme19/woocommerce/checkout/form-checkout.php version 2.3.0 is out of date. The core version is 3.5.0 rttheme19/woocommerce/content-product.php rttheme19/woocommerce/content-product_cat.php rttheme19/woocommerce/content-single-product.php rttheme19/woocommerce/global/breadcrumb.php rttheme19/woocommerce/global/wrapper-end.php rttheme19/woocommerce/global/wrapper-start.php rttheme19/woocommerce/loop/add-to-cart.php rttheme19/woocommerce/loop/loop-end.php rttheme19/woocommerce/loop/loop-start.php rttheme19/woocommerce/loop/price.php rttheme19/woocommerce/single-product/related.php rttheme19/woocommerce/single-product/tabs/tabs.php rttheme19/woocommerce/single-product/up-sells.php Outdated Templates: ? Learn how to update
Howdy ??
Taxes appear to me to be working properly. I believe there may be some confusion surrounding the way that taxes are calculated when Local Pickup is the selected shipping method.
From the documentation here: https://docs.woocommerce.com/document/local-pickup/
Note: Local Pickup calculates taxes based on your base store location by default, and not the customer’s address.
Allow me to demonstrate. Here, I have selected NL as the destination country to ship to and I have VAT added:
If I change the country to Germany, VAT is removed:
However, if I now select ‘Local Pickup’ as the shipping method, then VAT is added:
I would also like to point out that you have fatal errors happening when attempting to update things on the checkout page. You will likely want to get those resolved. The first step would be to see what is logged. I would expect that any corresponding error messages are logged. You can check by navigating to WooCommerce -> Status -> Logs and then opening the dropdown there. Look for any files that being with “fatal-errors” followed by a random string of characters and today’s date. Select that, then press “view” to gain some insight into what is causing these fatal errors.
Kind regards,
Hi there,
Thanks for your suggestion, it indeed seems like the local pickup is having troubles with the tax.
Looking for the fatal errors didn’t gave me anything. With Ctrl + F nothing popped up in those different logs.
But turning off the Wordfence plug-in seems to fix that error.Tax was already supposed to be calculated from the customers billing address.
Isn’t there someone who can help me by signing into the website? Everything on the website is up-to-date.
My customer is getting a little bit impatient for it taking so long to fix…@productie We are not able to log in to forum related sites per the forum guidelines.
From what I see, Will was able to test and everything was working correctly. The taxes are calculated for NL based addresses and not other addresses, unless local pickup is used for a non NL address. In this instance, taxes are calculated. It is this way due to it is the same as purchasing at the store location, which in this case is in the NL country code based on the store address.
If you need someone to log in and take a look, you may need to hire someone:
https://jobs.wordpress.net/
https://woocommerce.com/codeable/Hello guys,
Thanks for all the help. After some more digging around on the internet I finally found a solution in a support form from another user. And now the tax does exactly what it needs to do even if local pickup is being chosen
This is where I found it.
https://www.ads-software.com/support/topic/how-to-charge-tax-for-just-az-customers/Thanks again!
- The topic ‘Tax not working’ is closed to new replies.