Meanbee_Shipwire - Version 0.3.4

Version Notes

* Allowed for easier debugging

Download this release

Release Info

Developer Magento Core Team
Extension Meanbee_Shipwire
Version 0.3.4
Comparing to
See all releases


Code changes from version 0.3.3 to 0.3.4

app/code/community/Meanbee/Shipwire/Model/Api/Ordersubmit.php CHANGED
@@ -17,7 +17,11 @@
17
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
18
  */
19
 
20
- define('DEBUG', 0);
 
 
 
 
21
 
22
  class Meanbee_Shipwire_Model_Api_Ordersubmit extends Meanbee_Shipwire_Model_Api_Abstract {
23
  protected $_order; // Mage_Sales_Model_Order
17
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
18
  */
19
 
20
+ if(Mage::getStoreConfig('shipwire/auth/debug') == 1) {
21
+ define('DEBUG', 1);
22
+ } else {
23
+ define('DEBUG', 0);
24
+ }
25
 
26
  class Meanbee_Shipwire_Model_Api_Ordersubmit extends Meanbee_Shipwire_Model_Api_Abstract {
27
  protected $_order; // Mage_Sales_Model_Order
app/code/community/Meanbee/Shipwire/etc/config.xml CHANGED
@@ -21,7 +21,7 @@
21
  <config>
22
  <modules>
23
  <Meanbee_Shipwire>
24
- <version>0.3.3</version>
25
  </Meanbee_Shipwire>
26
  </modules>
27
  <global>
@@ -102,6 +102,20 @@
102
  </acl>
103
  </adminhtml>
104
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
105
  <crontab>
106
  <jobs>
107
  <shipwire_inventorysynch>
21
  <config>
22
  <modules>
23
  <Meanbee_Shipwire>
24
+ <version>0.3.4</version>
25
  </Meanbee_Shipwire>
26
  </modules>
27
  <global>
102
  </acl>
103
  </adminhtml>
104
 
105
+ <default>
106
+ <shipwire>
107
+ <auth>
108
+ <environment>test</environment>
109
+ <debug>0</debug>
110
+ </auth>
111
+ <services>
112
+ <order_submission>0</order_submission>
113
+ <inventory_synch>0</inventory_synch>
114
+ <tracking_updates>0</tracking_updates>
115
+ </services>
116
+ </shipwire>
117
+ </default>
118
+
119
  <crontab>
120
  <jobs>
121
  <shipwire_inventorysynch>
app/code/community/Meanbee/Shipwire/etc/system.xml CHANGED
@@ -71,6 +71,16 @@
71
  <show_in_website>1</show_in_website>
72
  <show_in_store>1</show_in_store>
73
  </environment>
 
 
 
 
 
 
 
 
 
 
74
  </fields>
75
  </auth>
76
  <services translate="label" module="shipwire">
71
  <show_in_website>1</show_in_website>
72
  <show_in_store>1</show_in_store>
73
  </environment>
74
+ <debug translate="label">
75
+ <label>Enable Debugging?</label>
76
+ <frontend_type>select</frontend_type>
77
+ <source_model>adminhtml/system_config_source_yesno</source_model>
78
+ <sort_order>40</sort_order>
79
+ <show_in_default>1</show_in_default>
80
+ <show_in_website>1</show_in_website>
81
+ <show_in_store>1</show_in_store>
82
+ <comment><![CDATA[When submitting order information to Shipwire having debugging enabled will allow the user to review the request XML, response XML and what can be established from the response]]></comment>
83
+ </debug>
84
  </fields>
85
  </auth>
86
  <services translate="label" module="shipwire">
package.xml CHANGED
@@ -1,19 +1,18 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Meanbee_Shipwire</name>
4
- <version>0.3.3</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.opensource.org/licenses/osl-3.0.php">Open Software License ("OSL") v. 3.0</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Order submission and Inventory tracking with Shipwire</summary>
10
  <description>Allows fulfilling of orders from within Magento, sending them to Shipwire with a click of a button and automatic Inventory tracking, ensuring that your Shipwire inventory level is always reflected on your Magento installation.</description>
11
- <notes>* Fixed guest customer checkout name
12
- * Fixed admin URL issues</notes>
13
  <authors><author><name>Nick</name><user>auto-converted</user><email>nick.jones@meanbee.com</email></author></authors>
14
  <date>2009-04-10</date>
15
- <time>09:52:17</time>
16
- <contents><target name="magecommunity"><dir name="Meanbee"><dir name="Shipwire"><dir name="Block"><dir name="Sales"><dir name="Order"><file name="View.php" hash="6a5263a94d47434191d81bdbf9198889"/></dir></dir></dir><dir name="controllers"><file name="FulfillController.php" hash="57be77c06a0bd34dc7e2b0efee038f8e"/></dir><dir name="etc"><file name="config.xml" hash="129bdbaf5633cd57836826c14fa72a0c"/><file name="system.xml" hash="dc2c9ef98fa0cb7d4569c9b5630cfee0"/></dir><dir name="Helper"><file name="Data.php" hash="28101006db8607c625b764e9fe9fb9a2"/></dir><dir name="Model"><dir name="Api"><dir name="Ordersubmit"><file name="Shipping.php" hash="4ebff4acfdddcb057d88547dd5d64d7c"/></dir><file name="Abstract.php" hash="98ac31d8e865c1bf50148576e477d936"/><file name="Inventorysynch.php" hash="60cb3b50013616dee451db81602f6f73"/><file name="Ordersubmit.php" hash="cfad194c45d888391db48634d7325d30"/></dir><file name="Call.php" hash="f34d15405d2a45590e32d3785949ad71"/><file name="Environment.php" hash="0074bfa4d640010d92d876c6005bd4d3"/></dir><file name="LICENSE.txt" hash="471e43c2d8894b789ef60c2956c93c29"/><file name="Test.php" hash="68049f273edacaaa8dc882d239ea9cce"/></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Meanbee_Shipwire.xml" hash="2994ccc4e235fe2e3ec45c937a6be530"/></dir></target></contents>
17
  <compatible/>
18
  <dependencies/>
19
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Meanbee_Shipwire</name>
4
+ <version>0.3.4</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.opensource.org/licenses/osl-3.0.php">Open Software License ("OSL") v. 3.0</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Order submission and Inventory tracking with Shipwire</summary>
10
  <description>Allows fulfilling of orders from within Magento, sending them to Shipwire with a click of a button and automatic Inventory tracking, ensuring that your Shipwire inventory level is always reflected on your Magento installation.</description>
11
+ <notes>* Allowed for easier debugging</notes>
 
12
  <authors><author><name>Nick</name><user>auto-converted</user><email>nick.jones@meanbee.com</email></author></authors>
13
  <date>2009-04-10</date>
14
+ <time>10:04:18</time>
15
+ <contents><target name="magecommunity"><dir name="Meanbee"><dir name="Shipwire"><dir name="Block"><dir name="Sales"><dir name="Order"><file name="View.php" hash="6a5263a94d47434191d81bdbf9198889"/></dir></dir></dir><dir name="controllers"><file name="FulfillController.php" hash="57be77c06a0bd34dc7e2b0efee038f8e"/></dir><dir name="etc"><file name="config.xml" hash="3bda16cbac3817f85a9d667874effb8c"/><file name="system.xml" hash="0578f7b158c45148d496315a92a4fb1c"/></dir><dir name="Helper"><file name="Data.php" hash="28101006db8607c625b764e9fe9fb9a2"/></dir><dir name="Model"><dir name="Api"><dir name="Ordersubmit"><file name="Shipping.php" hash="4ebff4acfdddcb057d88547dd5d64d7c"/></dir><file name="Abstract.php" hash="98ac31d8e865c1bf50148576e477d936"/><file name="Inventorysynch.php" hash="60cb3b50013616dee451db81602f6f73"/><file name="Ordersubmit.php" hash="04237744b9de6cb34018a917aa79f644"/></dir><file name="Call.php" hash="f34d15405d2a45590e32d3785949ad71"/><file name="Environment.php" hash="0074bfa4d640010d92d876c6005bd4d3"/></dir><file name="LICENSE.txt" hash="471e43c2d8894b789ef60c2956c93c29"/><file name="Test.php" hash="68049f273edacaaa8dc882d239ea9cce"/></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Meanbee_Shipwire.xml" hash="2994ccc4e235fe2e3ec45c937a6be530"/></dir></target></contents>
16
  <compatible/>
17
  <dependencies/>
18
  </package>