Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

E-Commerce Modules /

Discuss about the various e-commerce modules available:
Ecommerce, SS Shop, SilverCart and SwipeStripe
Alternatively, have a look the shared mailinglist.

Moderators: martimiz, Nicolaas, Sean, Ed, frankmullenger, biapar, Willr, Ingo, Jedateach, swaiba

Anyone got TaxModifier working for ecommerce 0.6?


Go to End


2 Posts   1785 Views

Avatar
RW

Community Member, 6 Posts

6 July 2009 at 4:24pm

I am using SS2.3.2rc4, ecommerce module 0.6 beta1 and payment module 0.1 beta1.

In _config, I've added the following:

Order::set_modifiers(array(
'SimpleShippingModifier',
'TaxModifier'
));

TaxModifier::set_for_country('NZ', 0.125, 'GST', 'inclusive');

Payment::set_site_currency("NZD");

SimpleShippingModifier::set_default_charge(5);
SimpleShippingModifier::set_charges_for_countries(array(
'AU' => 10,
));

While the shipping modifier and set for currency are working, the TaxModifier does not seems working for me. I am wondering if anyone have the same problem and how to solve this?

Avatar
hive.net.au

Community Member, 40 Posts

24 July 2009 at 4:28pm

Edited: 24/07/2009 4:33pm

I was having a problem, then i tried this fix, cleared all my browser cache and ?flush=1

I now have Tax, Glourious GST.

http://www.silverstripe.org/e-commerce-module-forum/show/261899#post261899