Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Update vatlayer shipping tax rate calculation

IKarbowiak98c6ce501cb5
diff --git a/saleor/plugins/vatlayer/plugin.py b/saleor/plugins/vatlayer/plugin.py
index 92e0eec145..d408dd0eef 100644
--- a/saleor/plugins/vatlayer/plugin.py
+++ b/saleor/plugins/vatlayer/plugin.py
@@ -262,7 +262,7 @@ class VatlayerPlugin(BasePlugin):
return previous_value
tax = taxes.get(DEFAULT_TAX_RATE_NAME)
# tax value is given in precentage so it need be be converted into decimal value
- return Decimal(tax["value"] / 100)
+ return Decimal(tax["value"]) / 100
def get_tax_rate_type_choices(
self, previous_value: List["TaxType"]