Jump to:

2088 Posts in 1008 Topics by 455 members

E-Commerce Modules

SilverStripe Forums » E-Commerce Modules » Anyone got TaxModifier working for ecommerce 0.6?

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

Page: 1
Go to End
Author Topic: 1119 Views
  • RW
    Avatar
    Community Member
    6 Posts

    Anyone got TaxModifier working for ecommerce 0.6? Link to this post

    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?

  • hive.net.au
    Avatar
    Community Member
    40 Posts

    Re: Anyone got TaxModifier working for ecommerce 0.6? Link to this post

    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

    1119 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.