3 replies [Last post]
myk.robinson's picture
Offline
Joined: 01/26/2010
Juice: 7

Working on my very first Ubercart for a friend, and unfortunately, someone else had it partially configured before I came along. He was doing well, but got deployed to Iraq Sad
I have managed to add two products for testing, and the two products are showing. However, if I add product to the cart and press "Review Order", I get the following error message:

Fatal error: Call to undefined function uc_taxes_calculate() in /home/dirtydim/public_html/sites/all/modules/ubercart/payment/uc_paypal/uc_paypal.module on line 1182

I have gone through workflow and actually removed the taxes calculate condition, there was a rule in there to check for what "zone" or state the buyer resides in so it would charge sales tax if the buyer is in Tennessee. I removed it because I got this error.. But the error remains.

What am I doing wrong? How can I get the cart operational at this point?

If you need any further information, just let me know, not sure what all to provide to get the help I need for this one..

Thanks,
-myk

myk.robinson's picture
Offline
Joined: 01/26/2010
Juice: 7
Re: Fatal Error - function called that I am pretty sure I disabl

If I disable the Taxes module, the cart works. With that said, how can I properly configure the cart to add sales tax only if the billing address is within the state of Tennessee, USA?

Thanks,
-myk

g_k_n's picture
Offline
Bug Finder
Joined: 04/07/2008
Juice: 85
Re: Fatal Error - function called that I am pretty sure I disabl

To calculate tax, the uc_taxes module should be enabled. And then, you can configure the workflow to tax based on the billing address.

myk.robinson's picture
Offline
Joined: 01/26/2010
Juice: 7
Re: Re: Fatal Error - function called that I am pretty sure I di

well, that's what I had done originally. The module was enabled, and I had set a conditional statement in the workflow-ng module that basically said that if the billing address zone (state) is Tennessee, then add 9.75% sales tax. As long as that module is enabled, even without the conditional statement in place, I get the error message for some reason.