Version Notes
Changed extension to use base currency total amounts rather than checkout currency total amounts. This will allow it to work better in multi-currency environments.
Added country code to requests, using config value at shipping/origin/country_id.
Added currency code to requests, using store base currency code.
Download this release
Release Info
Developer | Gregory Segall |
Extension | OnePica_AvaTax |
Version | 2.4.2.0 |
Comparing to | |
See all releases |
Code changes from version 2.4.1.0 to 2.4.2.0
- app/code/community/OnePica/AvaTax/Model/Avatax/Abstract.php +2 -0
- app/code/community/OnePica/AvaTax/Model/Avatax/Estimate.php +7 -7
- app/code/community/OnePica/AvaTax/Model/Avatax/Invoice.php +13 -9
- app/code/community/OnePica/AvaTax/Model/Sales/Quote/Address/Total/Tax.php +25 -20
- app/code/community/OnePica/AvaTax/etc/config.xml +1 -1
- package.xml +9 -5
app/code/community/OnePica/AvaTax/Model/Avatax/Abstract.php
CHANGED
@@ -91,6 +91,8 @@ abstract class OnePica_AvaTax_Model_Avatax_Abstract extends OnePica_AvaTax_Model
|
|
91 |
$this->_request->setDiscount(0.00); //cannot be used in Magento
|
92 |
$this->_request->setSalespersonCode(Mage::helper('avatax')->getSalesPersonCode($storeId));
|
93 |
$this->_request->setLocationCode(Mage::helper('avatax')->getLocationCode($storeId));
|
|
|
|
|
94 |
$this->_addCustomer($object);
|
95 |
if($object instanceof Mage_Sales_Model_Order && $object->getIncrementId()) {
|
96 |
$this->_request->setReferenceCode('Magento Order #' . $object->getIncrementId());
|
91 |
$this->_request->setDiscount(0.00); //cannot be used in Magento
|
92 |
$this->_request->setSalespersonCode(Mage::helper('avatax')->getSalesPersonCode($storeId));
|
93 |
$this->_request->setLocationCode(Mage::helper('avatax')->getLocationCode($storeId));
|
94 |
+
$this->_request->setCountry(Mage::getStoreConfig('shipping/origin/country_id', $store));
|
95 |
+
$this->_request->setCurrencyCode(Mage::app()->getStore()->getBaseCurrencyCode());
|
96 |
$this->_addCustomer($object);
|
97 |
if($object instanceof Mage_Sales_Model_Order && $object->getIncrementId()) {
|
98 |
$this->_request->setReferenceCode('Magento Order #' . $object->getIncrementId());
|
app/code/community/OnePica/AvaTax/Model/Avatax/Estimate.php
CHANGED
@@ -232,14 +232,14 @@ class OnePica_AvaTax_Model_Avatax_Estimate extends OnePica_AvaTax_Model_Avatax_A
|
|
232 |
/**
|
233 |
* Adds shipping cost to request as item
|
234 |
*
|
235 |
-
* @param
|
236 |
* @return int
|
237 |
*/
|
238 |
protected function _addShipping($address) {
|
239 |
$lineNumber = count($this->_lines);
|
240 |
$storeId = Mage::app()->getStore()->getId();
|
241 |
$taxClass = Mage::helper('tax')->getShippingTaxClass($storeId);
|
242 |
-
$shippingAmount = (float) $address->
|
243 |
|
244 |
$line = new Line();
|
245 |
$line->setNo($lineNumber);
|
@@ -260,7 +260,7 @@ class OnePica_AvaTax_Model_Avatax_Estimate extends OnePica_AvaTax_Model_Avatax_A
|
|
260 |
/**
|
261 |
* Adds giftwraporder cost to request as item
|
262 |
*
|
263 |
-
* @param
|
264 |
* @return int
|
265 |
*/
|
266 |
protected function _addGwOrderAmount($address) {
|
@@ -269,7 +269,7 @@ class OnePica_AvaTax_Model_Avatax_Estimate extends OnePica_AvaTax_Model_Avatax_A
|
|
269 |
$lineNumber = count($this->_lines);
|
270 |
$storeId = Mage::app()->getStore()->getId();
|
271 |
//Add gift wrapping price(for entire order)
|
272 |
-
$gwOrderAmount = $address->
|
273 |
|
274 |
$line = new Line();
|
275 |
$line->setNo($lineNumber);
|
@@ -299,7 +299,7 @@ class OnePica_AvaTax_Model_Avatax_Estimate extends OnePica_AvaTax_Model_Avatax_A
|
|
299 |
$lineNumber = count($this->_lines);
|
300 |
$storeId = Mage::app()->getStore()->getId();
|
301 |
//Add gift wrapping price(for individual items)
|
302 |
-
$gwItemsAmount = $address->
|
303 |
|
304 |
$line = new Line();
|
305 |
$line->setNo($lineNumber);
|
@@ -329,7 +329,7 @@ class OnePica_AvaTax_Model_Avatax_Estimate extends OnePica_AvaTax_Model_Avatax_A
|
|
329 |
$lineNumber = count($this->_lines);
|
330 |
$storeId = Mage::app()->getStore()->getId();
|
331 |
//Add printed card price
|
332 |
-
$gwPrintedCardAmount = $address->
|
333 |
|
334 |
$line = new Line();
|
335 |
$line->setNo($lineNumber);
|
@@ -385,7 +385,7 @@ class OnePica_AvaTax_Model_Avatax_Estimate extends OnePica_AvaTax_Model_Avatax_A
|
|
385 |
if ($this->isProductCalculated($item)) {
|
386 |
$price = 0;
|
387 |
} else {
|
388 |
-
$price = $item->
|
389 |
}
|
390 |
|
391 |
$line->setNo($lineNumber);
|
232 |
/**
|
233 |
* Adds shipping cost to request as item
|
234 |
*
|
235 |
+
* @param Mage_Sales_Model_Quote_Address
|
236 |
* @return int
|
237 |
*/
|
238 |
protected function _addShipping($address) {
|
239 |
$lineNumber = count($this->_lines);
|
240 |
$storeId = Mage::app()->getStore()->getId();
|
241 |
$taxClass = Mage::helper('tax')->getShippingTaxClass($storeId);
|
242 |
+
$shippingAmount = (float) $address->getBaseShippingAmount();
|
243 |
|
244 |
$line = new Line();
|
245 |
$line->setNo($lineNumber);
|
260 |
/**
|
261 |
* Adds giftwraporder cost to request as item
|
262 |
*
|
263 |
+
* @param Mage_Sales_Model_Quote_Address
|
264 |
* @return int
|
265 |
*/
|
266 |
protected function _addGwOrderAmount($address) {
|
269 |
$lineNumber = count($this->_lines);
|
270 |
$storeId = Mage::app()->getStore()->getId();
|
271 |
//Add gift wrapping price(for entire order)
|
272 |
+
$gwOrderAmount = $address->getGwBasePrice();
|
273 |
|
274 |
$line = new Line();
|
275 |
$line->setNo($lineNumber);
|
299 |
$lineNumber = count($this->_lines);
|
300 |
$storeId = Mage::app()->getStore()->getId();
|
301 |
//Add gift wrapping price(for individual items)
|
302 |
+
$gwItemsAmount = $address->getGwItemsBasePrice();
|
303 |
|
304 |
$line = new Line();
|
305 |
$line->setNo($lineNumber);
|
329 |
$lineNumber = count($this->_lines);
|
330 |
$storeId = Mage::app()->getStore()->getId();
|
331 |
//Add printed card price
|
332 |
+
$gwPrintedCardAmount = $address->getGwPrintedCardBasePrice();
|
333 |
|
334 |
$line = new Line();
|
335 |
$line->setNo($lineNumber);
|
385 |
if ($this->isProductCalculated($item)) {
|
386 |
$price = 0;
|
387 |
} else {
|
388 |
+
$price = $item->getBaseRowTotal() - $item->getBaseDiscountAmount();
|
389 |
}
|
390 |
|
391 |
$line->setNo($lineNumber);
|
app/code/community/OnePica/AvaTax/Model/Avatax/Invoice.php
CHANGED
@@ -80,8 +80,8 @@ class OnePica_AvaTax_Model_Avatax_Invoice extends OnePica_AvaTax_Model_Avatax_Ab
|
|
80 |
$message = Mage::helper('avatax')->__('Invoice #%s was saved to AvaTax', $result->getDocCode());
|
81 |
$this->_addStatusHistoryComment($order, $message);
|
82 |
|
83 |
-
if($result->getTotalTax() != $invoice->
|
84 |
-
throw new OnePica_AvaTax_Model_Avatax_Exception_Unbalanced('Collected: ' . $invoice->
|
85 |
}
|
86 |
|
87 |
//if not successful
|
@@ -169,7 +169,7 @@ class OnePica_AvaTax_Model_Avatax_Invoice extends OnePica_AvaTax_Model_Avatax_Ab
|
|
169 |
* @return int
|
170 |
*/
|
171 |
protected function _addShipping($object, $credit=false) {
|
172 |
-
if($object->
|
173 |
return false;
|
174 |
}
|
175 |
|
@@ -177,7 +177,7 @@ class OnePica_AvaTax_Model_Avatax_Invoice extends OnePica_AvaTax_Model_Avatax_Ab
|
|
177 |
$storeId = Mage::app()->getStore()->getId();
|
178 |
$taxClass = Mage::helper('tax')->getShippingTaxClass($storeId);
|
179 |
|
180 |
-
$amount = $object->
|
181 |
if($credit) $amount *= -1;
|
182 |
|
183 |
$line = new Line();
|
@@ -210,7 +210,7 @@ class OnePica_AvaTax_Model_Avatax_Invoice extends OnePica_AvaTax_Model_Avatax_Ab
|
|
210 |
$storeId = Mage::app()->getStore()->getId();
|
211 |
$taxClass = Mage::helper('tax')->getShippingTaxClass($storeId);
|
212 |
|
213 |
-
$amount = $object->
|
214 |
if($credit) $amount *= -1;
|
215 |
|
216 |
$line = new Line();
|
@@ -242,7 +242,7 @@ class OnePica_AvaTax_Model_Avatax_Invoice extends OnePica_AvaTax_Model_Avatax_Ab
|
|
242 |
$lineNumber = count($this->_lines);
|
243 |
$storeId = Mage::app()->getStore()->getId();
|
244 |
|
245 |
-
$amount = $object->
|
246 |
if($credit) $amount *= -1;
|
247 |
|
248 |
$line = new Line();
|
@@ -274,7 +274,7 @@ class OnePica_AvaTax_Model_Avatax_Invoice extends OnePica_AvaTax_Model_Avatax_Ab
|
|
274 |
$lineNumber = count($this->_lines);
|
275 |
$storeId = Mage::app()->getStore()->getId();
|
276 |
|
277 |
-
$amount = $object->
|
278 |
if($credit) $amount *= -1;
|
279 |
|
280 |
$line = new Line();
|
@@ -294,10 +294,13 @@ class OnePica_AvaTax_Model_Avatax_Invoice extends OnePica_AvaTax_Model_Avatax_Ab
|
|
294 |
|
295 |
/**
|
296 |
* Adds shipping cost to request as item
|
|
|
|
|
297 |
*
|
298 |
* @param int $shippingAmount
|
299 |
* @return int
|
300 |
*/
|
|
|
301 |
protected function _addGiftAmount($object, $credit=false) {
|
302 |
if($object->getGiftCardsAmount() == 0) {
|
303 |
return false;
|
@@ -323,6 +326,7 @@ class OnePica_AvaTax_Model_Avatax_Invoice extends OnePica_AvaTax_Model_Avatax_Ab
|
|
323 |
$this->_request->setLines($this->_lines);
|
324 |
return $lineNumber;
|
325 |
}
|
|
|
326 |
|
327 |
/**
|
328 |
* Adds adjustments to request as items
|
@@ -385,7 +389,7 @@ class OnePica_AvaTax_Model_Avatax_Invoice extends OnePica_AvaTax_Model_Avatax_Ab
|
|
385 |
return false;
|
386 |
}
|
387 |
|
388 |
-
$price = $item->
|
389 |
if($credit) $price *= -1;
|
390 |
|
391 |
$line = new Line();
|
@@ -394,7 +398,7 @@ class OnePica_AvaTax_Model_Avatax_Invoice extends OnePica_AvaTax_Model_Avatax_Ab
|
|
394 |
$line->setDescription($item->getName());
|
395 |
$line->setQty($item->getQty());
|
396 |
$line->setAmount($price);
|
397 |
-
$line->setDiscounted($item->
|
398 |
|
399 |
$product = Mage::getModel('catalog/product')->load($item->getProductId());
|
400 |
$taxClass = Mage::getModel('tax/class')->load($product->getTaxClassId())->getOpAvataxCode();
|
80 |
$message = Mage::helper('avatax')->__('Invoice #%s was saved to AvaTax', $result->getDocCode());
|
81 |
$this->_addStatusHistoryComment($order, $message);
|
82 |
|
83 |
+
if($result->getTotalTax() != $invoice->getBaseTaxAmount()) {
|
84 |
+
throw new OnePica_AvaTax_Model_Avatax_Exception_Unbalanced('Collected: ' . $invoice->getBaseTaxAmount() . ', Actual: ' . $result->getTotalTax());
|
85 |
}
|
86 |
|
87 |
//if not successful
|
169 |
* @return int
|
170 |
*/
|
171 |
protected function _addShipping($object, $credit=false) {
|
172 |
+
if($object->getBaseShippingAmount() == 0) {
|
173 |
return false;
|
174 |
}
|
175 |
|
177 |
$storeId = Mage::app()->getStore()->getId();
|
178 |
$taxClass = Mage::helper('tax')->getShippingTaxClass($storeId);
|
179 |
|
180 |
+
$amount = $object->getBaseShippingAmount();
|
181 |
if($credit) $amount *= -1;
|
182 |
|
183 |
$line = new Line();
|
210 |
$storeId = Mage::app()->getStore()->getId();
|
211 |
$taxClass = Mage::helper('tax')->getShippingTaxClass($storeId);
|
212 |
|
213 |
+
$amount = $object->getGwBasePrice();
|
214 |
if($credit) $amount *= -1;
|
215 |
|
216 |
$line = new Line();
|
242 |
$lineNumber = count($this->_lines);
|
243 |
$storeId = Mage::app()->getStore()->getId();
|
244 |
|
245 |
+
$amount = $object->getGwItemsBasePrice();
|
246 |
if($credit) $amount *= -1;
|
247 |
|
248 |
$line = new Line();
|
274 |
$lineNumber = count($this->_lines);
|
275 |
$storeId = Mage::app()->getStore()->getId();
|
276 |
|
277 |
+
$amount = $object->getGwPrintedCardBasePrice();
|
278 |
if($credit) $amount *= -1;
|
279 |
|
280 |
$line = new Line();
|
294 |
|
295 |
/**
|
296 |
* Adds shipping cost to request as item
|
297 |
+
*
|
298 |
+
* Not used...?
|
299 |
*
|
300 |
* @param int $shippingAmount
|
301 |
* @return int
|
302 |
*/
|
303 |
+
/*
|
304 |
protected function _addGiftAmount($object, $credit=false) {
|
305 |
if($object->getGiftCardsAmount() == 0) {
|
306 |
return false;
|
326 |
$this->_request->setLines($this->_lines);
|
327 |
return $lineNumber;
|
328 |
}
|
329 |
+
*/
|
330 |
|
331 |
/**
|
332 |
* Adds adjustments to request as items
|
389 |
return false;
|
390 |
}
|
391 |
|
392 |
+
$price = $item->getBaseRowTotal() - $item->getBaseDiscountAmount();
|
393 |
if($credit) $price *= -1;
|
394 |
|
395 |
$line = new Line();
|
398 |
$line->setDescription($item->getName());
|
399 |
$line->setQty($item->getQty());
|
400 |
$line->setAmount($price);
|
401 |
+
$line->setDiscounted($item->getBaseDiscountAmount() ? true : false);
|
402 |
|
403 |
$product = Mage::getModel('catalog/product')->load($item->getProductId());
|
404 |
$taxClass = Mage::getModel('tax/class')->load($product->getTaxClassId())->getOpAvataxCode();
|
app/code/community/OnePica/AvaTax/Model/Sales/Quote/Address/Total/Tax.php
CHANGED
@@ -58,21 +58,22 @@ class OnePica_AvaTax_Model_Sales_Quote_Address_Total_Tax extends Mage_Sales_Mode
|
|
58 |
|
59 |
foreach ($address->getAllItems() as $item) {
|
60 |
$item->setAddress($address);
|
61 |
-
$
|
|
|
62 |
$percent = $calculator->getItemRate($item);
|
63 |
|
64 |
$item->setTaxAmount($amount);
|
65 |
-
$item->setBaseTaxAmount($
|
66 |
$item->setTaxPercent($percent);
|
67 |
|
68 |
$item->setPriceInclTax($item->getPrice() + ($amount / $item->getQty()));
|
69 |
-
$item->setBasePriceInclTax($item->getBasePrice() + ($
|
70 |
$item->setRowTotalInclTax($item->getRowTotal() + $amount);
|
71 |
-
$item->setBaseRowTotalInclTax($item->getBaseRowTotal() + $
|
72 |
|
73 |
if (!$calculator->isProductCalculated($item)) {
|
74 |
$this->_addAmount($amount);
|
75 |
-
$this->_addBaseAmount($
|
76 |
}
|
77 |
}
|
78 |
|
@@ -81,21 +82,22 @@ class OnePica_AvaTax_Model_Sales_Quote_Address_Total_Tax extends Mage_Sales_Mode
|
|
81 |
$shippingItem->setId(Mage::helper('avatax')->getShippingSku($store->getId()));
|
82 |
$shippingItem->setProductId(Mage::helper('avatax')->getShippingSku($store->getId()));
|
83 |
$shippingItem->setAddress($address);
|
84 |
-
$
|
|
|
85 |
|
86 |
$shippingAmt = $address->getTotalAmount('shipping');
|
87 |
$baseShippingAmt = $address->getBaseTotalAmount('shipping');
|
88 |
|
89 |
$address->setShippingTaxAmount($shippingTax);
|
90 |
-
$address->setBaseShippingTaxAmount($
|
91 |
$address->setShippingInclTax($shippingAmt + $shippingTax);
|
92 |
-
$address->setBaseShippingInclTax($baseShippingAmt + $
|
93 |
$address->setShippingTaxable($shippingTax ? $shippingAmt : 0);
|
94 |
-
$address->setBaseShippingTaxable($
|
95 |
$address->setIsShippingInclTax(false);
|
96 |
|
97 |
$this->_addAmount($shippingTax);
|
98 |
-
$this->_addBaseAmount($
|
99 |
}
|
100 |
|
101 |
if($address->getGwPrice()) {
|
@@ -103,13 +105,14 @@ class OnePica_AvaTax_Model_Sales_Quote_Address_Total_Tax extends Mage_Sales_Mode
|
|
103 |
$gwOrderItem->setId(Mage::helper('avatax')->getGwOrderSku($store->getId()));
|
104 |
$gwOrderItem->setProductId(Mage::helper('avatax')->getGwOrderSku($store->getId()));
|
105 |
$gwOrderItem->setAddress($address);
|
106 |
-
$
|
|
|
107 |
|
108 |
-
$address->setGwBaseTaxAmount($address->getGwBasePrice()+$
|
109 |
$address->setGwTaxAmount($address->getGwPrice()+$gwOrderTax);
|
110 |
|
111 |
$this->_addAmount($gwOrderTax);
|
112 |
-
$this->_addBaseAmount($
|
113 |
}
|
114 |
|
115 |
if($address->getGwItemsPrice()) {
|
@@ -117,13 +120,14 @@ class OnePica_AvaTax_Model_Sales_Quote_Address_Total_Tax extends Mage_Sales_Mode
|
|
117 |
$gwIndividualItem->setId(Mage::helper('avatax')->getGwItemsSku($store->getId()));
|
118 |
$gwIndividualItem->setProductId(Mage::helper('avatax')->getGwItemsSku($store->getId()));
|
119 |
$gwIndividualItem->setAddress($address);
|
120 |
-
$
|
|
|
121 |
|
122 |
-
$address->setGwItemsBaseTaxAmount($address->
|
123 |
-
$address->setGwItemsTaxAmount($address->
|
124 |
|
125 |
$this->_addAmount($gwItemsTax);
|
126 |
-
$this->_addBaseAmount($
|
127 |
}
|
128 |
|
129 |
if($address->getGwAddPrintedCard()) {
|
@@ -131,13 +135,14 @@ class OnePica_AvaTax_Model_Sales_Quote_Address_Total_Tax extends Mage_Sales_Mode
|
|
131 |
$gwPrintedCardItem->setId(Mage::helper('avatax')->getGwPrintedCardSku($store->getId()));
|
132 |
$gwPrintedCardItem->setProductId(Mage::helper('avatax')->getGwPrintedCardSku($store->getId()));
|
133 |
$gwPrintedCardItem->setAddress($address);
|
134 |
-
$
|
|
|
135 |
|
136 |
-
$address->setGwPrintedCardBaseTaxAmount($address->getGwPrintedCardBasePrice()+$
|
137 |
$address->setGwPrintedCardTaxAmount($address->getGwPrintedCardPrice()+$gwPrintedCardTax);
|
138 |
|
139 |
$this->_addAmount($gwPrintedCardTax);
|
140 |
-
$this->_addBaseAmount($
|
141 |
}
|
142 |
}
|
143 |
}
|
58 |
|
59 |
foreach ($address->getAllItems() as $item) {
|
60 |
$item->setAddress($address);
|
61 |
+
$baseAmount = $calculator->getItemTax($item);
|
62 |
+
$amount = Mage::app()->getStore()->convertPrice($baseAmount);
|
63 |
$percent = $calculator->getItemRate($item);
|
64 |
|
65 |
$item->setTaxAmount($amount);
|
66 |
+
$item->setBaseTaxAmount($baseAmount);
|
67 |
$item->setTaxPercent($percent);
|
68 |
|
69 |
$item->setPriceInclTax($item->getPrice() + ($amount / $item->getQty()));
|
70 |
+
$item->setBasePriceInclTax($item->getBasePrice() + ($baseAmount / $item->getQty()));
|
71 |
$item->setRowTotalInclTax($item->getRowTotal() + $amount);
|
72 |
+
$item->setBaseRowTotalInclTax($item->getBaseRowTotal() + $baseAmount);
|
73 |
|
74 |
if (!$calculator->isProductCalculated($item)) {
|
75 |
$this->_addAmount($amount);
|
76 |
+
$this->_addBaseAmount($baseAmount);
|
77 |
}
|
78 |
}
|
79 |
|
82 |
$shippingItem->setId(Mage::helper('avatax')->getShippingSku($store->getId()));
|
83 |
$shippingItem->setProductId(Mage::helper('avatax')->getShippingSku($store->getId()));
|
84 |
$shippingItem->setAddress($address);
|
85 |
+
$baseShippingTax = $calculator->getItemTax($shippingItem);
|
86 |
+
$shippingTax = Mage::app()->getStore()->convertPrice($baseShippingTax);
|
87 |
|
88 |
$shippingAmt = $address->getTotalAmount('shipping');
|
89 |
$baseShippingAmt = $address->getBaseTotalAmount('shipping');
|
90 |
|
91 |
$address->setShippingTaxAmount($shippingTax);
|
92 |
+
$address->setBaseShippingTaxAmount($baseShippingTax);
|
93 |
$address->setShippingInclTax($shippingAmt + $shippingTax);
|
94 |
+
$address->setBaseShippingInclTax($baseShippingAmt + $baseShippingTax);
|
95 |
$address->setShippingTaxable($shippingTax ? $shippingAmt : 0);
|
96 |
+
$address->setBaseShippingTaxable($baseShippingTax ? $baseShippingAmt : 0);
|
97 |
$address->setIsShippingInclTax(false);
|
98 |
|
99 |
$this->_addAmount($shippingTax);
|
100 |
+
$this->_addBaseAmount($baseShippingTax);
|
101 |
}
|
102 |
|
103 |
if($address->getGwPrice()) {
|
105 |
$gwOrderItem->setId(Mage::helper('avatax')->getGwOrderSku($store->getId()));
|
106 |
$gwOrderItem->setProductId(Mage::helper('avatax')->getGwOrderSku($store->getId()));
|
107 |
$gwOrderItem->setAddress($address);
|
108 |
+
$baseGwOrderTax = $calculator->getItemTax($gwOrderItem);
|
109 |
+
$gwOrderTax = Mage::app()->getStore()->convertPrice($gwOrderItem);
|
110 |
|
111 |
+
$address->setGwBaseTaxAmount($address->getGwBasePrice()+$baseGwOrderTax);
|
112 |
$address->setGwTaxAmount($address->getGwPrice()+$gwOrderTax);
|
113 |
|
114 |
$this->_addAmount($gwOrderTax);
|
115 |
+
$this->_addBaseAmount($baseGwOrderTax);
|
116 |
}
|
117 |
|
118 |
if($address->getGwItemsPrice()) {
|
120 |
$gwIndividualItem->setId(Mage::helper('avatax')->getGwItemsSku($store->getId()));
|
121 |
$gwIndividualItem->setProductId(Mage::helper('avatax')->getGwItemsSku($store->getId()));
|
122 |
$gwIndividualItem->setAddress($address);
|
123 |
+
$baseGwItemsTax = $calculator->getItemTax($gwIndividualItem);
|
124 |
+
$gwItemsTax = Mage::app()->getStore()->convertPrice($baseGwItemsTax);
|
125 |
|
126 |
+
$address->setGwItemsBaseTaxAmount($address->getGwItemsBasePrice()+$baseGwItemsTax);
|
127 |
+
$address->setGwItemsTaxAmount($address->getGwItemsPrice()+$gwItemsTax);
|
128 |
|
129 |
$this->_addAmount($gwItemsTax);
|
130 |
+
$this->_addBaseAmount($baseGwItemsTax);
|
131 |
}
|
132 |
|
133 |
if($address->getGwAddPrintedCard()) {
|
135 |
$gwPrintedCardItem->setId(Mage::helper('avatax')->getGwPrintedCardSku($store->getId()));
|
136 |
$gwPrintedCardItem->setProductId(Mage::helper('avatax')->getGwPrintedCardSku($store->getId()));
|
137 |
$gwPrintedCardItem->setAddress($address);
|
138 |
+
$baseGwPrintedCardTax = $calculator->getItemTax($gwPrintedCardItem);
|
139 |
+
$gwPrintedCardTax = Mage::app()->getStore()->convertPrice($baseGwPrintedCardTax);
|
140 |
|
141 |
+
$address->setGwPrintedCardBaseTaxAmount($address->getGwPrintedCardBasePrice()+$baseGwPrintedCardTax);
|
142 |
$address->setGwPrintedCardTaxAmount($address->getGwPrintedCardPrice()+$gwPrintedCardTax);
|
143 |
|
144 |
$this->_addAmount($gwPrintedCardTax);
|
145 |
+
$this->_addBaseAmount($baseGwPrintedCardTax);
|
146 |
}
|
147 |
}
|
148 |
}
|
app/code/community/OnePica/AvaTax/etc/config.xml
CHANGED
@@ -20,7 +20,7 @@
|
|
20 |
<config>
|
21 |
<modules>
|
22 |
<OnePica_AvaTax>
|
23 |
-
<version>2.4.
|
24 |
</OnePica_AvaTax>
|
25 |
</modules>
|
26 |
<global>
|
20 |
<config>
|
21 |
<modules>
|
22 |
<OnePica_AvaTax>
|
23 |
+
<version>2.4.2.0</version>
|
24 |
</OnePica_AvaTax>
|
25 |
</modules>
|
26 |
<global>
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>OnePica_AvaTax</name>
|
4 |
-
<version>2.4.
|
5 |
<stability>stable</stability>
|
6 |
<license>Open Software License (OSL 3.0)</license>
|
7 |
<channel>community</channel>
|
@@ -18,11 +18,15 @@ 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 |
<authors><author><name>Gregory Segall</name><user>gsegall</user><email>magento@onepica.com</email></author></authors>
|
23 |
-
<date>
|
24 |
-
<time>
|
25 |
-
<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="c6bb9de3726a50b0cdd2521b26453826"/></dir><dir name="Queue"><file name="Grid.php" hash="4636d4ac081ab67534f4a67923548f97"/></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="43b9d348dd541ab5d0b20cc14b623276"/><dir name="Tax"><file name="Data.php" hash="81edee6048e5e9487f5c0a3e985d1b15"/></dir></dir><dir name="Model"><file name="Abstract.php" hash="2726b0e3fd4985d30e63720831be3ded"/><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="557caa8520555003ff20f87369734bd9"/><file name="Address.php" hash="8752e8b8edcf9011a8b6d41f69e86ed0"/><file name="Estimate.php" hash="334bd535c633e898f221c65483d31dd3"/><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="1781b3f3586a5f0e8cc7eba249f6152d"/><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="f9ba2ae74bf896bbb10193ab8701975a"/><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="6a792249159a89fb4ae81bec09d8d227"/></dir><dir name="Queue"><file name="Process.php" hash="2cbce4248c0ceff2492a410067872fd5"/></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="69fee0a65d96126d041459ea8e2a3d80"/></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="Onerrorfrontend.php" hash="9ecd5015d95925adfe1626634d91820e"/><dir name="Regionfilter"><file name="List.php" hash="3b86c8f2a69aeeb9eb0c1988393f10ac"/><file name="Mode.php" hash="1a1bc328674db870d0cf4ef69a05de17"/></dir></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="ExportController.php" hash="3d770db9c1dbc8199c305e69387b679f"/><file name="GridController.php" hash="a8c319bc7815618399e56bad11f36fb8"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="33c360104d36eed21cd7172637fb6227"/><file name="config.xml" hash="0116a37c3dca3ac491e69c5ae749e46a"/><file name="system-disabled.xml" hash="851329d6173bca6f2a2f074880c8289a"/><file name="system.xml" hash="f9dff318f3a544ab8fdf376dcc6fa5f5"/></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="fa70226c752f353c3e136f7f530721cf"/><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="03e2e9f97c0a553d91ca42c53d64a83b"/></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></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="b2b846600743476d4c9bd55bd970da2a"/></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>
|
26 |
<compatible/>
|
27 |
<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>
|
28 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>OnePica_AvaTax</name>
|
4 |
+
<version>2.4.2.0</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>Changed extension to use base currency total amounts rather than checkout currency total amounts. This will allow it to work better in multi-currency environments.
|
22 |
+

|
23 |
+
Added country code to requests, using config value at shipping/origin/country_id.
|
24 |
+

|
25 |
+
Added currency code to requests, using store base currency code.</notes>
|
26 |
<authors><author><name>Gregory Segall</name><user>gsegall</user><email>magento@onepica.com</email></author></authors>
|
27 |
+
<date>2013-01-08</date>
|
28 |
+
<time>17:56:35</time>
|
29 |
+
<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="c6bb9de3726a50b0cdd2521b26453826"/></dir><dir name="Queue"><file name="Grid.php" hash="4636d4ac081ab67534f4a67923548f97"/></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="43b9d348dd541ab5d0b20cc14b623276"/><dir name="Tax"><file name="Data.php" hash="81edee6048e5e9487f5c0a3e985d1b15"/></dir></dir><dir name="Model"><file name="Abstract.php" hash="2726b0e3fd4985d30e63720831be3ded"/><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="66c8faaa849db610d25abe232efe34b2"/><file name="Address.php" hash="8752e8b8edcf9011a8b6d41f69e86ed0"/><file name="Estimate.php" hash="97b3a6333fd268c7d8139006236cae2d"/><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="5ee31f08793d9f542bfa0d4cbc0fa752"/><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="f9ba2ae74bf896bbb10193ab8701975a"/><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="6a792249159a89fb4ae81bec09d8d227"/></dir><dir name="Queue"><file name="Process.php" hash="2cbce4248c0ceff2492a410067872fd5"/></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="Onerrorfrontend.php" hash="9ecd5015d95925adfe1626634d91820e"/><dir name="Regionfilter"><file name="List.php" hash="3b86c8f2a69aeeb9eb0c1988393f10ac"/><file name="Mode.php" hash="1a1bc328674db870d0cf4ef69a05de17"/></dir></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="ExportController.php" hash="3d770db9c1dbc8199c305e69387b679f"/><file name="GridController.php" hash="a8c319bc7815618399e56bad11f36fb8"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="33c360104d36eed21cd7172637fb6227"/><file name="config.xml" hash="65c1c03f299d2c3d75940b15dd9f6d32"/><file name="system-disabled.xml" hash="851329d6173bca6f2a2f074880c8289a"/><file name="system.xml" hash="f9dff318f3a544ab8fdf376dcc6fa5f5"/></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="fa70226c752f353c3e136f7f530721cf"/><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="03e2e9f97c0a553d91ca42c53d64a83b"/></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></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="b2b846600743476d4c9bd55bd970da2a"/></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>
|
30 |
<compatible/>
|
31 |
<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>
|
32 |
</package>
|