Page 1 of 1

Third Party Tax Provider

Posted: Tue Sep 01, 2009 2:57 pm
by redrisk@coleman.com
We use Vertex as our tax provider which allows us to pass shipping info and item cost via a SOAP call and return the proper tax.

I need to know where to place this SOAP call within AbleCommerce 7.0.3 so that is will be used for our tax calculation. I have found a number of posts from years ago somewhat showing how to create a class file that should accomplish this. Is this still the method required? I would have hoped for more documention and possibly something that was clearer. This seems like a customization that would be required by many customers so I was hoping for something a little more straight forward, like a class file with a "Place your code here" comment.

Any help pointing me in the right direction is appreciated.

Re: Third Party Tax Provider

Posted: Tue Sep 01, 2009 7:59 pm
by mazhar
Please read following topic from WIKI about tax provider integeration
http://wiki.ablecommerce.com/index.php/ ... x_Provider
Also have a look at following thread about Avalara tax provider
viewtopic.php?f=42&t=5935

Re: Third Party Tax Provider

Posted: Wed Sep 02, 2009 10:45 am
by Logan Rhodehamel
I have updated this page: http://wiki.ablecommerce.com/index.php/ ... x_Provider

It now contains a sample code class - you have to fill in the code appropriate for your provider.

Re: Third Party Tax Provider

Posted: Tue Sep 15, 2009 11:51 am
by redrisk@coleman.com
Logan - I appreciate the posting and I have been able to successfully integrate AbleCommerce with our sales tax solution Vertex.

The one thing that concerns me is that if there is an error it just returns a zero sales tax, we would not want to obtain a credit card authorization without the correct sales tax, is there a way to throw an error that will halt the checkout process?

Another thing we use this for is address verification. The call we make to Vertex will return an error if city, state and zip are not correct. How can I use this with Ablecommerce? Is it possible to throw an error in my salestax call or will I need a seperate call to vertex elsewhere for address verification purposes.

Re: Third Party Tax Provider

Posted: Tue Sep 15, 2009 12:11 pm
by Logan Rhodehamel
Not natively - at least not through the API we have published. It seems this would best be handled by direct code customizations. For example when the billing address is entered, add a custom call to your tax provider to verify the address and show an error if necessary. Likewise, when a customer proceeds to the payment stage, verify your taxes have been suitably calculated and show a message if not.

Your last chance to cancel a checkout is in OnePageCheckout.ascx.cs, in the method CheckingOut. You could perform your final verification there if you want.