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.

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, frankmullenger, biapar, Willr, Ingo, Jedateach, swaiba, simon_w

Anyone got TaxModifier working for ecommerce 0.6?


Reply

2 Posts   1129 Views

Avatar
RW

6 July 2009 at 4:24pm Community Member, 6 Posts

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

24 July 2009 at 4:28pm (Last edited: 24 July 2009 4:33pm), Community Member, 40 Posts

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