News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Avalara tax plugin, after entering configuration, configuration disappears.

Started by wsffa, February 17, 2015, 22:32:36 PM

Previous topic - Next topic

wsffa

Environment:
Joomla: 3.3.6
VirtueMart: 3.0.4
plgvm_avalara: 3.0.4

I've enabled the Avalara tax plug-in and I've tried to configure it according to the documentation:

http://docs.virtuemart.net/tutorials/28-plugins-payment-shipment-and-others/75-configure-avatax

after I've entered the data in the various fields and I've clicked on 'save', when the form returns, ALL the Avalara entered fields are blank.

Does anyone know why, and more importantly, how do I fix it?

Also, does anyone know where I can find out more about the undocumented Avalara fields?

Thanks.


wsffa

When I went to delete the tax definition that I'd created and try again, I encountered the following error:

    1146 Table 'test_wsffa.tdevl_virtuemart_calc_plg_avalara' doesn't exist SQL=SELECT `id` FROM `tdevl_virtuemart_calc_plg_avalara` WHERE `id` = "4"

When I went and checked the database structures, sure enough, there were no entries for this table.

Does anyone have any ideas on what the table requirements are?

wsffa

For anyone experiencing a similar problem, development has advised me that the problem will be fixed in release 3.0.6.2, which should be available anytime now.

Milbo

In case you get the problem with the tables, go to the aio and use update tables. Or just install the aio again. Avatax should work again with version 3.0.6, yes.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/


wsffa

I'm not sure if this should be a new entry or just appended to this one, but here goes...

I've downloaded and started testing VM3.0.6.2 with the new Avatax fix you provided.  While testing things, I kept getting strange messages at the top of my shopping cart:

VMCALCULATION_AVALARA_INSUF_INFO
VMCALCULATION_AVALARA_INVALID_INFO
VMCALCULATION_AVALARA_INVALID_INFO
VMCALCULATION_AVALARA_INVALID_INFO

How I reproduced this (using the demo data) is that I added 1 item to my cart and then said to checkout, the above errors immediately displayed on the checkout page.

It's taken me a bit, but I think I finally figured out that the language translation file(s) for the VM Avatax plug-in are missing. Specifically, the file https://dev.virtuemart.net/svn/virtuemart/trunk/virtuemart/administrator/language/en-GB/en-GB.plg_vmcalculation_avalara.ini appears to be missing from both the administrator and general site languages directory (english in my case).

..../language/en-GB
.../administrator/language/en-GB

Adding en-GB.plg_vmcalculation_avalara.ini appears to have solved the problem.

I do have one question, is there a way to keep from generating the above errors until after the user has had a chance to enter the necessary information and tried to proceed to the next step in the process?