I have been having ongoing difficulty in setting up the ecommerce module.
My clients wish to add tax to their orders and so i added this snippet of code word for word from the ecommerce documentation to the mysites/_config.php:
TaxCalculator::set_for_country("UK", 0.175, "VAT", "exclusive");
However I get this fatal error:
Fatal error: Class 'TaxCalculator' not found in /var/www/vhosts/mysite.co.uk/httpdocs/mysite/_config.php on line 38
Why does it not work!!?
If i put:
TaxModifier::set_for_country("UK", 0.175, "VAT", "exclusive");
the fatal error goes but nothing seems to happen