Mage_Shipwire - Version 1.2.5

Version Notes

Shipwire Shipping Rating API integrated

1.2.4 Added multiple Intl support

1.2.2
- Fixed issue with encoding of rate request

1.2.1
- Fixed issue with ship-to postcode not passing

1.2.5
- Fixed PHP coding error

Download this release

Release Info

Developer Magento Core Team
Extension Mage_Shipwire
Version 1.2.5
Comparing to
See all releases


Code changes from version 1.2.4 to 1.2.5

app/code/local/Shipwire/Shipping/Model/Carrier/ShippingMethod.php CHANGED
@@ -101,7 +101,7 @@ class Shipwire_Shipping_Model_Carrier_ShippingMethod extends Mage_Shipping_Model
101
  $index = 0;
102
  // First match up Configurable's with likely simples, mark off the items as included or not included. Any simple types left over will be included
103
  foreach ($items as $item) {
104
- if (!array_key_exists( $itemIncluded[$index] ) && $item->product_type == 'configurable') { // See if we have a configurable SKU
105
  // Next see if the next item is the same SKU, simple, and with quantity 1
106
  if( array_key_exists( $index+1, $items) &&
107
  $items[$index+1]->product_type == 'simple' &&
@@ -152,7 +152,7 @@ class Shipwire_Shipping_Model_Carrier_ShippingMethod extends Mage_Shipping_Model
152
  <RateRequest currency="USD">
153
  <EmailAddress><![CDATA[' . $account_email . ']]></EmailAddress>
154
  <Password><![CDATA[' . $account_password . ']]></Password>
155
- <Source>Magento Rating Module 1.2.4</Source>
156
  <Order id="quote123">
157
  <Warehouse>00</Warehouse>
158
  <AddressInfo type="ship">
101
  $index = 0;
102
  // First match up Configurable's with likely simples, mark off the items as included or not included. Any simple types left over will be included
103
  foreach ($items as $item) {
104
+ if (!array_key_exists( $index, $itemIncluded ) && $item->product_type == 'configurable') { // See if we have a configurable SKU
105
  // Next see if the next item is the same SKU, simple, and with quantity 1
106
  if( array_key_exists( $index+1, $items) &&
107
  $items[$index+1]->product_type == 'simple' &&
152
  <RateRequest currency="USD">
153
  <EmailAddress><![CDATA[' . $account_email . ']]></EmailAddress>
154
  <Password><![CDATA[' . $account_password . ']]></Password>
155
+ <Source>Magento Rating Module 1.2.5</Source>
156
  <Order id="quote123">
157
  <Warehouse>00</Warehouse>
158
  <AddressInfo type="ship">
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Mage_Shipwire</name>
4
- <version>1.2.4</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
7
  <channel>community</channel>
@@ -16,11 +16,14 @@
16
  - Fixed issue with encoding of rate request&#xD;
17
  &#xD;
18
  1.2.1&#xD;
19
- - Fixed issue with ship-to postcode not passing</notes>
 
 
 
20
  <authors><author><name>Shipwire</name><user>auto-converted</user><email>magento-dev@shipwire.com</email></author></authors>
21
- <date>2011-12-02</date>
22
- <time>19:29:55</time>
23
- <contents><target name="mage"><dir name="app"><dir name="etc"><dir name="modules"><file name="Shipwire_Shipping.xml" hash="89ae766499a54d75ac436f50efc2496c"/></dir></dir></dir></target><target name="magelocal"><dir name="Shipwire"><dir name="Shipping"><dir name="Model"><dir name="Carrier"><file name="Service.php" hash="1499ae366ebd44d49356230248fea53e"/><file name="ShippingMethod.php" hash="a1089c17461e0a7dec601f6fe90eb376"/></dir></dir><dir name="etc"><file name="config.xml" hash="1f073aae242b24b08032b22abf6c98c4"/><file name="system.xml" hash="0e5b1aafaa66a8d9a855078c76906568"/></dir></dir></dir></target></contents>
24
  <compatible/>
25
  <dependencies/>
26
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Mage_Shipwire</name>
4
+ <version>1.2.5</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
7
  <channel>community</channel>
16
  - Fixed issue with encoding of rate request&#xD;
17
  &#xD;
18
  1.2.1&#xD;
19
+ - Fixed issue with ship-to postcode not passing&#xD;
20
+ &#xD;
21
+ 1.2.5&#xD;
22
+ - Fixed PHP coding error</notes>
23
  <authors><author><name>Shipwire</name><user>auto-converted</user><email>magento-dev@shipwire.com</email></author></authors>
24
+ <date>2012-06-22</date>
25
+ <time>20:20:46</time>
26
+ <contents><target name="mage"><dir name="app"><dir name="etc"><dir name="modules"><file name="Shipwire_Shipping.xml" hash="89ae766499a54d75ac436f50efc2496c"/></dir></dir></dir></target><target name="magelocal"><dir name="Shipwire"><dir name="Shipping"><dir name="Model"><dir name="Carrier"><file name="Service.php" hash="1499ae366ebd44d49356230248fea53e"/><file name="ShippingMethod.php" hash="a7eb3ac3a0d84816cca5df80bf40c982"/></dir></dir><dir name="etc"><file name="config.xml" hash="1f073aae242b24b08032b22abf6c98c4"/><file name="system.xml" hash="0e5b1aafaa66a8d9a855078c76906568"/></dir></dir></dir></target></contents>
27
  <compatible/>
28
  <dependencies/>
29
  </package>