Version Notes
Fixed Log table view not displaying
Added Configuration for required address fields
New address validation option: Enabled + Allow Order
Download this release
Release Info
Developer | Gregory Segall |
Extension | OnePica_AvaTax |
Version | 2.4.3.1 |
Comparing to | |
See all releases |
Code changes from version 2.4.3.0 to 2.4.3.1
- app/code/community/OnePica/AvaTax/Block/Checkout/Onepage/Shipping/Method/Available.php +2 -0
- app/code/community/OnePica/AvaTax/Helper/Data.php +23 -2
- app/code/community/OnePica/AvaTax/Model/Avatax/Abstract.php +2 -1
- app/code/community/OnePica/AvaTax/Model/Avatax/Address.php +44 -2
- app/code/community/OnePica/AvaTax/Model/Sales/Quote/Address/Total/Tax.php +2 -0
- app/code/community/OnePica/AvaTax/Model/Source/Addressvalidation.php +44 -0
- app/code/community/OnePica/AvaTax/Model/Source/Fieldlist.php +45 -0
- app/code/community/OnePica/AvaTax/controllers/CartController.php +35 -0
- app/code/community/OnePica/AvaTax/controllers/OnepageController.php +32 -0
- app/code/community/OnePica/AvaTax/etc/config.xml +28 -1
- app/code/community/OnePica/AvaTax/etc/system.xml +28 -1
- app/design/adminhtml/default/default/template/avatax/log/view.phtml +52 -0
- package.xml +7 -20
app/code/community/OnePica/AvaTax/Block/Checkout/Onepage/Shipping/Method/Available.php
CHANGED
@@ -70,6 +70,8 @@ class OnePica_AvaTax_Block_Checkout_Onepage_Shipping_Method_Available extends Ma
|
|
70 |
Mage::getSingleton('core/session')->addNotice($notice);
|
71 |
$additional .= $this->getMessagesBlock()->getGroupedHtml();
|
72 |
}
|
|
|
|
|
73 |
}
|
74 |
return $additional;
|
75 |
}
|
70 |
Mage::getSingleton('core/session')->addNotice($notice);
|
71 |
$additional .= $this->getMessagesBlock()->getGroupedHtml();
|
72 |
}
|
73 |
+
} else if ($this->getAddress()->getAddressNotified()) {
|
74 |
+
$additional .= $this->getMessagesBlock()->getGroupedHtml();
|
75 |
}
|
76 |
return $additional;
|
77 |
}
|
app/code/community/OnePica/AvaTax/Helper/Data.php
CHANGED
@@ -223,6 +223,27 @@ class OnePica_AvaTax_Helper_Data extends Mage_Core_Helper_Abstract
|
|
223 |
{
|
224 |
return $this->_getConfig('adjustment_negative_sku', $store);
|
225 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
226 |
|
227 |
/**
|
228 |
*
|
@@ -332,12 +353,12 @@ class OnePica_AvaTax_Helper_Data extends Mage_Core_Helper_Abstract
|
|
332 |
$filter = 'region';
|
333 |
}
|
334 |
}
|
335 |
-
|
336 |
$countryFilters = explode(',', Mage::getStoreConfig('tax/avatax/country_filter_list', $storeId));
|
337 |
if(!in_array($address->getCountryId(), $countryFilters)) {
|
338 |
$filter = 'country';
|
339 |
}
|
340 |
-
|
341 |
if($filter && $this->getLogMode($storeId)) {
|
342 |
$filterLog = Mage::getSingleton('avatax/session')->getFilterLog();
|
343 |
if(!is_array($filterLog)) $filterLog = array();
|
223 |
{
|
224 |
return $this->_getConfig('adjustment_negative_sku', $store);
|
225 |
}
|
226 |
+
|
227 |
+
/**
|
228 |
+
* Returns the required field list
|
229 |
+
*
|
230 |
+
* @return string
|
231 |
+
*/
|
232 |
+
public function getFieldRequiredList($store=null)
|
233 |
+
{
|
234 |
+
return $this->_getConfig('field_required_list', $store);
|
235 |
+
}
|
236 |
+
|
237 |
+
/**
|
238 |
+
* Returns the rules for field
|
239 |
+
*
|
240 |
+
* @return string
|
241 |
+
*/
|
242 |
+
public function getFieldRule($store=null)
|
243 |
+
{
|
244 |
+
return $this->_getConfig('field_rule', $store);
|
245 |
+
}
|
246 |
+
|
247 |
|
248 |
/**
|
249 |
*
|
353 |
$filter = 'region';
|
354 |
}
|
355 |
}
|
356 |
+
|
357 |
$countryFilters = explode(',', Mage::getStoreConfig('tax/avatax/country_filter_list', $storeId));
|
358 |
if(!in_array($address->getCountryId(), $countryFilters)) {
|
359 |
$filter = 'country';
|
360 |
}
|
361 |
+
|
362 |
if($filter && $this->getLogMode($storeId)) {
|
363 |
$filterLog = Mage::getSingleton('avatax/session')->getFilterLog();
|
364 |
if(!is_array($filterLog)) $filterLog = array();
|
app/code/community/OnePica/AvaTax/Model/Avatax/Abstract.php
CHANGED
@@ -162,7 +162,8 @@ abstract class OnePica_AvaTax_Model_Avatax_Abstract extends OnePica_AvaTax_Model
|
|
162 |
*/
|
163 |
protected function _setDestinationAddress($address) {
|
164 |
//$shippingAddress = $quote->getShippingAddress();
|
165 |
-
|
|
|
166 |
$street1 = isset($street[0]) ? $street[0] : null;
|
167 |
$street2 = isset($street[1]) ? $street[1] : null;
|
168 |
$city = $address->getCity();
|
162 |
*/
|
163 |
protected function _setDestinationAddress($address) {
|
164 |
//$shippingAddress = $quote->getShippingAddress();
|
165 |
+
//$street = $address->getStreet();
|
166 |
+
$street = array();
|
167 |
$street1 = isset($street[0]) ? $street[0] : null;
|
168 |
$street2 = isset($street[1]) ? $street[1] : null;
|
169 |
$city = $address->getCity();
|
app/code/community/OnePica/AvaTax/Model/Avatax/Address.php
CHANGED
@@ -160,13 +160,43 @@ class OnePica_AvaTax_Model_Avatax_Address extends OnePica_AvaTax_Model_Abstract
|
|
160 |
$key = $this->_mageAddress->getCacheHashKey();
|
161 |
if (array_key_exists($key, $this->_cache)) {
|
162 |
$result = unserialize($this->_cache[$key]);
|
163 |
-
} else {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
164 |
$client = $config->getAddressConnection();
|
165 |
$request = new ValidateRequest($this->_requestAddress, TextCase::$Mixed, 0);
|
166 |
$request->setTaxability(true);
|
167 |
$result = $client->Validate($request);
|
168 |
$this->_log($request, $result, $this->_storeId, $client);
|
169 |
$this->_cache[$key] = serialize($result);
|
|
|
|
|
|
|
|
|
170 |
}
|
171 |
|
172 |
//normalization
|
@@ -182,7 +212,7 @@ class OnePica_AvaTax_Model_Avatax_Address extends OnePica_AvaTax_Model_Abstract
|
|
182 |
}
|
183 |
|
184 |
//validation
|
185 |
-
if($isAddressValidationOn) {
|
186 |
if($result->getResultCode() == SeverityLevel::$Success) {
|
187 |
$this->_mageAddress->setAddressValidated(true);
|
188 |
return true;
|
@@ -194,6 +224,18 @@ class OnePica_AvaTax_Model_Avatax_Address extends OnePica_AvaTax_Model_Abstract
|
|
194 |
return $errors;
|
195 |
}
|
196 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
197 |
//a valid address isn't required, but Avalara has to say there is
|
198 |
//enough info to drill down to a tax jurisdiction to calc on
|
199 |
} elseif(!$isAddressValidationOn && $isQuoteActionable) {
|
160 |
$key = $this->_mageAddress->getCacheHashKey();
|
161 |
if (array_key_exists($key, $this->_cache)) {
|
162 |
$result = unserialize($this->_cache[$key]);
|
163 |
+
} else if ($this->_mageAddress->getPostcode() && $this->_mageAddress->getPostcode() != '-') {
|
164 |
+
$session = Mage::getSingleton('checkout/session');
|
165 |
+
if ($session->getPostType() == 'onepage')
|
166 |
+
{
|
167 |
+
$requiredFields = explode(",", $this->getHelper()->getFieldRequiredList());
|
168 |
+
$fieldRules = explode(",", $this->getHelper()->getFieldRule());
|
169 |
+
foreach ($requiredFields as $field)
|
170 |
+
{
|
171 |
+
$requiredFlag = 0;
|
172 |
+
foreach ($fieldRules as $rule)
|
173 |
+
{
|
174 |
+
if (preg_match("/street\d/", $field)) $field = "street";
|
175 |
+
if ($field == "country") $field = "country_id";
|
176 |
+
if ($this->_mageAddress->getData($field) == $rule || !$this->_mageAddress->getData($field))
|
177 |
+
{
|
178 |
+
$requiredFlag = 1;
|
179 |
+
}
|
180 |
+
}
|
181 |
+
if ($requiredFlag)
|
182 |
+
{
|
183 |
+
$errors = array();
|
184 |
+
$errors[] = $this->__('Invalid ').$this->__($field);
|
185 |
+
return $errors;
|
186 |
+
}
|
187 |
+
}
|
188 |
+
}
|
189 |
+
|
190 |
$client = $config->getAddressConnection();
|
191 |
$request = new ValidateRequest($this->_requestAddress, TextCase::$Mixed, 0);
|
192 |
$request->setTaxability(true);
|
193 |
$result = $client->Validate($request);
|
194 |
$this->_log($request, $result, $this->_storeId, $client);
|
195 |
$this->_cache[$key] = serialize($result);
|
196 |
+
} else {
|
197 |
+
$errors = array();
|
198 |
+
$errors[] = $this->__('Invalid ZIP/Postal Code.');
|
199 |
+
return $errors;
|
200 |
}
|
201 |
|
202 |
//normalization
|
212 |
}
|
213 |
|
214 |
//validation
|
215 |
+
if($isAddressValidationOn == 1) {
|
216 |
if($result->getResultCode() == SeverityLevel::$Success) {
|
217 |
$this->_mageAddress->setAddressValidated(true);
|
218 |
return true;
|
224 |
return $errors;
|
225 |
}
|
226 |
|
227 |
+
} else if ($isAddressValidationOn == 2) {
|
228 |
+
$this->_mageAddress->setAddressValidated(true);
|
229 |
+
if($result->getResultCode() == SeverityLevel::$Success) {
|
230 |
+
return true;
|
231 |
+
} else {
|
232 |
+
$this->_mageAddress->setAddressNotified(true);
|
233 |
+
foreach ($result->getMessages() as $message) {
|
234 |
+
Mage::getSingleton('core/session')->addNotice($this->__($message->getSummary()));
|
235 |
+
}
|
236 |
+
return true;
|
237 |
+
}
|
238 |
+
|
239 |
//a valid address isn't required, but Avalara has to say there is
|
240 |
//enough info to drill down to a tax jurisdiction to calc on
|
241 |
} elseif(!$isAddressValidationOn && $isQuoteActionable) {
|
app/code/community/OnePica/AvaTax/Model/Sales/Quote/Address/Total/Tax.php
CHANGED
@@ -41,6 +41,8 @@ class OnePica_AvaTax_Model_Sales_Quote_Address_Total_Tax extends Mage_Sales_Mode
|
|
41 |
$this->_setAddress($address);
|
42 |
parent::collect($address);
|
43 |
|
|
|
|
|
44 |
if($address->getPostcode() && $address->getPostcode() !='-'){
|
45 |
$store = $address->getQuote()->getStore();
|
46 |
$customer = $address->getQuote()->getCustomer();
|
41 |
$this->_setAddress($address);
|
42 |
parent::collect($address);
|
43 |
|
44 |
+
$session = Mage::getSingleton('checkout/session');
|
45 |
+
|
46 |
if($address->getPostcode() && $address->getPostcode() !='-'){
|
47 |
$store = $address->getQuote()->getStore();
|
48 |
$customer = $address->getQuote()->getCustomer();
|
app/code/community/OnePica/AvaTax/Model/Source/Addressvalidation.php
ADDED
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* OnePica_AvaTax
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0), a
|
8 |
+
* copy of which is available through the world-wide-web at this URL:
|
9 |
+
* http://opensource.org/licenses/osl-3.0.php
|
10 |
+
*
|
11 |
+
* @category OnePica
|
12 |
+
* @package OnePica_AvaTax
|
13 |
+
* @author OnePica Codemaster <codemaster@onepica.com>
|
14 |
+
* @copyright Copyright (c) 2009 One Pica, Inc.
|
15 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
16 |
+
*/
|
17 |
+
|
18 |
+
|
19 |
+
class OnePica_AvaTax_Model_Source_Addressvalidation
|
20 |
+
{
|
21 |
+
const DISABLED = 0;
|
22 |
+
const ENABLED_PREVENT_ORDER = 1;
|
23 |
+
const ENABLED_ALLOW_ORDER = 2;
|
24 |
+
|
25 |
+
/**
|
26 |
+
* Gets the list of address validation for the admin config dropdown
|
27 |
+
*
|
28 |
+
* @return array
|
29 |
+
*/
|
30 |
+
public function toOptionArray()
|
31 |
+
{
|
32 |
+
return array(
|
33 |
+
array(
|
34 |
+
'value' => self::DISABLED,
|
35 |
+
'label' => Mage::helper('avatax')->__('Disabled')),
|
36 |
+
array(
|
37 |
+
'value' => self::ENABLED_PREVENT_ORDER,
|
38 |
+
'label' => Mage::helper('avatax')->__('Enabled + Prevent Order')),
|
39 |
+
array(
|
40 |
+
'value' => self::ENABLED_ALLOW_ORDER,
|
41 |
+
'label' => Mage::helper('avatax')->__('Enabled + Allow Order'))
|
42 |
+
);
|
43 |
+
}
|
44 |
+
}
|
app/code/community/OnePica/AvaTax/Model/Source/Fieldlist.php
ADDED
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* OnePica_AvaTax
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0), a
|
8 |
+
* copy of which is available through the world-wide-web at this URL:
|
9 |
+
* http://opensource.org/licenses/osl-3.0.php
|
10 |
+
*
|
11 |
+
* @category OnePica
|
12 |
+
* @package OnePica_AvaTax
|
13 |
+
* @author OnePica Codemaster <codemaster@onepica.com>
|
14 |
+
* @copyright Copyright (c) 2009 One Pica, Inc.
|
15 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
16 |
+
*/
|
17 |
+
|
18 |
+
|
19 |
+
class OnePica_AvaTax_Model_Source_Fieldlist
|
20 |
+
{
|
21 |
+
/**
|
22 |
+
* Gets the list of required fileds for the admin config dropdown
|
23 |
+
*
|
24 |
+
* @return array
|
25 |
+
*/
|
26 |
+
public function toOptionArray()
|
27 |
+
{
|
28 |
+
$obj = Mage::getConfig()->getNode('admin/fieldsets/customer_dataflow');
|
29 |
+
|
30 |
+
foreach ($obj as $key => $obj2) {
|
31 |
+
foreach ($obj2 as $key2 => $obj3) {
|
32 |
+
if ($obj3->shipping)
|
33 |
+
{
|
34 |
+
$arr[] = array(
|
35 |
+
'value' => $key2,
|
36 |
+
'label' => Mage::helper('avatax')->__($key2),
|
37 |
+
);
|
38 |
+
}
|
39 |
+
}
|
40 |
+
}
|
41 |
+
|
42 |
+
return $arr;
|
43 |
+
}
|
44 |
+
}
|
45 |
+
|
app/code/community/OnePica/AvaTax/controllers/CartController.php
ADDED
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* OnePica_AvaTax
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0), a
|
8 |
+
* copy of which is available through the world-wide-web at this URL:
|
9 |
+
* http://opensource.org/licenses/osl-3.0.php
|
10 |
+
*
|
11 |
+
* @category OnePica
|
12 |
+
* @package OnePica_AvaTax
|
13 |
+
* @author OnePica Codemaster <codemaster@onepica.com>
|
14 |
+
* @copyright Copyright (c) 2009 One Pica, Inc.
|
15 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
16 |
+
*/
|
17 |
+
|
18 |
+
/**
|
19 |
+
* Shopping cart controller
|
20 |
+
*/
|
21 |
+
|
22 |
+
require_once 'Mage/Checkout/controllers/CartController.php';
|
23 |
+
|
24 |
+
class OnePica_AvaTax_CartController extends Mage_Checkout_CartController
|
25 |
+
{
|
26 |
+
/**
|
27 |
+
* Initialize shipping information
|
28 |
+
*/
|
29 |
+
public function estimatePostAction()
|
30 |
+
{
|
31 |
+
$session = Mage::getSingleton('checkout/session');
|
32 |
+
$session->setPostType('estimate');
|
33 |
+
parent::estimatePostAction();
|
34 |
+
}
|
35 |
+
}
|
app/code/community/OnePica/AvaTax/controllers/OnepageController.php
ADDED
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* OnePica_AvaTax
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0), a
|
8 |
+
* copy of which is available through the world-wide-web at this URL:
|
9 |
+
* http://opensource.org/licenses/osl-3.0.php
|
10 |
+
*
|
11 |
+
* @category OnePica
|
12 |
+
* @package OnePica_AvaTax
|
13 |
+
* @author OnePica Codemaster <codemaster@onepica.com>
|
14 |
+
* @copyright Copyright (c) 2009 One Pica, Inc.
|
15 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
16 |
+
*/
|
17 |
+
|
18 |
+
|
19 |
+
require_once 'Mage/Checkout/controllers/OnepageController.php';
|
20 |
+
|
21 |
+
class OnePica_AvaTax_OnepageController extends Mage_Checkout_OnepageController
|
22 |
+
{
|
23 |
+
/**
|
24 |
+
* Initialize shipping information
|
25 |
+
*/
|
26 |
+
public function indexAction()
|
27 |
+
{
|
28 |
+
$session = Mage::getSingleton('checkout/session');
|
29 |
+
$session->setPostType('onepage');
|
30 |
+
parent::indexAction();
|
31 |
+
}
|
32 |
+
}
|
app/code/community/OnePica/AvaTax/etc/config.xml
CHANGED
@@ -20,7 +20,7 @@
|
|
20 |
<config>
|
21 |
<modules>
|
22 |
<OnePica_AvaTax>
|
23 |
-
<version>2.4.3.
|
24 |
</OnePica_AvaTax>
|
25 |
</modules>
|
26 |
<global>
|
@@ -171,6 +171,24 @@
|
|
171 |
</avatax>
|
172 |
</updates>
|
173 |
</layout>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
174 |
</frontend>
|
175 |
<admin>
|
176 |
<routers>
|
@@ -193,6 +211,15 @@
|
|
193 |
</avatax>
|
194 |
</updates>
|
195 |
</layout>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
196 |
<menu>
|
197 |
<sales>
|
198 |
<children>
|
20 |
<config>
|
21 |
<modules>
|
22 |
<OnePica_AvaTax>
|
23 |
+
<version>2.4.3.1</version>
|
24 |
</OnePica_AvaTax>
|
25 |
</modules>
|
26 |
<global>
|
171 |
</avatax>
|
172 |
</updates>
|
173 |
</layout>
|
174 |
+
<routers>
|
175 |
+
<checkout>
|
176 |
+
<args>
|
177 |
+
<modules>
|
178 |
+
<OnePica_AvaTax before="Mage_Checkout">OnePica_AvaTax</OnePica_AvaTax>
|
179 |
+
</modules>
|
180 |
+
</args>
|
181 |
+
</checkout>
|
182 |
+
</routers>
|
183 |
+
<translate>
|
184 |
+
<modules>
|
185 |
+
<OnePica_AvaTax>
|
186 |
+
<files>
|
187 |
+
<default>OnePica_AvaTax.csv</default>
|
188 |
+
</files>
|
189 |
+
</OnePica_AvaTax>
|
190 |
+
</modules>
|
191 |
+
</translate>
|
192 |
</frontend>
|
193 |
<admin>
|
194 |
<routers>
|
211 |
</avatax>
|
212 |
</updates>
|
213 |
</layout>
|
214 |
+
<translate>
|
215 |
+
<modules>
|
216 |
+
<OnePica_AvaTax>
|
217 |
+
<files>
|
218 |
+
<default>OnePica_AvaTax.csv</default>
|
219 |
+
</files>
|
220 |
+
</OnePica_AvaTax>
|
221 |
+
</modules>
|
222 |
+
</translate>
|
223 |
<menu>
|
224 |
<sales>
|
225 |
<children>
|
app/code/community/OnePica/AvaTax/etc/system.xml
CHANGED
@@ -294,7 +294,7 @@
|
|
294 |
<validate_address translate="label comment">
|
295 |
<label>Address Validation</label>
|
296 |
<frontend_type>select</frontend_type>
|
297 |
-
<source_model>
|
298 |
<comment>Require a validated address from AvaTax to checkout</comment>
|
299 |
<sort_order>301</sort_order>
|
300 |
<show_in_default>1</show_in_default>
|
@@ -339,6 +339,33 @@
|
|
339 |
<show_in_store>1</show_in_store>
|
340 |
</multiaddress_normalize_message>
|
341 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
342 |
<title_error_handling translate="label">
|
343 |
<label><![CDATA[<strong>Error Handling</strong>]]></label>
|
344 |
<frontend_type>label</frontend_type>
|
294 |
<validate_address translate="label comment">
|
295 |
<label>Address Validation</label>
|
296 |
<frontend_type>select</frontend_type>
|
297 |
+
<source_model>avatax/source_addressvalidation</source_model>
|
298 |
<comment>Require a validated address from AvaTax to checkout</comment>
|
299 |
<sort_order>301</sort_order>
|
300 |
<show_in_default>1</show_in_default>
|
339 |
<show_in_store>1</show_in_store>
|
340 |
</multiaddress_normalize_message>
|
341 |
|
342 |
+
<title_request_settings translate="label">
|
343 |
+
<label><![CDATA[<strong>Request Settings</strong>]]></label>
|
344 |
+
<frontend_type>label</frontend_type>
|
345 |
+
<sort_order>340</sort_order>
|
346 |
+
<show_in_default>1</show_in_default>
|
347 |
+
<show_in_website>1</show_in_website>
|
348 |
+
<show_in_store>1</show_in_store>
|
349 |
+
</title_request_settings>
|
350 |
+
<field_required_list>
|
351 |
+
<label>Required Fileds</label>
|
352 |
+
<frontend_type>multiselect</frontend_type>
|
353 |
+
<source_model>avatax/source_fieldlist</source_model>
|
354 |
+
<sort_order>350</sort_order>
|
355 |
+
<show_in_default>1</show_in_default>
|
356 |
+
<show_in_website>1</show_in_website>
|
357 |
+
<show_in_store>1</show_in_store>
|
358 |
+
</field_required_list>
|
359 |
+
<field_rule>
|
360 |
+
<label>Field Rule</label>
|
361 |
+
<comment>Example: ' ,-,_'</comment>
|
362 |
+
<frontend_type>text</frontend_type>
|
363 |
+
<sort_order>360</sort_order>
|
364 |
+
<show_in_default>1</show_in_default>
|
365 |
+
<show_in_website>1</show_in_website>
|
366 |
+
<show_in_store>1</show_in_store>
|
367 |
+
</field_rule>
|
368 |
+
|
369 |
<title_error_handling translate="label">
|
370 |
<label><![CDATA[<strong>Error Handling</strong>]]></label>
|
371 |
<frontend_type>label</frontend_type>
|
app/design/adminhtml/default/default/template/avatax/log/view.phtml
ADDED
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* OnePica_AvaTax
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0), a
|
8 |
+
* copy of which is available through the world-wide-web at this URL:
|
9 |
+
* http://opensource.org/licenses/osl-3.0.php
|
10 |
+
*
|
11 |
+
* @category OnePica
|
12 |
+
* @package OnePica_AvaTax
|
13 |
+
* @author OnePica Codemaster <codemaster@onepica.com>
|
14 |
+
* @copyright Copyright (c) 2009 One Pica, Inc.
|
15 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
16 |
+
*/
|
17 |
+
?>
|
18 |
+
|
19 |
+
<div class="content-header">
|
20 |
+
<table cellspacing="0">
|
21 |
+
<tr>
|
22 |
+
<td style="<?php echo $this->getHeaderWidth() ?>"><?php echo $this->getHeaderHtml() ?></td>
|
23 |
+
<td class="form-buttons"><?php echo $this->getButtonsHtml() ?></td>
|
24 |
+
</tr>
|
25 |
+
</table>
|
26 |
+
</div>
|
27 |
+
|
28 |
+
<?php
|
29 |
+
$event = $this->getCurrentEvent();
|
30 |
+
?>
|
31 |
+
<div class="entry-edit">
|
32 |
+
<div class="entry-edit">
|
33 |
+
<div class="entry-edit-head">
|
34 |
+
<h4 class="icon-head head-edit-form fieldset-legend"><?php echo $this->__('Request'); ?></h4>
|
35 |
+
</div>
|
36 |
+
<div id="log_details_fieldset" class="log-details">
|
37 |
+
<textarea readonly style="width:100%; height:300px"><?php echo $this->escapeHtml($event->getRequest()); ?></textarea>
|
38 |
+
</div>
|
39 |
+
<div class="entry-edit-head">
|
40 |
+
<h4 class="icon-head head-edit-form fieldset-legend"><?php echo $this->__('Response'); ?></h4>
|
41 |
+
</div>
|
42 |
+
<div id="log_details_fieldset" class="log-details">
|
43 |
+
<textarea readonly style="width:100%; height:300px"><?php echo $this->escapeHtml($event->getResult()); ?></textarea>
|
44 |
+
</div>
|
45 |
+
<div class="entry-edit-head">
|
46 |
+
<h4 class="icon-head head-edit-form fieldset-legend"><?php echo $this->__('Additional'); ?></h4>
|
47 |
+
</div>
|
48 |
+
<div id="log_details_fieldset" class="log-details">
|
49 |
+
<textarea readonly style="width:100%; height:300px"><?php echo $this->escapeHtml($event->getAdditional()); ?></textarea>
|
50 |
+
</div>
|
51 |
+
</div>
|
52 |
+
</div>
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>OnePica_AvaTax</name>
|
4 |
-
<version>2.4.3.
|
5 |
<stability>stable</stability>
|
6 |
<license>Open Software License (OSL 3.0)</license>
|
7 |
<channel>community</channel>
|
@@ -18,30 +18,17 @@ Released as a commercial extension, this software will not work unless you have
|
|
18 |

