1999 Posts in 530 Topics by 433 members
E-Commerce Modules
SilverStripe Forums » E-Commerce Modules » Tax Modifier not working without dev/build
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: | 1163 Views |
-
Tax Modifier not working without dev/build

9 February 2010 at 6:37pm
Hi all, I developed a site using SilverStripe 2.3.4, eCommerce build 0.6, PayPal gateway.
I am using the tax modifier, which seems to work only after running a dev/build. If I try on a different computer, or even a different browser on the same computer, the checkout page does not make any mention of the tax, and Paypal shows the tax as the following: 0.0% (included in the above price), even though it is set at 13% and exclusive. Something must be right, since after the dev/build suddenly things work as they should.
If someone has ANY idea as to what might be wrong, or how I could go about figuring out what may be wrong, I'd really appreciate it.
Thanks in advance!
-
Re: Tax Modifier not working without dev/build

14 February 2010 at 6:45pm
Hello,
I've realized the issue isn't related to dev/build, but rather, the taxmodifier only seems to work when I'm logged in as Administrator.
Presumably when I am logged in, the system recognizes my country before the checkout form is filled in, and is able to determine the appropriate tax amount. Any ideas of what a possible work around would be? Perhaps defining a default tax amount would fix this? I've tried some things but I'm not exactly sure how to go about that (clearly I'm quite new with PHP).
Would be grateful for any help at all, thanks team
-
Re: Tax Modifier not working without dev/build

17 June 2010 at 9:19pm Last edited: 18 June 2010 9:48pm
Hi. I have the same problem with you. Tax only shows 0.0% in PayPal, but there is no mentioning about tax in the actual ecommerce. Did you find a solution for this?
I have added following to mysite/_config.php:
Order::set_modifiers(array(
'TaxModifier'
));TaxModifier::set_for_country("UK", 1.0, "VAT", "exclusive");
TaxModifier::set_for_country("FI", 0.15, "VAT", "inclusive");I think there is something wrong with the TaxModifier.php what is not picking the rate.
Anybody have any ideas?Instructions would be nice...Thanks
| 1163 Views | ||
|
Page:
1
|
Go to Top |

