Hacker News new | ask | show | jobs
by chaz 4995 days ago
TaxCloud posted sample code for Zencart in December 2010, and it appears to me that the variable names were already established. Some of it is below.

  // func.taxcloud.php

  function verifyAddress($address, &$err) {

    global $client;

    // Verify the address through the TaxCloud verify address service
    $params = array( "uspsUserID" => USPS_ID,
           "address1" => $address->getAddress1(),
           "address2" => $address->getAddress2(),
           "city" => $address->getCity(),
           "state" => $address->getState(),
           "zip5" => $address->getZip5(),
           "zip4" => $address->getZip4());
  [...]
Post: http://dev.taxcloud.net/2010/12/30/taxcloud-example-code-rea... Code: http://morecarts.taxcloud.net/cartcode/