Avalara Developer Network Developer blog

AvaTax Developer Blog Posts

Avalara AvaTax with Stripe.js

blog preview image

The new AvaTax.js library makes it easy to calculate taxes with browser-based shopping carts and other web commerce environments – providing real-time tax calculation results during the checkout process. Those accurate, on-demand tax calculations can be consumed at time of checkout, allowing you to display the results to your shoppers or use them in your payment processing. This diagram is a typical process flow for an E-commerce scenario. Let’s take a look at an easy example where AvaTax.js can be used in conjunction with Stripe.js to calculate tax and create a payment authorization token. You’ll need to include the core...

AvaTax.js sample posted!

There’s a new sample posted for folks working in JavaScript! This sample uses a server-side PHP proxy to call the service, making it easier to calculate accurate taxes and record documents from browser checkout environments. Check it out and let us know what you think!

Avalara Avatax REST SDK for iOS now available!

If you’re building mobile related retail applications or extensions to your ERP/Ecommerce platforms on iOS for the iPhone or iPad, then you’re in luck. We just completed the iOS Software Development Kit that allows you to easily connect to Avalara’s Avatax API. The SDK comes as a static library that you can link to your iOS projects. For REST de/serialization, we’ve used a 3rd party library called JSONModel which simplifies data transformation from object model to JSON (and back). We’ve included that into the project as well as the full source code under the Apache 2.0 license. You can download...

Prompting users for certificate information with the AvaTax Certs API

blog preview image

The AvaTax Certs product is a stand-alone exemption certificate management product that can be used in conjunction with the AvaTax Calc product. The Certs product allows a company to track exempt customers, initiate automated correspondence to request certificate information from those customers, and track and manage the resulting exemption certificates. All valid certificates created/recorded in the AvaTax Certs product sync over to the AvaTax Calc product as well - once a customer has a valid exemption certificate in Certs, they will automatically be tax exempt for your tax calculations. There is a RESTful API to interact with the AvaTax Certs...

Introduction to the Avalara AvaTax API

Anya Stettler has put together a nice video overview of the Avalara AvaTax API. It’s a great place to start learning the details you’ll need for a good integration. To find out more about the business use cases and features you should be thinking about, check out our Integration Checklist.

Developer Testimonial

Our Partner’s developers say integrating to AvaTax is a breeze. Try it today!  Sign up for our API Free Trial.

Handling Java SSL Certificate Exception

If you are trying to make an HTTPS call to the AvaTax web service from a WebSphere Message Broker  and recieve an exception message similar to below, it is likely that the Message Broker is unable to build the entire certificate path. The Message Broker “keystore” must have all of the certificates in the “chain” of CA’s. javax.net.ssl.SSLHandshakeException: com.ibm.jsse2.util.h: PKIX path building failed: java.security.cert.CertPathBuilderException: PKIXCertPathBuilderImpl could not build a valid CertPath.; internal cause is: java.security.cert.CertPathValidatorException: The certificate issued by OU=Class 3 Public Primary Certification Authority, O="VeriSign, Inc.", C=US is not trusted; internal cause is: java.security.cert.CertPathValidatorException: Certificate chaining error One way...

Testing Address Errors

When you’re testing your integration, it’s always a good idea to figure out how you’re going to handle errors. Not all errors from our system are bad - some just mean a user has entered an invalid address (perhaps by making a typo!) - and your system should react accordingly. These address-related errors are to be expected in normal use of your connector. Sometimes it can be challenging to create this use case on purpose: our system is very good at validating addresses and calculating tax accordingly (albeit at lower precision levels). In fact, due to customer demand, we recently updated...

Subscribe via RSS!