Replies: 1
Hi !
I noticed what I suppose to be a bug with the VAT calculation for shipping methods.
When using non-default shipping methods, that VAT is correctly calculated on Cart and Checkout page, but on the payment page, the VAT disappear…
So, the customers pay less than they’re supposed to pay, very problematic !
You can see it on this staging website : https://quaisud.staging.rectangle.net/
The website is password protected with Nginx, credentials :
– User : rectangle
– Pass : rectangle
I switched to Storefront and disabled almost all plugins to narrow down the problem.
VAT settings
Here are my VAT settings in Woocommerce :
– Yes, I’ll enter prices inclusive of tax
– Calculate based on : Customer shipping address
– Shipping tax class : Standard
In my standard rates, since I reseted them today to debug my issue, I only have :
– FR * * * 20% + Shipping checked
Bug description
When ordering products, the shipping VAT is correctly displayed on the Cart and Checkout page, but is ignored on the payment page. It only happens with non-default shipping methods.
You can test it by adding any product to the cart (make the cart less than 60€, or some free shipping rules may kick in). You need to set a french address, since I only filed the FR vat back in settings.
FR address example :
20 rue Lafayette, 39000 Lons le Saunier, France
You will see there is a lot of shipping methods available :
– “Colissimo” shipping methods (2)
– “UPS” shipping methods (5)
– “Forfait” (= flat rate, the default Woocommerce shipping method)
– “Retrait à l’usine” : local pickup, but we won’t use it here
When choosing the Forfait/Flat rate method, everything works fine : it costs 24€ (20€ + 20% tax) during the whole process, on Cart, Checkout and Payment page.
But if you choose any of the Colissimo or UPS shipping methods, you’ll see the bug : on the cart and checkout pages, the prices are correct :
– 9€ for Colissimo methods
– 12€ for UPS methods
But when reaching the Payment page (using Card payment or Bank transfer payment is the same, the bug happens with both), you’ll notice that the price you’re suppose to pay will be less than on the checkout page :
– For Colissimo shipping methods, 1.5€ is missing (the 20% tax)
– For UPS shipping methods, 2€ is missing (the 20% tax)
Since it happens with 2 different plugins, I figured it should be related to a problem in WooCommerce, it feels unlikely that 2 plugins have the same exact bug at the same time ?
That’s why I’m contacting you and not them…
Thanks for your help, I’m out of ideas !
Clement Gonin – Studio Rectangle