Closed emilian closed 8 years ago
+1
@miraculixx I found a way to do it. Just modify the TaxProcessor class in the shop/processors.py file. You can add something like this to the process method:
if order.billing_country in ['COUNTRY_CODES']:
item.tax_rate = TAX_RATE
else:
item.tax_rate = 0
Alternatively you could subclass ProcessorBase and implement a custom VAT processor. Just remember to add it to settings.PLATA_ORDER_PROCESSORS.
@emilian Yes, subclassing ProcessorBase
and adding the class to PLATA_ORDER_PROCESSORS
is the intended way to do this.
I need to charge VAT for customers inside the European Union.
How would I begin implementing this type of tax?