|
19 |

|
20 |
At One Pica (www.onepica.com), we strive to build increasingly scalable and flexible enterprise systems for all of our clients, large and small. We want to give back to this community both to promote its success and as a sign of our gratitude. Please feel free to contact us on ways we can improve this extension or extend on this framework.</description>
|
21 |
-
<notes>
|
22 |

|
23 |
-
Configuration
|
24 |

|
25 |
-
New
|
26 |

|
27 |
-
Country code to requests, using config value at shipping/origin/country_id
|
28 |
-

|
29 |
-
Fix fatal error on bundled items
|
30 |
-

|
31 |
-
Fixed discount bug related to discount codes
|
32 |
-

|
33 |
-
Fixed error that did not allow user to proceed through checkout (fatal error with $store, fixed to $storeId)
|
34 |
-

|
35 |
-
Changed extension to use base currency total amounts rather than checkout currency total amounts
|
36 |
-

|
37 |
-
Changed dates in request
|
38 |
-

|
39 |
-
Currency code added to requests, using store base currency code
|
40 |
</notes>
|
41 |
<authors><author><name>Gregory Segall</name><user>gsegall</user><email>magento@onepica.com</email></author></authors>
|
42 |
-
<date>2013-05-
|
43 |
-
<time>
|
44 |
-
<contents><target name="magecommunity"><dir name="OnePica"><dir name="AvaTax"><dir name="Block"><dir name="Adminhtml"><dir name="Export"><dir name="Abstract"><file name="Grid.php" hash="b5db0baa25adca61990553cdfae054f8"/></dir><dir name="Log"><file name="Grid.php" hash="3d36d791700f8a747bb492732ff86077"/><file name="View.php" hash="99f17c532b545e34fb6ca207c2beeb37"/></dir><dir name="Queue"><file name="Grid.php" hash="52efc8e013002639cc2f0f88010c91ec"/></dir></dir><dir name="Notification"><file name="Toolbar.php" hash="a0cb132e6fb73412879a5b0b7f85871c"/></dir><dir name="System"><dir name="Config"><dir name="Form"><dir name="Field"><file name="Export.php" hash="a834887971b517d7141cb2c8868d68b1"/></dir></dir></dir></dir><dir name="Tax"><dir name="Class"><dir name="Edit"><file name="Form.php" hash="a34316cf45867eb83de49243f0fdf4c6"/></dir><file name="Grid.php" hash="a7222bf20619ea8104e4d3d0066f27fd"/></dir></dir></dir><dir name="Checkout"><dir name="Onepage"><dir name="Shipping"><dir name="Method"><file name="Available.php" hash="d8af44108fc4b6da43ebe039acb0dea0"/></dir></dir></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="1c50b46c6bbd84734ec7e740f279d0fc"/><dir name="Tax"><file name="Data.php" hash="81edee6048e5e9487f5c0a3e985d1b15"/></dir></dir><dir name="Model"><file name="Abstract.php" hash="96dcb00145bbc1a28859bd5c0f2c380d"/><dir name="Admin"><file name="Session.php" hash="e19ebf06208e3d2edef45683401fe7a8"/></dir><dir name="Adminhtml"><file name="Config.php" hash="9b6824426007b7714f58bab8dd857f2b"/><dir name="Sales"><dir name="Order"><file name="Create.php" hash="21d324f879214b08894f9c672aac5d16"/></dir></dir></dir><dir name="Avatax"><file name="Abstract.php" hash="68e7cb4aefadf9e87828389d44e8274b"/><file name="Address.php" hash="8752e8b8edcf9011a8b6d41f69e86ed0"/><file name="Estimate.php" hash="331ee6dd5ec37954ec54aa9f64606d85"/><dir name="Exception"><file name="Address.php" hash="9052a48d9c3b46811c3db4090dc610d4"/><file name="Commitfailure.php" hash="23559a21d37fd14904f088e8c2357992"/><file name="Unbalanced.php" hash="3ee206bb1cfb87cceae006a2c1b6b5e7"/></dir><file name="Invoice.php" hash="08764c536526d8c54e09c9d2a831fae4"/><file name="Ping.php" hash="61fc25b14e144ffbae8629e497cd5305"/></dir><file name="Config.php" hash="7f202ecb12a601971369714f1281d5ba"/><file name="Observer.php" hash="29f3b36cc3ee84b06e5d38f142eb7594"/><dir name="Records"><file name="Log.php" hash="14d58227e9c6b96b46b6a00cd7952586"/><dir name="Mysql4"><dir name="Log"><file name="Collection.php" hash="14344f43b12f84d745f522589b83e271"/></dir><file name="Log.php" hash="dd367bc03d936fab12d93b5a950ec102"/><dir name="Queue"><file name="Collection.php" hash="faac004ece9a1e413f870dedfc925e38"/></dir><file name="Queue.php" hash="d56bb12d6bb135bfb29d0dea513b0e0a"/></dir><dir name="Queue"><file name="Process.php" hash="8e650e32f1208867441d041716adc098"/></dir><file name="Queue.php" hash="881da6750ca3e3e43425b3182533b39d"/></dir><dir name="Sales"><dir name="Quote"><dir name="Address"><dir name="Total"><file name="Grand.php" hash="ce472ac13ac610db29175afc735c5701"/><file name="Tax.php" hash="63bee68afe39c1006df03fd23eac6c8b"/></dir></dir><file name="Address.php" hash="1d081008d83046eba3869006918dc171"/></dir></dir><file name="Session.php" hash="72849341ba81db155cc8d998b7dfef69"/><dir name="Source"><file name="Actions.php" hash="55cde933437761b778ebea15075568ab"/><file name="Customercodeformat.php" hash="1478c6fcba951ae497e7621d6cf808e0"/><file name="Error.php" hash="467b37421490cfe5eba060fc5e1af240"/><file name="Logmode.php" hash="63ab9699d71f2a6031a37d249c816b10"/><file name="Logtype.php" hash="cd46d9baf9ef70d24e1240a891a6b7be"/><file name="Onerrorfrontend.php" hash="9ecd5015d95925adfe1626634d91820e"/><dir name="Regionfilter"><file name="List.php" hash="3b86c8f2a69aeeb9eb0c1988393f10ac"/><file name="Mode.php" hash="1a1bc328674db870d0cf4ef69a05de17"/></dir></dir><file name=".DS_Store" hash="65255944ee79d37cac5700e36e70eaf0"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="ExportController.php" hash="3d770db9c1dbc8199c305e69387b679f"/><file name="GridController.php" hash="d40ba09889406dffd747788e1c244dee"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="65419d8a1aed1cdb2e3bd1af076af732"/><file name="config.xml" hash="2d38d6df8942ffe48aaee468abf36f02"/><file name="system-disabled.xml" hash="851329d6173bca6f2a2f074880c8289a"/><file name="system.xml" hash="98b9a984c3b417545ab82e44aa0a39e7"/></dir><dir name="lib"><file name="AvaTax.php" hash="d9d2ac44a3a7a4d5ca34752df3d70afb"/><dir name="classes"><file name="ATConfig.class.php" hash="9ccc6722b520cf4068235ecea5d9cade"/><file name="ATObject.class.php" hash="b9b910adcb86703cff3a59f38665a003"/><file name="AVObject.class.php" hash="b65c5532b01074a57a20703513148301"/><file name="Address.class.php" hash="06f5487c223132005a65d633930f5b72"/><file name="AddressServiceSoap.class.php" hash="776cbf348c32a7dc20cc47f90b2cc806"/><file name="AddressType.class.php" hash="1458d719ab0c4d1ff93244527b8c75cf"/><file name="AdjustTaxRequest.class.php" hash="a67ce5082335bcd553ac7ead85a7a36c"/><file name="AdjustTaxResult.class.php" hash="0fb71e82a0aa38ff792fb45d3b19c664"/><file name="ApplyPaymentRequest.class.php" hash="65fab85ca47b7c9ad84e861d6e2e9a01"/><file name="ApplyPaymentResult.class.php" hash="ddf7a332575f7c972f11f95430179b01"/><file name="AvalaraSoapClient.class.php" hash="e3561a81c82ac293767271195c8cf2e5"/><file name="BaseResult.class.php" hash="8dc91ad90e7b9fb12dbea3d5e3279892"/><dir name="BatchSvc"><file name="AuditMessage.class.php" hash="b2cf0248904656cd10b3d28f3cfa25a1"/><file name="AvaTaxBatchSvc.php" hash="2c6ecf16cec6926ca0438772c08e4f70"/><file name="BaseResult.class.php" hash="911a199f0fd54e00ccab6fad53f89ba3"/><file name="Batch.class.php" hash="ded2b8509c4223732b91608fffea43a5"/><file name="BatchDelete.class.php" hash="27b5510c8199a6e348e7c983a1b68778"/><file name="BatchDeleteResponse.class.php" hash="a181bdf63032b6f292f32a3c2d8dc008"/><file name="BatchFetch.class.php" hash="efeee6d7bcc181c1a4d4a5d165169ca8"/><file name="BatchFetchResponse.class.php" hash="e5c8f28218e1240cf360a61456baeeb5"/><file name="BatchFetchResult.class.php" hash="10549cd50bc803814381bea5e62d951e"/><file name="BatchFile.class.php" hash="0ef50e2a8147f2f57d3072128f6561ee"/><file name="BatchFileDelete.class.php" hash="b937b21facf90fb1db1f1ee70a0fefdd"/><file name="BatchFileDeleteResponse.class.php" hash="8753ed5b4aa5ed2b8f790b5d529698d2"/><file name="BatchFileFetch.class.php" hash="3a374c13d668707e004d779ee6377880"/><file name="BatchFileFetchResponse.class.php" hash="09fe9b8cc3a426b3ab13b4eb9a462914"/><file name="BatchFileFetchResult.class.php" hash="49e84f4dd96483229649539e4bcea9bd"/><file name="BatchFileSave.class.php" hash="72589688feea7a1d6afd1c27794b2585"/><file name="BatchFileSaveResponse.class.php" hash="1850184ea711a501f61ad3cbd7284069"/><file name="BatchFileSaveResult.class.php" hash="1266eefddc041b850b58616935300187"/><file name="BatchProcess.class.php" hash="60912e77dd6e6a0f6629b2e86ce0df09"/><file name="BatchProcessRequest.class.php" hash="a01a7987cc0dc962ee1499f0ab92f346"/><file name="BatchProcessResponse.class.php" hash="db13565dc7b3b1544ef5ada36c32a568"/><file name="BatchProcessResult.class.php" hash="7a4d631658c89539ea07a0236b17cf13"/><file name="BatchSave.class.php" hash="616295413418b16410cd008e3f20b28b"/><file name="BatchSaveResponse.class.php" hash="2cb0ada61c6501877c08da49bbb4a946"/><file name="BatchSaveResult.class.php" hash="bced01bdbfbdd476bca9c9d0176bd785"/><file name="BatchSvc.class.php" hash="a42b48303d7ffa8074821d738ec5b37e"/><file name="DeleteRequest.class.php" hash="259dd71651fbc6307e3ba39ba37b0982"/><file name="DeleteResult.class.php" hash="8c39215b0e317f7834a147869ca7fb17"/><file name="FetchRequest.class.php" hash="3b2cea507374b08bd6b6ea23c9487494"/><file name="FilterRequest.class.php" hash="14d910ba0d03a2179263a03404a85194"/><file name="FilterResult.class.php" hash="0608a53670e6e156628451303d11ace3"/><file name="IsAuthorized.class.php" hash="589c1aff4109cc480312675f2e04aa0e"/><file name="IsAuthorizedResponse.class.php" hash="64db8c37e7946c2902ea9e46ae86cb78"/><file name="IsAuthorizedResult.class.php" hash="5b177cc88d91c63ee998fe5712b44bcc"/><file name="Message.class.php" hash="034c2276b6de0eb234f63d9cb5c1dae0"/><file name="Ping.class.php" hash="119c38ad0e7cd85eb1b550d51a6e2425"/><file name="PingResponse.class.php" hash="f92a631e8c09cfa884acd6b820232e83"/><file name="PingResult.class.php" hash="f818d99e05c0d3c014dbf3e5986ec599"/><file name="Profile.class.php" hash="7fda4e5d8db696d854cd7d1cec25f799"/><file name="SeverityLevel.class.php" hash="043ecef6038f2e95fe282f4c979af425"/></dir><file name="BoundaryLevel.class.php" hash="9a27f3e00bbe8dde729e7e54fb323d62"/><file name="CancelCode.class.php" hash="ef3f56a04d1aade150cb08c3a9134c9b"/><file name="CancelTaxRequest.class.php" hash="19d5af5d81c6e125766c927e76971e4e"/><file name="CancelTaxResult.class.php" hash="07228ddee4ab305bc9b1512b996105f7"/><file name="CommitTaxRequest.class.php" hash="b066a6d15874be72549053f66826c9e1"/><file name="CommitTaxResult.class.php" hash="30372831394d6bdeb705b93af413b71f"/><file name="DetailLevel.class.php" hash="82c39ae81735c84cf42e45f08d2a09a9"/><file name="DocStatus.class.php" hash="bbdb6cc343319bb996f5780d90d3a5a0"/><file name="DocumentType.class.php" hash="d27a4700fefed81cb9f8c701c3939982"/><file name="DynamicSoapClient.class.php" hash="0ab14d845214d6a4c4d1dbe32666bf2f"/><file name="Enum.class.php" hash="0d16eadf4c991e7f52ef41de5cbc92e7"/><file name="GetTaxHistoryRequest.class.php" hash="b598dcee1bcaa13e4c123e558bc5d545"/><file name="GetTaxHistoryResult.class.php" hash="4c85747ef17f770ae4ec94d9e27f681f"/><file name="GetTaxRequest.class.php" hash="9da97ed2bfaa71ae47900ee2c5e2aee2"/><file name="GetTaxResult.class.php" hash="e2cf17e68126a6b0e4f5440a072dc581"/><file name="IsAuthorizedResult.class.php" hash="c570782cd50745810995c787048c8864"/><file name="JurisdictionType.class.php" hash="68b8022228fbc22d60fd74914f2a2749"/><file name="Line.class.php" hash="9afc25c9ce2581b929173d92af8b801d"/><file name="Message.class.php" hash="06a099c0f099e4e6a10c3be887b07b30"/><file name="PingResult.class.php" hash="22d83358dd7c4f8ffe3e720da3c1b565"/><file name="PostTaxRequest.class.php" hash="3301991ededc9fbad1dd45c6aa80dc51"/><file name="PostTaxResult.class.php" hash="36f02467db90d6beb33681e4f1c0a26e"/><file name="ReconcileTaxHistoryRequest.class.php" hash="ce0164310a18a7d464217ce69d7b4fc2"/><file name="ReconcileTaxHistoryResult.class.php" hash="baab8d603255b246731bcb7bca149596"/><file name="SearchTaxHistoryResult.class.php" hash="6a86da07d80fff3518a2be6e74694662"/><file name="ServiceMode.class.php" hash="9a4e633e225d4cdc62b28a041ca4d739"/><file name="SeverityLevel.class.php" hash="72d3fe39e2ced741aa8917b8e8be7c6f"/><file name="TaxDetail.class.php" hash="b6be13edfa217119a5c82c3a291ba340"/><file name="TaxLine.class.php" hash="be67b350e74efc326d1d6dcf5a21978c"/><file name="TaxOverride.class.php" hash="b0f99ad5bfe71e06bfcb60312032fdb3"/><file name="TaxOverrideType.class.php" hash="f5d2434c2a369605f82d2a182ddbea74"/><file name="TaxRequest.class.php" hash="7a6a1dbf317aedb18b225efa7c90da88"/><file name="TaxServiceSoap.class.php" hash="9deec191eb6a90239eaed2537d06ffe1"/><file name="TaxType.class.php" hash="a8a6fe2ed98440606f50190e3f5aa914"/><file name="TextCase.class.php" hash="dd265892e4733ef7f2e6d5cd53daa087"/><file name="ValidAddress.class.php" hash="9aef14ddcda74827f288bce6cf5e18e0"/><file name="ValidateRequest.class.php" hash="df76ee0d0acef422e1640796f627bd4f"/><file name="ValidateResult.class.php" hash="cd7fff7ffa3fbc9d04d3fe15b9d877e9"/><dir name="wsdl"><file name="Address.wsdl" hash="2ca743760c961db0ae03e4c6900667cb"/><file name="BatchSvc.wsdl" hash="eae666b959c1889d586919da4ebccefd"/><file name="Tax.wsdl" hash="da6b3da89c3e4f3f7db6d0ed9d4d33de"/></dir></dir><file name="functions.php" hash="b94adf9f4887ff8f023fdaff5c64d974"/></dir><dir name="sql"><dir name="avatax_records_setup"><file name="mysql4-install-0.1.0.php" hash="cae21cd6e672cb07b606b5ab58fc5fd7"/><file name="mysql4-upgrade-0.1.4-0.1.5.php" hash="3bde3555bafe3f4dbb6b620b75abfa02"/><file name="mysql4-upgrade-1.0.1-2.0.0.php" hash="1b6d23e38621253e76c12a48e5494c64"/><file name="mysql4-upgrade-2.2.0-2.2.1.php" hash="82c4fc41cf9a235072c585028c23fecd"/></dir></dir><file name=".DS_Store" hash="9ec56fc55ff21aaf79db8a75f48bdc91"/></dir></dir></target><target name="mageetc"><dir name="modules"><file name="OnePica_AvaTax.xml" hash="9a548b57f519da49acf5fe116d2aeabe"/></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="avatax.xml" hash="e9ba43333bdc89b3de01845797d74c52"/></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="avatax.xml" hash="b47bd34f2df8092cdcbc973be8356777"/></dir></dir></dir></dir></target></contents>
|
45 |
<compatible/>
|
46 |
<dependencies><required><php><min>5.2.3</min><max>6.0.0</max></php><extension><name>curl</name><min></min><max></max></extension><extension><name>soap</name><min></min><max></max></extension></required></dependencies>
|
47 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>OnePica_AvaTax</name>
|
4 |
+
<version>2.4.3.1</version>
|
5 |
<stability>stable</stability>
|
6 |
<license>Open Software License (OSL 3.0)</license>
|
7 |
<channel>community</channel>
|
18 |

