[Skip to main content](#vessel-content)

#   TaxCloud Error on Products w/Characteristics

##

- **[jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile")**
- [![jazzmang's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/5807-jazzmang "View jazzmang's Profile") Topic Author
- [ Offline](/forum/user/5807-jazzmang)

Less More

- Posts: 291
- Thank you received: 26
-
-
- [](http://www.interkan.net)
-

12 years 6 months ago -  12 years 6 months ago [\#157779](#157779) by [jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile")  *[TaxCloud Error on Products w/Characteristics](/forum/40-taxes/868569-taxcloud-error-on-products-w-characteristics#157779 "-- url of the page with the problem -- :   new.littleapplewoodenpuzzles.com/handmad...em/wooden-stool.html  -- HikaShop version -- : 2.3.1 -- Joomla version -- : 3.3.0 -- PHP version -- : 5.4.27 -- Browser(s) name and version -- : Any -- Error-message(debug-mod must be tuned on) -- : TaxCloud error : (see attached)  I just added a Characteristic to a products (simple &quot;Colors&quot; with 2 choices) and now I get a generic &quot;TaxCloud: error&quot; any after an address/login is entered during checkout. It just starts appearing any where on the site that com&#95;hikashop is displayed.  I've tried even the default ProtoStar template and it gives me the same error. I find nothing in the web server logs.  I checked to make sure that the variant items and they do have the Product Taxability Code set.  I tried add just an Option to the original product (without any Characteristics) and there was no issue. So this appears to be specific to something with Characteristics. I tried adding price to the variant (just to see) and no help.  All other products work fine and if I remove the Colors Characteristic, the product is fine.  Not sure exactly what it could be.  I upgraded to 2.3.1 on my internal test server and it has the same issue if I add a Characteristic.")* was created by *[jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile")*

-- url of the page with the problem -- : [ new.littleapplewoodenpuzzles.com/handmad...em/wooden-stool.html](http://new.littleapplewoodenpuzzles.com/handmade-puzzles/item/wooden-stool.html)
-- HikaShop version -- : 2.3.1
-- Joomla version -- : 3.3.0
-- PHP version -- : 5.4.27
-- Browser(s) name and version -- : Any
-- Error-message(debug-mod must be tuned on) -- : TaxCloud error : (see attached)

I just added a Characteristic to a products (simple "Colors" with 2 choices) and now I get a generic "TaxCloud: error" any after an address/login is entered during checkout. It just starts appearing any where on the site that com_hikashop is displayed.

I've tried even the default ProtoStar template and it gives me the same error. I find nothing in the web server logs.

I checked to make sure that the variant items and they do have the Product Taxability Code set.

I tried add just an Option to the original product (without any Characteristics) and there was no issue. So this appears to be specific to something with Characteristics. I tried adding price to the variant (just to see) and no help.

All other products work fine and if I remove the Colors Characteristic, the product is fine.

Not sure exactly what it could be.

I upgraded to 2.3.1 on my internal test server and it has the same issue if I add a Characteristic.

- [ ![hea3e6e3.jpg](/forum/attachment/17514) ](/forum/attachment/17514 "hea3e6e3.jpg") [ ](/forum/attachment/17514?download=1 "hea3e6e3.jpg")

Last edit: 12 years 6 months ago by [jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile"). Reason: Add additional info

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQwLXRheGVzLzg2ODU2OS10YXhjbG91ZC1lcnJvci1vbi1wcm9kdWN0cy13LWNoYXJhY3RlcmlzdGljcz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

12 years 6 months ago [\#158050](#158050) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[TaxCloud Error on Products w/Characteristics](/forum/40-taxes/868569-taxcloud-error-on-products-w-characteristics#158050 "-- url of the page with the problem -- :   new.littleapplewoodenpuzzles.com/handmad...em/wooden-stool.html  -- HikaShop version -- : 2.3.1 -- Joomla version -- : 3.3.0 -- PHP version -- : 5.4.27 -- Browser(s) name and version -- : Any -- Error-message(debug-mod must be tuned on) -- : TaxCloud error : (see attached)  I just added a Characteristic to a products (simple &quot;Colors&quot; with 2 choices) and now I get a generic &quot;TaxCloud: error&quot; any after an address/login is entered during checkout. It just starts appearing any where on the site that com&#95;hikashop is displayed.  I've tried even the default ProtoStar template and it gives me the same error. I find nothing in the web server logs.  I checked to make sure that the variant items and they do have the Product Taxability Code set.  I tried add just an Option to the original product (without any Characteristics) and there was no issue. So this appears to be specific to something with Characteristics. I tried adding price to the variant (just to see) and no help.  All other products work fine and if I remove the Colors Characteristic, the product is fine.  Not sure exactly what it could be.  I upgraded to 2.3.1 on my internal test server and it has the same issue if I add a Characteristic.")*

Hello,
Firstly can you show me some screenshots of how did you configured the "Hikashop TaxCloud Plugin" ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQwLXRheGVzLzg2ODU2OS10YXhjbG91ZC1lcnJvci1vbi1wcm9kdWN0cy13LWNoYXJhY3RlcmlzdGljcz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile")**
- [![jazzmang's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/5807-jazzmang "View jazzmang's Profile") Topic Author
- [ Offline](/forum/user/5807-jazzmang)

Less More

- Posts: 291
- Thank you received: 26
-
-
- [](http://www.interkan.net)
-

12 years 6 months ago [\#158086](#158086) by [jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile")  Replied by *[jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile")* on topic *[TaxCloud Error on Products w/Characteristics](/forum/40-taxes/868569-taxcloud-error-on-products-w-characteristics#158086 "-- url of the page with the problem -- :   new.littleapplewoodenpuzzles.com/handmad...em/wooden-stool.html  -- HikaShop version -- : 2.3.1 -- Joomla version -- : 3.3.0 -- PHP version -- : 5.4.27 -- Browser(s) name and version -- : Any -- Error-message(debug-mod must be tuned on) -- : TaxCloud error : (see attached)  I just added a Characteristic to a products (simple &quot;Colors&quot; with 2 choices) and now I get a generic &quot;TaxCloud: error&quot; any after an address/login is entered during checkout. It just starts appearing any where on the site that com&#95;hikashop is displayed.  I've tried even the default ProtoStar template and it gives me the same error. I find nothing in the web server logs.  I checked to make sure that the variant items and they do have the Product Taxability Code set.  I tried add just an Option to the original product (without any Characteristics) and there was no issue. So this appears to be specific to something with Characteristics. I tried adding price to the variant (just to see) and no help.  All other products work fine and if I remove the Colors Characteristic, the product is fine.  Not sure exactly what it could be.  I upgraded to 2.3.1 on my internal test server and it has the same issue if I add a Characteristic.")*

See attached.

Remember, TaxCloud works perfectly when there is no characteristics.

- [ ![h5330656.jpg](/forum/attachment/17559) ](/forum/attachment/17559 "h5330656.jpg") [ ](/forum/attachment/17559?download=1 "h5330656.jpg")
- [ ![h57b22e0.jpg](/forum/attachment/17560) ](/forum/attachment/17560 "h57b22e0.jpg") [ ](/forum/attachment/17560?download=1 "h57b22e0.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQwLXRheGVzLzg2ODU2OS10YXhjbG91ZC1lcnJvci1vbi1wcm9kdWN0cy13LWNoYXJhY3RlcmlzdGljcz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile")**
- [![jazzmang's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/5807-jazzmang "View jazzmang's Profile") Topic Author
- [ Offline](/forum/user/5807-jazzmang)

Less More

- Posts: 291
- Thank you received: 26
-
-
- [](http://www.interkan.net)
-

12 years 6 months ago [\#158087](#158087) by [jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile")  Replied by *[jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile")* on topic *[TaxCloud Error on Products w/Characteristics](/forum/40-taxes/868569-taxcloud-error-on-products-w-characteristics#158087 "-- url of the page with the problem -- :   new.littleapplewoodenpuzzles.com/handmad...em/wooden-stool.html  -- HikaShop version -- : 2.3.1 -- Joomla version -- : 3.3.0 -- PHP version -- : 5.4.27 -- Browser(s) name and version -- : Any -- Error-message(debug-mod must be tuned on) -- : TaxCloud error : (see attached)  I just added a Characteristic to a products (simple &quot;Colors&quot; with 2 choices) and now I get a generic &quot;TaxCloud: error&quot; any after an address/login is entered during checkout. It just starts appearing any where on the site that com&#95;hikashop is displayed.  I've tried even the default ProtoStar template and it gives me the same error. I find nothing in the web server logs.  I checked to make sure that the variant items and they do have the Product Taxability Code set.  I tried add just an Option to the original product (without any Characteristics) and there was no issue. So this appears to be specific to something with Characteristics. I tried adding price to the variant (just to see) and no help.  All other products work fine and if I remove the Colors Characteristic, the product is fine.  Not sure exactly what it could be.  I upgraded to 2.3.1 on my internal test server and it has the same issue if I add a Characteristic.")*

Note that my test server is a completely different Linux build and physical server in a different network/location than production.

The test server is a fresh install of Joomla with no other extensions besides Hikashop.

The test server also uses a different TaxCloud account than the production site so it isn't not TaxCloud account specific.

I have tried this without the custom name fields on the product too. The result is the same error.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQwLXRheGVzLzg2ODU2OS10YXhjbG91ZC1lcnJvci1vbi1wcm9kdWN0cy13LWNoYXJhY3RlcmlzdGljcz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

12 years 5 months ago [\#158402](#158402) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[TaxCloud Error on Products w/Characteristics](/forum/40-taxes/868569-taxcloud-error-on-products-w-characteristics#158402 "-- url of the page with the problem -- :   new.littleapplewoodenpuzzles.com/handmad...em/wooden-stool.html  -- HikaShop version -- : 2.3.1 -- Joomla version -- : 3.3.0 -- PHP version -- : 5.4.27 -- Browser(s) name and version -- : Any -- Error-message(debug-mod must be tuned on) -- : TaxCloud error : (see attached)  I just added a Characteristic to a products (simple &quot;Colors&quot; with 2 choices) and now I get a generic &quot;TaxCloud: error&quot; any after an address/login is entered during checkout. It just starts appearing any where on the site that com&#95;hikashop is displayed.  I've tried even the default ProtoStar template and it gives me the same error. I find nothing in the web server logs.  I checked to make sure that the variant items and they do have the Product Taxability Code set.  I tried add just an Option to the original product (without any Characteristics) and there was no issue. So this appears to be specific to something with Characteristics. I tried adding price to the variant (just to see) and no help.  All other products work fine and if I remove the Colors Characteristic, the product is fine.  Not sure exactly what it could be.  I upgraded to 2.3.1 on my internal test server and it has the same issue if I add a Characteristic.")*

Hello,
Can you edit the "\plugins\hikashop\taxcloud\taxcloud.php" file, and change these lines : Code:

$cart_items[] = array( 'Index' =&gt; $i, 'ItemID' =&gt; $product-&gt;product_code, 'TIC' =&gt; $tic, 'Price' =&gt; $product-&gt;prices[0]-&gt;unit_price-&gt;price_value, 'Qty' =&gt; $product-&gt;cart_product_quantity );

By : Code:

if($product-&gt;product_type == 'variant') $price = $product-&gt;prices[0]-&gt;unit_price-&gt;price_value; else $price = $product-&gt;prices[0]-&gt;price_value; $cart_items[] = array( 'Index' =&gt; $i, 'ItemID' =&gt; $product-&gt;product_code, 'TIC' =&gt; $tic, 'Price' =&gt; $price, 'Qty' =&gt; $product-&gt;cart_product_quantity );

The following user(s) said Thank You: [jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQwLXRheGVzLzg2ODU2OS10YXhjbG91ZC1lcnJvci1vbi1wcm9kdWN0cy13LWNoYXJhY3RlcmlzdGljcz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile")**
- [![jazzmang's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/5807-jazzmang "View jazzmang's Profile") Topic Author
- [ Offline](/forum/user/5807-jazzmang)

Less More

- Posts: 291
- Thank you received: 26
-
-
- [](http://www.interkan.net)
-

12 years 5 months ago [\#158473](#158473) by [jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile")  Replied by *[jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile")* on topic *[TaxCloud Error on Products w/Characteristics](/forum/40-taxes/868569-taxcloud-error-on-products-w-characteristics#158473 "-- url of the page with the problem -- :   new.littleapplewoodenpuzzles.com/handmad...em/wooden-stool.html  -- HikaShop version -- : 2.3.1 -- Joomla version -- : 3.3.0 -- PHP version -- : 5.4.27 -- Browser(s) name and version -- : Any -- Error-message(debug-mod must be tuned on) -- : TaxCloud error : (see attached)  I just added a Characteristic to a products (simple &quot;Colors&quot; with 2 choices) and now I get a generic &quot;TaxCloud: error&quot; any after an address/login is entered during checkout. It just starts appearing any where on the site that com&#95;hikashop is displayed.  I've tried even the default ProtoStar template and it gives me the same error. I find nothing in the web server logs.  I checked to make sure that the variant items and they do have the Product Taxability Code set.  I tried add just an Option to the original product (without any Characteristics) and there was no issue. So this appears to be specific to something with Characteristics. I tried adding price to the variant (just to see) and no help.  All other products work fine and if I remove the Colors Characteristic, the product is fine.  Not sure exactly what it could be.  I upgraded to 2.3.1 on my internal test server and it has the same issue if I add a Characteristic.")*

That appears to fixed it. My quick tests show it is working.

Thank you!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQwLXRheGVzLzg2ODU2OS10YXhjbG91ZC1lcnJvci1vbi1wcm9kdWN0cy13LWNoYXJhY3RlcmlzdGljcz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[kevin@solasus.com](/forum/user/3454-kevin-solasus-com "View kevin@solasus.com's Profile")**
- [![kevin@solasus.com's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/3454-kevin-solasus-com "View kevin@solasus.com's Profile")
- [ Offline](/forum/user/3454-kevin-solasus-com)

Less More

- Posts: 26
- Thank you received: 0
-
-

12 years 5 months ago [\#159632](#159632) by [kevin@solasus.com](/forum/user/3454-kevin-solasus-com "View kevin@solasus.com's Profile")  Replied by *[kevin@solasus.com](/forum/user/3454-kevin-solasus-com "View kevin@solasus.com's Profile")* on topic *[TaxCloud Error on Products w/Characteristics](/forum/40-taxes/868569-taxcloud-error-on-products-w-characteristics#159632 "-- url of the page with the problem -- :   new.littleapplewoodenpuzzles.com/handmad...em/wooden-stool.html  -- HikaShop version -- : 2.3.1 -- Joomla version -- : 3.3.0 -- PHP version -- : 5.4.27 -- Browser(s) name and version -- : Any -- Error-message(debug-mod must be tuned on) -- : TaxCloud error : (see attached)  I just added a Characteristic to a products (simple &quot;Colors&quot; with 2 choices) and now I get a generic &quot;TaxCloud: error&quot; any after an address/login is entered during checkout. It just starts appearing any where on the site that com&#95;hikashop is displayed.  I've tried even the default ProtoStar template and it gives me the same error. I find nothing in the web server logs.  I checked to make sure that the variant items and they do have the Product Taxability Code set.  I tried add just an Option to the original product (without any Characteristics) and there was no issue. So this appears to be specific to something with Characteristics. I tried adding price to the variant (just to see) and no help.  All other products work fine and if I remove the Colors Characteristic, the product is fine.  Not sure exactly what it could be.  I upgraded to 2.3.1 on my internal test server and it has the same issue if I add a Characteristic.")*

I've applied the above fix and it's not working. Perhaps the issue on my side is that we have multiple characteristics

product w/ no characteristics is fine: [ ownthenight.aurorastudios.tv/shop/produc...or-2010-ach-arc-rail](http://ownthenight.aurorastudios.tv/shop/product/6472-double-o2-strap-kit-for-2010-ach-arc-rail)

product with multiple is not: [ ownthenight.aurorastudios.tv/shop/produc...-helmet#.U5cY8pRdWVM](http://ownthenight.aurorastudios.tv/shop/product/6396-fast-bump-helmet#.U5cY8pRdWVM)

we also have complex products (custom) - which pulls in a variety of different options (some w/ multiple characteristics): [ ownthenight.aurorastudios.tv/helmets/custom-helmets](http://ownthenight.aurorastudios.tv/helmets/custom-helmets)

Note our nexus is NY

Thoughts...?

Thank you!
-kb

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQwLXRheGVzLzg2ODU2OS10YXhjbG91ZC1lcnJvci1vbi1wcm9kdWN0cy13LWNoYXJhY3RlcmlzdGljcz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile")**
- [![jazzmang's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/5807-jazzmang "View jazzmang's Profile") Topic Author
- [ Offline](/forum/user/5807-jazzmang)

Less More

- Posts: 291
- Thank you received: 26
-
-
- [](http://www.interkan.net)
-

12 years 5 months ago [\#159637](#159637) by [jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile")  Replied by *[jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile")* on topic *[TaxCloud Error on Products w/Characteristics](/forum/40-taxes/868569-taxcloud-error-on-products-w-characteristics#159637 "-- url of the page with the problem -- :   new.littleapplewoodenpuzzles.com/handmad...em/wooden-stool.html  -- HikaShop version -- : 2.3.1 -- Joomla version -- : 3.3.0 -- PHP version -- : 5.4.27 -- Browser(s) name and version -- : Any -- Error-message(debug-mod must be tuned on) -- : TaxCloud error : (see attached)  I just added a Characteristic to a products (simple &quot;Colors&quot; with 2 choices) and now I get a generic &quot;TaxCloud: error&quot; any after an address/login is entered during checkout. It just starts appearing any where on the site that com&#95;hikashop is displayed.  I've tried even the default ProtoStar template and it gives me the same error. I find nothing in the web server logs.  I checked to make sure that the variant items and they do have the Product Taxability Code set.  I tried add just an Option to the original product (without any Characteristics) and there was no issue. So this appears to be specific to something with Characteristics. I tried adding price to the variant (just to see) and no help.  All other products work fine and if I remove the Colors Characteristic, the product is fine.  Not sure exactly what it could be.  I upgraded to 2.3.1 on my internal test server and it has the same issue if I add a Characteristic.")*

You might wan to pull the patched version (with another fix in it as well) from this thread:
[ www.hikashop.com/forum/taxes/868807-taxc...celed-restarted.html](http://www.hikashop.com/forum/taxes/868807-taxcloud-errors-after-order-canceled-restarted.html)

I made a mistake the first time I tried the patch in this tread however.
There are several arrays in the taxcloud.php that look similar so you have to be careful.

Also I found another bug on Sunday which now has a patch as well:
[ www.hikashop.com/forum/taxes/868855-taxc...s-errors.html#159580](http://www.hikashop.com/forum/taxes/868855-taxcloud-different-billing-shipping-address-errors.html#159580)

My recommendation is to get the .zip file that Nicolas posted and try it first.
Then try patching the second thread patch after that.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQwLXRheGVzLzg2ODU2OS10YXhjbG91ZC1lcnJvci1vbi1wcm9kdWN0cy13LWNoYXJhY3RlcmlzdGljcz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[kevin@solasus.com](/forum/user/3454-kevin-solasus-com "View kevin@solasus.com's Profile")**
- [![kevin@solasus.com's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/3454-kevin-solasus-com "View kevin@solasus.com's Profile")
- [ Offline](/forum/user/3454-kevin-solasus-com)

Less More

- Posts: 26
- Thank you received: 0
-
-

12 years 5 months ago [\#159640](#159640) by [kevin@solasus.com](/forum/user/3454-kevin-solasus-com "View kevin@solasus.com's Profile")  Replied by *[kevin@solasus.com](/forum/user/3454-kevin-solasus-com "View kevin@solasus.com's Profile")* on topic *[TaxCloud Error on Products w/Characteristics](/forum/40-taxes/868569-taxcloud-error-on-products-w-characteristics#159640 "-- url of the page with the problem -- :   new.littleapplewoodenpuzzles.com/handmad...em/wooden-stool.html  -- HikaShop version -- : 2.3.1 -- Joomla version -- : 3.3.0 -- PHP version -- : 5.4.27 -- Browser(s) name and version -- : Any -- Error-message(debug-mod must be tuned on) -- : TaxCloud error : (see attached)  I just added a Characteristic to a products (simple &quot;Colors&quot; with 2 choices) and now I get a generic &quot;TaxCloud: error&quot; any after an address/login is entered during checkout. It just starts appearing any where on the site that com&#95;hikashop is displayed.  I've tried even the default ProtoStar template and it gives me the same error. I find nothing in the web server logs.  I checked to make sure that the variant items and they do have the Product Taxability Code set.  I tried add just an Option to the original product (without any Characteristics) and there was no issue. So this appears to be specific to something with Characteristics. I tried adding price to the variant (just to see) and no help.  All other products work fine and if I remove the Colors Characteristic, the product is fine.  Not sure exactly what it could be.  I upgraded to 2.3.1 on my internal test server and it has the same issue if I add a Characteristic.")*

Thanks for the quick reply...
I've tried the zip. However still seeing the errors.
In server logs there's a PHP Notice: Trying to get property of non-object in /home/ownthenight/public_html/plugins/hikashop/taxcloud/taxcloud.php on line 1075

ln 1075 is: "$price = $product-&gt;prices[0]-&gt;unit_price-&gt;price_value;" in Code:

if($product-&gt;product_type == 'variant') $price = $product-&gt;prices[0]-&gt;unit_price-&gt;price_value; else $price = $product-&gt;prices[0]-&gt;price_value;

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQwLXRheGVzLzg2ODU2OS10YXhjbG91ZC1lcnJvci1vbi1wcm9kdWN0cy13LWNoYXJhY3RlcmlzdGljcz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile")**
- [![jazzmang's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/5807-jazzmang "View jazzmang's Profile") Topic Author
- [ Offline](/forum/user/5807-jazzmang)

Less More

- Posts: 291
- Thank you received: 26
-
-
- [](http://www.interkan.net)
-

12 years 5 months ago [\#159649](#159649) by [jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile")  Replied by *[jazzmang](/forum/user/5807-jazzmang "View jazzmang's Profile")* on topic *[TaxCloud Error on Products w/Characteristics](/forum/40-taxes/868569-taxcloud-error-on-products-w-characteristics#159649 "-- url of the page with the problem -- :   new.littleapplewoodenpuzzles.com/handmad...em/wooden-stool.html  -- HikaShop version -- : 2.3.1 -- Joomla version -- : 3.3.0 -- PHP version -- : 5.4.27 -- Browser(s) name and version -- : Any -- Error-message(debug-mod must be tuned on) -- : TaxCloud error : (see attached)  I just added a Characteristic to a products (simple &quot;Colors&quot; with 2 choices) and now I get a generic &quot;TaxCloud: error&quot; any after an address/login is entered during checkout. It just starts appearing any where on the site that com&#95;hikashop is displayed.  I've tried even the default ProtoStar template and it gives me the same error. I find nothing in the web server logs.  I checked to make sure that the variant items and they do have the Product Taxability Code set.  I tried add just an Option to the original product (without any Characteristics) and there was no issue. So this appears to be specific to something with Characteristics. I tried adding price to the variant (just to see) and no help.  All other products work fine and if I remove the Colors Characteristic, the product is fine.  Not sure exactly what it could be.  I upgraded to 2.3.1 on my internal test server and it has the same issue if I add a Characteristic.")*

To try and replicate your issue, I added another characteristics to a product one of our sites that was having the issue (before the patch).

The item had two characteristics but I don't have any problems (no tax cloud errors) during checkout.

I didn't try anything fancy, say with price changes on the variants or adding in options with characteristics.
My guess is it more than just simply multiple characteristics but some other combination within.

Sorry I don't have time to help isolate it further for a few days but that I what I would try isolating (the exact combination) for HikaShop support.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQwLXRheGVzLzg2ODU2OS10YXhjbG91ZC1lcnJvci1vbi1wcm9kdWN0cy13LWNoYXJhY3RlcmlzdGljcz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[yeso](/forum/user/32988-yeso "View yeso's Profile")**
- [![yeso's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar32988.jpg)](/forum/user/32988-yeso "View yeso's Profile")
- [ Offline](/forum/user/32988-yeso)

Less More

- Posts: 2
- Thank you received: 2
-
-

12 years 5 months ago [\#159747](#159747) by [yeso](/forum/user/32988-yeso "View yeso's Profile")  Replied by *[yeso](/forum/user/32988-yeso "View yeso's Profile")* on topic *[TaxCloud Error on Products w/Characteristics](/forum/40-taxes/868569-taxcloud-error-on-products-w-characteristics#159747 "-- url of the page with the problem -- :   new.littleapplewoodenpuzzles.com/handmad...em/wooden-stool.html  -- HikaShop version -- : 2.3.1 -- Joomla version -- : 3.3.0 -- PHP version -- : 5.4.27 -- Browser(s) name and version -- : Any -- Error-message(debug-mod must be tuned on) -- : TaxCloud error : (see attached)  I just added a Characteristic to a products (simple &quot;Colors&quot; with 2 choices) and now I get a generic &quot;TaxCloud: error&quot; any after an address/login is entered during checkout. It just starts appearing any where on the site that com&#95;hikashop is displayed.  I've tried even the default ProtoStar template and it gives me the same error. I find nothing in the web server logs.  I checked to make sure that the variant items and they do have the Product Taxability Code set.  I tried add just an Option to the original product (without any Characteristics) and there was no issue. So this appears to be specific to something with Characteristics. I tried adding price to the variant (just to see) and no help.  All other products work fine and if I remove the Colors Characteristic, the product is fine.  Not sure exactly what it could be.  I upgraded to 2.3.1 on my internal test server and it has the same issue if I add a Characteristic.")*

Hi,

I also tried to add multiple characteristics but i didn't get the error. What you can try is to replace this line Code:

if($product-&gt;product_type == 'variant')

By this one
Code:

if(isset($product-&gt;prices[0]-&gt;unit_price-&gt;price_value))

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQwLXRheGVzLzg2ODU2OS10YXhjbG91ZC1lcnJvci1vbi1wcm9kdWN0cy13LWNoYXJhY3RlcmlzdGljcz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[kevin@solasus.com](/forum/user/3454-kevin-solasus-com "View kevin@solasus.com's Profile")**
- [![kevin@solasus.com's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/3454-kevin-solasus-com "View kevin@solasus.com's Profile")
- [ Offline](/forum/user/3454-kevin-solasus-com)

Less More

- Posts: 26
- Thank you received: 0
-
-

12 years 5 months ago [\#159782](#159782) by [kevin@solasus.com](/forum/user/3454-kevin-solasus-com "View kevin@solasus.com's Profile")  Replied by *[kevin@solasus.com](/forum/user/3454-kevin-solasus-com "View kevin@solasus.com's Profile")* on topic *[TaxCloud Error on Products w/Characteristics](/forum/40-taxes/868569-taxcloud-error-on-products-w-characteristics#159782 "-- url of the page with the problem -- :   new.littleapplewoodenpuzzles.com/handmad...em/wooden-stool.html  -- HikaShop version -- : 2.3.1 -- Joomla version -- : 3.3.0 -- PHP version -- : 5.4.27 -- Browser(s) name and version -- : Any -- Error-message(debug-mod must be tuned on) -- : TaxCloud error : (see attached)  I just added a Characteristic to a products (simple &quot;Colors&quot; with 2 choices) and now I get a generic &quot;TaxCloud: error&quot; any after an address/login is entered during checkout. It just starts appearing any where on the site that com&#95;hikashop is displayed.  I've tried even the default ProtoStar template and it gives me the same error. I find nothing in the web server logs.  I checked to make sure that the variant items and they do have the Product Taxability Code set.  I tried add just an Option to the original product (without any Characteristics) and there was no issue. So this appears to be specific to something with Characteristics. I tried adding price to the variant (just to see) and no help.  All other products work fine and if I remove the Colors Characteristic, the product is fine.  Not sure exactly what it could be.  I upgraded to 2.3.1 on my internal test server and it has the same issue if I add a Characteristic.")*

Hi yeso - that did make a small change, but I went from two errors to one... then somehow back to 2, just be refreshing.

That said I've echo'd the $cart_items array on the cart page to see what the differences might be.

a) Working product
[ ownthenight.aurorastudios.tv/shop/produc...-helmet-liner-system](http://ownthenight.aurorastudios.tv/shop/product/6994-team-wendy-revolve-helmet-liner-system)Code:

Array ( [0] =&gt; Array ( [Index] =&gt; -1 [ItemID] =&gt; tic_rate_0 [TIC] =&gt; 0 [Price] =&gt; 1 [Qty] =&gt; 1 ) [1] =&gt; Array ( [Index] =&gt; 1 [ItemID] =&gt; Team_Wendy_REVOLVE [TIC] =&gt; 0 [Price] =&gt; 99.00000 [Qty] =&gt; 0 ) [2] =&gt; Array ( [Index] =&gt; 2 [ItemID] =&gt; Team_Wendy_REVOLVE [TIC] =&gt; 0 [Price] =&gt; 99.00000 [Qty] =&gt; 0 ) [3] =&gt; Array ( [Index] =&gt; 3 [ItemID] =&gt; Team_Wendy_REVOLVE [TIC] =&gt; 0 [Price] =&gt; 99.00000 [Qty] =&gt; 0 ) [4] =&gt; Array ( [Index] =&gt; 4 [ItemID] =&gt; Team_Wendy_REVOLVE [TIC] =&gt; 0 [Price] =&gt; 99.00000 [Qty] =&gt; 0 ) [5] =&gt; Array ( [Index] =&gt; 5 [ItemID] =&gt; Team_Wendy_REVOLVE_Helmet_Liner_System_20_17 [TIC] =&gt; 0 [Price] =&gt; 99 [Qty] =&gt; 1 ) ) Array ( [0] =&gt; Array ( [Index] =&gt; -1 [ItemID] =&gt; tic_rate_0 [TIC] =&gt; 0 [Price] =&gt; 1 [Qty] =&gt; 1 ) [1] =&gt; Array ( [Index] =&gt; 1 [ItemID] =&gt; Team_Wendy_REVOLVE [TIC] =&gt; 0 [Price] =&gt; 99.00000 [Qty] =&gt; 0 ) [2] =&gt; Array ( [Index] =&gt; 2 [ItemID] =&gt; Team_Wendy_REVOLVE [TIC] =&gt; 0 [Price] =&gt; 99.00000 [Qty] =&gt; 0 ) [3] =&gt; Array ( [Index] =&gt; 3 [ItemID] =&gt; Team_Wendy_REVOLVE [TIC] =&gt; 0 [Price] =&gt; 99.00000 [Qty] =&gt; 0 ) [4] =&gt; Array ( [Index] =&gt; 4 [ItemID] =&gt; Team_Wendy_REVOLVE [TIC] =&gt; 0 [Price] =&gt; 99.00000 [Qty] =&gt; 0 ) [5] =&gt; Array ( [Index] =&gt; 5 [ItemID] =&gt; Team_Wendy_REVOLVE_Helmet_Liner_System_20_17 [TIC] =&gt; 0 [Price] =&gt; 99 [Qty] =&gt; 1 ) )

b) Error-ing product
[ ownthenight.aurorastudios.tv/shop/produc...ach-ballistic-helmet](http://ownthenight.aurorastudios.tv/shop/product/6402-gentex-tbhii-full-cut-ach-ballistic-helmet)Code:

Array ( [0] =&gt; Array ( [Index] =&gt; -1 [ItemID] =&gt; tic_rate_0 [TIC] =&gt; 0 [Price] =&gt; 1 [Qty] =&gt; 1 ) [1] =&gt; Array ( [Index] =&gt; 1 [ItemID] =&gt; Size [TIC] =&gt; 0 [Price] =&gt; [Qty] =&gt; 0 ) [2] =&gt; Array ( [Index] =&gt; 2 [ItemID] =&gt; TBHII__ [TIC] =&gt; 0 [Price] =&gt; 415 [Qty] =&gt; 1 ) [3] =&gt; Array ( [Index] =&gt; 3 [ItemID] =&gt; Color [TIC] =&gt; 0 [Price] =&gt; [Qty] =&gt; 0 ) [4] =&gt; Array ( [Index] =&gt; 4 [ItemID] =&gt; Color_9 [TIC] =&gt; 0 [Price] =&gt; [Qty] =&gt; 1 ) [5] =&gt; Array ( [Index] =&gt; 5 [ItemID] =&gt; Size_16 [TIC] =&gt; 0 [Price] =&gt; [Qty] =&gt; 1 ) ) Array ( [0] =&gt; Array ( [Index] =&gt; -1 [ItemID] =&gt; tic_rate_0 [TIC] =&gt; 0 [Price] =&gt; 1 [Qty] =&gt; 1 ) [1] =&gt; Array ( [Index] =&gt; 1 [ItemID] =&gt; Size [TIC] =&gt; 0 [Price] =&gt; [Qty] =&gt; 0 ) [2] =&gt; Array ( [Index] =&gt; 2 [ItemID] =&gt; TBHII__ [TIC] =&gt; 0 [Price] =&gt; 415 [Qty] =&gt; 1 ) [3] =&gt; Array ( [Index] =&gt; 3 [ItemID] =&gt; Color [TIC] =&gt; 0 [Price] =&gt; [Qty] =&gt; 0 ) [4] =&gt; Array ( [Index] =&gt; 4 [ItemID] =&gt; Color_9 [TIC] =&gt; 0 [Price] =&gt; [Qty] =&gt; 1 ) [5] =&gt; Array ( [Index] =&gt; 5 [ItemID] =&gt; Size_16 [TIC] =&gt; 0 [Price] =&gt; [Qty] =&gt; 1 ) )

The only thing that I can think of here is that the working product does not have value that changes the price - even though a "price change" value was NOT selected in the non-working product. I also tried to get the working product to break by adding 2 characteristics and also making some variants different prices. Also tried adding options to the working product and could not break by that either.

any thoughts..?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQwLXRheGVzLzg2ODU2OS10YXhjbG91ZC1lcnJvci1vbi1wcm9kdWN0cy13LWNoYXJhY3RlcmlzdGljcz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[kevin@solasus.com](/forum/user/3454-kevin-solasus-com "View kevin@solasus.com's Profile")**
- [![kevin@solasus.com's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/3454-kevin-solasus-com "View kevin@solasus.com's Profile")
- [ Offline](/forum/user/3454-kevin-solasus-com)

Less More

- Posts: 26
- Thank you received: 0
-
-

12 years 5 months ago [\#159784](#159784) by [kevin@solasus.com](/forum/user/3454-kevin-solasus-com "View kevin@solasus.com's Profile")  Replied by *[kevin@solasus.com](/forum/user/3454-kevin-solasus-com "View kevin@solasus.com's Profile")* on topic *[TaxCloud Error on Products w/Characteristics](/forum/40-taxes/868569-taxcloud-error-on-products-w-characteristics#159784 "-- url of the page with the problem -- :   new.littleapplewoodenpuzzles.com/handmad...em/wooden-stool.html  -- HikaShop version -- : 2.3.1 -- Joomla version -- : 3.3.0 -- PHP version -- : 5.4.27 -- Browser(s) name and version -- : Any -- Error-message(debug-mod must be tuned on) -- : TaxCloud error : (see attached)  I just added a Characteristic to a products (simple &quot;Colors&quot; with 2 choices) and now I get a generic &quot;TaxCloud: error&quot; any after an address/login is entered during checkout. It just starts appearing any where on the site that com&#95;hikashop is displayed.  I've tried even the default ProtoStar template and it gives me the same error. I find nothing in the web server logs.  I checked to make sure that the variant items and they do have the Product Taxability Code set.  I tried add just an Option to the original product (without any Characteristics) and there was no issue. So this appears to be specific to something with Characteristics. I tried adding price to the variant (just to see) and no help.  All other products work fine and if I remove the Colors Characteristic, the product is fine.  Not sure exactly what it could be.  I upgraded to 2.3.1 on my internal test server and it has the same issue if I add a Characteristic.")*

Looking at these arrays side by side - I think I see the problem. In the "broken" one several prices are missing.

after the if/else statement I've added (around ln 1075) Code:

if (!$price) $price = '0';

Don't know if I'm missing out on calculating some values here though... but at least the error messages are gone...

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQwLXRheGVzLzg2ODU2OS10YXhjbG91ZC1lcnJvci1vbi1wcm9kdWN0cy13LWNoYXJhY3RlcmlzdGljcz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14326
-
-

12 years 5 months ago [\#159797](#159797) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[TaxCloud Error on Products w/Characteristics](/forum/40-taxes/868569-taxcloud-error-on-products-w-characteristics#159797 "-- url of the page with the problem -- :   new.littleapplewoodenpuzzles.com/handmad...em/wooden-stool.html  -- HikaShop version -- : 2.3.1 -- Joomla version -- : 3.3.0 -- PHP version -- : 5.4.27 -- Browser(s) name and version -- : Any -- Error-message(debug-mod must be tuned on) -- : TaxCloud error : (see attached)  I just added a Characteristic to a products (simple &quot;Colors&quot; with 2 choices) and now I get a generic &quot;TaxCloud: error&quot; any after an address/login is entered during checkout. It just starts appearing any where on the site that com&#95;hikashop is displayed.  I've tried even the default ProtoStar template and it gives me the same error. I find nothing in the web server logs.  I checked to make sure that the variant items and they do have the Product Taxability Code set.  I tried add just an Option to the original product (without any Characteristics) and there was no issue. So this appears to be specific to something with Characteristics. I tried adding price to the variant (just to see) and no help.  All other products work fine and if I remove the Colors Characteristic, the product is fine.  Not sure exactly what it could be.  I upgraded to 2.3.1 on my internal test server and it has the same issue if I add a Characteristic.")*

From what I can see the notice message comes from the fact that there are no prices for one of the products/variants/options in the cart.
It's just a small check missing. Your fix will do but we'll do something a bit more involved for next version to make sure that this doesn't happen.
Another easy solution to avoid that is to turn off the "error reporting" option of the Joomla configuration.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQwLXRheGVzLzg2ODU2OS10YXhjbG91ZC1lcnJvci1vbi1wcm9kdWN0cy13LWNoYXJhY3RlcmlzdGljcz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.098 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
