1998 Posts in 530 Topics by 433 members
E-Commerce Modules
SilverStripe Forums » E-Commerce Modules » Tax calculator works at last
Discuss about the various e-commerce modules available:
Ecommerce, SS Shop, SilverCart and SwipeStripe
Alternatively, have a look the shared mailinglist.
Moderators: martimiz, Nicolaas, Howard, Sean, Ryan M., biapar, Willr, Ingo, Jedateach, swaiba, simon_w
|
Page:
1
|
Go to End | |
| Author | Topic: | 653 Views |
-
Tax calculator works at last

30 October 2009 at 4:00am Last edited: 1 November 2009 9:42pm
Maybe this will help.
I spent several hours trying to understand why I couldn't get the following code to work :
TaxCalculator::set_for_country("FR", 0.196, "TVA", "inclusive"); (in _config.php)
I looked for a solution in the forum without finding it.
And finally, I got it ! I hadn't filled in the "administrator's country" field, in the security tab of the cms.
Now that the cms knows I'm French, the VAT is OK on my checkout page...EDIT : it works if you're working on wamp (local server), and if you're connected.
| 653 Views | ||
|
Page:
1
|
Go to Top |