|
19 |

|
20 |
At One Pica (www.onepica.com), we strive to build increasingly scalable and flexible enterprise systems for all of our clients, large and small. We want to give back to this community both to promote its success and as a sign of our gratitude. Please feel free to contact us on ways we can improve this extension or extend on this framework.</description>
|
21 |
+
<notes>Fixed Log table view not displaying
|
22 |

|
23 |
+
Added Configuration for required address fields
|
24 |

|
25 |
+
New address validation option: Enabled + Allow Order 
|
26 |

|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
27 |
</notes>
|
28 |
<authors><author><name>Gregory Segall</name><user>gsegall</user><email>magento@onepica.com</email></author></authors>
|
29 |
+
<date>2013-05-15</date>
|
30 |
+
<time>15:27:57</time>
|
31 |
+
<contents><target name="magecommunity"><dir name="OnePica"><dir name="AvaTax"><dir name="Block"><dir name="Adminhtml"><dir name="Export"><dir name="Abstract"><file name="Grid.php" hash="b5db0baa25adca61990553cdfae054f8"/></dir><dir name="Log"><file name="Grid.php" hash="3d36d791700f8a747bb492732ff86077"/><file name="View.php" hash="99f17c532b545e34fb6ca207c2beeb37"/></dir><dir name="Queue"><file name="Grid.php" hash="52efc8e013002639cc2f0f88010c91ec"/></dir></dir><dir name="Notification"><file name="Toolbar.php" hash="a0cb132e6fb73412879a5b0b7f85871c"/></dir><dir name="System"><dir name="Config"><dir name="Form"><dir name="Field"><file name="Export.php" hash="a834887971b517d7141cb2c8868d68b1"/></dir></dir></dir></dir><dir name="Tax"><dir name="Class"><dir name="Edit"><file name="Form.php" hash="a34316cf45867eb83de49243f0fdf4c6"/></dir><file name="Grid.php" hash="a7222bf20619ea8104e4d3d0066f27fd"/></dir></dir></dir><dir name="Checkout"><dir name="Onepage"><dir name="Shipping"><dir name="Method"><file name="Available.php" hash="32d846b8b509e62206ab5de2ff3680dd"/></dir></dir></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="c210d52ae758be31baf225f9926029bc"/><dir name="Tax"><file name="Data.php" hash="81edee6048e5e9487f5c0a3e985d1b15"/></dir></dir><dir name="Model"><file name="Abstract.php" hash="96dcb00145bbc1a28859bd5c0f2c380d"/><dir name="Admin"><file name="Session.php" hash="e19ebf06208e3d2edef45683401fe7a8"/></dir><dir name="Adminhtml"><file name="Config.php" hash="9b6824426007b7714f58bab8dd857f2b"/><dir name="Sales"><dir name="Order"><file name="Create.php" hash="21d324f879214b08894f9c672aac5d16"/></dir></dir></dir><dir name="Avatax"><file name="Abstract.php" hash="6e997ec953fa10f3264cd4fc02943779"/><file name="Address.php" hash="21dadef76f7df29d65da454dfdc262e7"/><file name="Estimate.php" hash="331ee6dd5ec37954ec54aa9f64606d85"/><dir name="Exception"><file name="Address.php" hash="9052a48d9c3b46811c3db4090dc610d4"/><file name="Commitfailure.php" hash="23559a21d37fd14904f088e8c2357992"/><file name="Unbalanced.php" hash="3ee206bb1cfb87cceae006a2c1b6b5e7"/></dir><file name="Invoice.php" hash="08764c536526d8c54e09c9d2a831fae4"/><file name="Ping.php" hash="61fc25b14e144ffbae8629e497cd5305"/></dir><file name="Config.php" hash="7f202ecb12a601971369714f1281d5ba"/><file name="Observer.php" hash="29f3b36cc3ee84b06e5d38f142eb7594"/><dir name="Records"><file name="Log.php" hash="14d58227e9c6b96b46b6a00cd7952586"/><dir name="Mysql4"><dir name="Log"><file name="Collection.php" hash="14344f43b12f84d745f522589b83e271"/></dir><file name="Log.php" hash="dd367bc03d936fab12d93b5a950ec102"/><dir name="Queue"><file name="Collection.php" hash="faac004ece9a1e413f870dedfc925e38"/></dir><file name="Queue.php" hash="d56bb12d6bb135bfb29d0dea513b0e0a"/></dir><dir name="Queue"><file name="Process.php" hash="8e650e32f1208867441d041716adc098"/></dir><file name="Queue.php" hash="881da6750ca3e3e43425b3182533b39d"/></dir><dir name="Sales"><dir name="Quote"><dir name="Address"><dir name="Total"><file name="Grand.php" hash="ce472ac13ac610db29175afc735c5701"/><file name="Tax.php" hash="065a94e81758d52f8ebfd816f71e4756"/></dir></dir><file name="Address.php" hash="1d081008d83046eba3869006918dc171"/></dir></dir><file name="Session.php" hash="72849341ba81db155cc8d998b7dfef69"/><dir name="Source"><file name="Actions.php" hash="55cde933437761b778ebea15075568ab"/><file name="Addressvalidation.php" hash="50910e35a4413b03e2089b2b7877e98e"/><file name="Customercodeformat.php" hash="1478c6fcba951ae497e7621d6cf808e0"/><file name="Error.php" hash="467b37421490cfe5eba060fc5e1af240"/><file name="Fieldlist.php" hash="78e6a255435b2e48ebe912424108c606"/><file name="Logmode.php" hash="63ab9699d71f2a6031a37d249c816b10"/><file name="Logtype.php" hash="cd46d9baf9ef70d24e1240a891a6b7be"/><file name="Onerrorfrontend.php" hash="9ecd5015d95925adfe1626634d91820e"/><dir name="Regionfilter"><file name="List.php" hash="3b86c8f2a69aeeb9eb0c1988393f10ac"/><file name="Mode.php" hash="1a1bc328674db870d0cf4ef69a05de17"/></dir></dir><file name=".DS_Store" hash="65255944ee79d37cac5700e36e70eaf0"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="ExportController.php" hash="3d770db9c1dbc8199c305e69387b679f"/><file name="GridController.php" hash="d40ba09889406dffd747788e1c244dee"/></dir><file name="CartController.php" hash="1dd07701a719717381b52da7b0e235e2"/><file name="OnepageController.php" hash="491c3547e25aca5632356e678109f105"/></dir><dir name="etc"><file name="adminhtml.xml" hash="65419d8a1aed1cdb2e3bd1af076af732"/><file name="config.xml" hash="44647306871613085b09dbc8826594c9"/><file name="system-disabled.xml" hash="851329d6173bca6f2a2f074880c8289a"/><file name="system.xml" hash="b25373b964002d8be9bd9cd671e55ba2"/></dir><dir name="lib"><file name="AvaTax.php" hash="d9d2ac44a3a7a4d5ca34752df3d70afb"/><dir name="classes"><file name="ATConfig.class.php" hash="9ccc6722b520cf4068235ecea5d9cade"/><file name="ATObject.class.php" hash="b9b910adcb86703cff3a59f38665a003"/><file name="AVObject.class.php" hash="b65c5532b01074a57a20703513148301"/><file name="Address.class.php" hash="06f5487c223132005a65d633930f5b72"/><file name="AddressServiceSoap.class.php" hash="776cbf348c32a7dc20cc47f90b2cc806"/><file name="AddressType.class.php" hash="1458d719ab0c4d1ff93244527b8c75cf"/><file name="AdjustTaxRequest.class.php" hash="a67ce5082335bcd553ac7ead85a7a36c"/><file name="AdjustTaxResult.class.php" hash="0fb71e82a0aa38ff792fb45d3b19c664"/><file name="ApplyPaymentRequest.class.php" hash="65fab85ca47b7c9ad84e861d6e2e9a01"/><file name="ApplyPaymentResult.class.php" hash="ddf7a332575f7c972f11f95430179b01"/><file name="AvalaraSoapClient.class.php" hash="e3561a81c82ac293767271195c8cf2e5"/><file name="BaseResult.class.php" hash="8dc91ad90e7b9fb12dbea3d5e3279892"/><dir name="BatchSvc"><file name="AuditMessage.class.php" hash="b2cf0248904656cd10b3d28f3cfa25a1"/><file name="AvaTaxBatchSvc.php" hash="2c6ecf16cec6926ca0438772c08e4f70"/><file name="BaseResult.class.php" hash="911a199f0fd54e00ccab6fad53f89ba3"/><file name="Batch.class.php" hash="ded2b8509c4223732b91608fffea43a5"/><file name="BatchDelete.class.php" hash="27b5510c8199a6e348e7c983a1b68778"/><file name="BatchDeleteResponse.class.php" hash="a181bdf63032b6f292f32a3c2d8dc008"/><file name="BatchFetch.class.php" hash="efeee6d7bcc181c1a4d4a5d165169ca8"/><file name="BatchFetchResponse.class.php" hash="e5c8f28218e1240cf360a61456baeeb5"/><file name="BatchFetchResult.class.php" hash="10549cd50bc803814381bea5e62d951e"/><file name="BatchFile.class.php" hash="0ef50e2a8147f2f57d3072128f6561ee"/><file name="BatchFileDelete.class.php" hash="b937b21facf90fb1db1f1ee70a0fefdd"/><file name="BatchFileDeleteResponse.class.php" hash="8753ed5b4aa5ed2b8f790b5d529698d2"/><file name="BatchFileFetch.class.php" hash="3a374c13d668707e004d779ee6377880"/><file name="BatchFileFetchResponse.class.php" hash="09fe9b8cc3a426b3ab13b4eb9a462914"/><file name="BatchFileFetchResult.class.php" hash="49e84f4dd96483229649539e4bcea9bd"/><file name="BatchFileSave.class.php" hash="72589688feea7a1d6afd1c27794b2585"/><file name="BatchFileSaveResponse.class.php" hash="1850184ea711a501f61ad3cbd7284069"/><file name="BatchFileSaveResult.class.php" hash="1266eefddc041b850b58616935300187"/><file name="BatchProcess.class.php" hash="60912e77dd6e6a0f6629b2e86ce0df09"/><file name="BatchProcessRequest.class.php" hash="a01a7987cc0dc962ee1499f0ab92f346"/><file name="BatchProcessResponse.class.php" hash="db13565dc7b3b1544ef5ada36c32a568"/><file name="BatchProcessResult.class.php" hash="7a4d631658c89539ea07a0236b17cf13"/><file name="BatchSave.class.php" hash="616295413418b16410cd008e3f20b28b"/><file name="BatchSaveResponse.class.php" hash="2cb0ada61c6501877c08da49bbb4a946"/><file name="BatchSaveResult.class.php" hash="bced01bdbfbdd476bca9c9d0176bd785"/><file name="BatchSvc.class.php" hash="a42b48303d7ffa8074821d738ec5b37e"/><file name="DeleteRequest.class.php" hash="259dd71651fbc6307e3ba39ba37b0982"/><file name="DeleteResult.class.php" hash="8c39215b0e317f7834a147869ca7fb17"/><file name="FetchRequest.class.php" hash="3b2cea507374b08bd6b6ea23c9487494"/><file name="FilterRequest.class.php" hash="14d910ba0d03a2179263a03404a85194"/><file name="FilterResult.class.php" hash="0608a53670e6e156628451303d11ace3"/><file name="IsAuthorized.class.php" hash="589c1aff4109cc480312675f2e04aa0e"/><file name="IsAuthorizedResponse.class.php" hash="64db8c37e7946c2902ea9e46ae86cb78"/><file name="IsAuthorizedResult.class.php" hash="5b177cc88d91c63ee998fe5712b44bcc"/><file name="Message.class.php" hash="034c2276b6de0eb234f63d9cb5c1dae0"/><file name="Ping.class.php" hash="119c38ad0e7cd85eb1b550d51a6e2425"/><file name="PingResponse.class.php" hash="f92a631e8c09cfa884acd6b820232e83"/><file name="PingResult.class.php" hash="f818d99e05c0d3c014dbf3e5986ec599"/><file name="Profile.class.php" hash="7fda4e5d8db696d854cd7d1cec25f799"/><file name="SeverityLevel.class.php" hash="043ecef6038f2e95fe282f4c979af425"/></dir><file name="BoundaryLevel.class.php" hash="9a27f3e00bbe8dde729e7e54fb323d62"/><file name="CancelCode.class.php" hash="ef3f56a04d1aade150cb08c3a9134c9b"/><file name="CancelTaxRequest.class.php" hash="19d5af5d81c6e125766c927e76971e4e"/><file name="CancelTaxResult.class.php" hash="07228ddee4ab305bc9b1512b996105f7"/><file name="CommitTaxRequest.class.php" hash="b066a6d15874be72549053f66826c9e1"/><file name="CommitTaxResult.class.php" hash="30372831394d6bdeb705b93af413b71f"/><file name="DetailLevel.class.php" hash="82c39ae81735c84cf42e45f08d2a09a9"/><file name="DocStatus.class.php" hash="bbdb6cc343319bb996f5780d90d3a5a0"/><file name="DocumentType.class.php" hash="d27a4700fefed81cb9f8c701c3939982"/><file name="DynamicSoapClient.class.php" hash="0ab14d845214d6a4c4d1dbe32666bf2f"/><file name="Enum.class.php" hash="0d16eadf4c991e7f52ef41de5cbc92e7"/><file name="GetTaxHistoryRequest.class.php" hash="b598dcee1bcaa13e4c123e558bc5d545"/><file name="GetTaxHistoryResult.class.php" hash="4c85747ef17f770ae4ec94d9e27f681f"/><file name="GetTaxRequest.class.php" hash="9da97ed2bfaa71ae47900ee2c5e2aee2"/><file name="GetTaxResult.class.php" hash="e2cf17e68126a6b0e4f5440a072dc581"/><file name="IsAuthorizedResult.class.php" hash="c570782cd50745810995c787048c8864"/><file name="JurisdictionType.class.php" hash="68b8022228fbc22d60fd74914f2a2749"/><file name="Line.class.php" hash="9afc25c9ce2581b929173d92af8b801d"/><file name="Message.class.php" hash="06a099c0f099e4e6a10c3be887b07b30"/><file name="PingResult.class.php" hash="22d83358dd7c4f8ffe3e720da3c1b565"/><file name="PostTaxRequest.class.php" hash="3301991ededc9fbad1dd45c6aa80dc51"/><file name="PostTaxResult.class.php" hash="36f02467db90d6beb33681e4f1c0a26e"/><file name="ReconcileTaxHistoryRequest.class.php" hash="ce0164310a18a7d464217ce69d7b4fc2"/><file name="ReconcileTaxHistoryResult.class.php" hash="baab8d603255b246731bcb7bca149596"/><file name="SearchTaxHistoryResult.class.php" hash="6a86da07d80fff3518a2be6e74694662"/><file name="ServiceMode.class.php" hash="9a4e633e225d4cdc62b28a041ca4d739"/><file name="SeverityLevel.class.php" hash="72d3fe39e2ced741aa8917b8e8be7c6f"/><file name="TaxDetail.class.php" hash="b6be13edfa217119a5c82c3a291ba340"/><file name="TaxLine.class.php" hash="be67b350e74efc326d1d6dcf5a21978c"/><file name="TaxOverride.class.php" hash="b0f99ad5bfe71e06bfcb60312032fdb3"/><file name="TaxOverrideType.class.php" hash="f5d2434c2a369605f82d2a182ddbea74"/><file name="TaxRequest.class.php" hash="7a6a1dbf317aedb18b225efa7c90da88"/><file name="TaxServiceSoap.class.php" hash="9deec191eb6a90239eaed2537d06ffe1"/><file name="TaxType.class.php" hash="a8a6fe2ed98440606f50190e3f5aa914"/><file name="TextCase.class.php" hash="dd265892e4733ef7f2e6d5cd53daa087"/><file name="ValidAddress.class.php" hash="9aef14ddcda74827f288bce6cf5e18e0"/><file name="ValidateRequest.class.php" hash="df76ee0d0acef422e1640796f627bd4f"/><file name="ValidateResult.class.php" hash="cd7fff7ffa3fbc9d04d3fe15b9d877e9"/><dir name="wsdl"><file name="Address.wsdl" hash="2ca743760c961db0ae03e4c6900667cb"/><file name="BatchSvc.wsdl" hash="eae666b959c1889d586919da4ebccefd"/><file name="Tax.wsdl" hash="da6b3da89c3e4f3f7db6d0ed9d4d33de"/></dir></dir><file name="functions.php" hash="b94adf9f4887ff8f023fdaff5c64d974"/></dir><dir name="sql"><dir name="avatax_records_setup"><file name="mysql4-install-0.1.0.php" hash="cae21cd6e672cb07b606b5ab58fc5fd7"/><file name="mysql4-upgrade-0.1.4-0.1.5.php" hash="3bde3555bafe3f4dbb6b620b75abfa02"/><file name="mysql4-upgrade-1.0.1-2.0.0.php" hash="1b6d23e38621253e76c12a48e5494c64"/><file name="mysql4-upgrade-2.2.0-2.2.1.php" hash="82c4fc41cf9a235072c585028c23fecd"/></dir></dir><file name=".DS_Store" hash="9ec56fc55ff21aaf79db8a75f48bdc91"/></dir></dir></target><target name="mageetc"><dir name="modules"><file name="OnePica_AvaTax.xml" hash="9a548b57f519da49acf5fe116d2aeabe"/></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="avatax.xml" hash="e9ba43333bdc89b3de01845797d74c52"/></dir><dir name="template"><dir name="avatax"><dir name="log"><file name="view.phtml" hash="285bcc5ffb36140d010970e030b141ab"/></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="avatax.xml" hash="b47bd34f2df8092cdcbc973be8356777"/></dir></dir></dir></dir></target></contents>
|
32 |
<compatible/>
|
33 |
<dependencies><required><php><min>5.2.3</min><max>6.0.0</max></php><extension><name>curl</name><min></min><max></max></extension><extension><name>soap</name><min></min><max></max></extension></required></dependencies>
|
34 |
</package>
|