TaxCloud Example Code Ready for osCommerce Developers

January 3, 2011

TaxCloud is a free, easy-to-use sales tax calculation and remittance service for retailers. It’s the only service created to comply with the Streamlined Sales and Use Tax Agreement (SSUTA) at a scale to support all internet merchants.

osCommerce is a popular Open Source online shop e-commerce solution that is powered by a dedicated, strong, and ever growing community, and is released under the GNU General Public License.

The standard osCommerce software implements tax calculations by defining tax rates for a geographical zone. The tax is either calculated based on the merchant’s address or the customer’s shipping address. To set this up for the entire US you would have to create a zone for each zip+4 code in the country for each tax class. This would be difficult and hard to maintain. Implementing the TaxCloud module makes tax lookups easy.

This module was developed using v2.3.1 of osCommerce. Installing the module for this version of the software is as easy as extracting the files from the TaxCloud zip file over the existing osCommerce installation. The code for other versions of the software will be similar but you may instead have to edit the PHP files directly to include the TaxCloud code.

** Update – version 1.4 now includes support for Exemption Certificates! **

The TaxCloud sample module is available on GitHub.

Installation

1. Ensure that SOAP is enabled (php_curl and php_soap in php.ini)

2. Back up your current osCommerce installation.

Read the rest of this entry »