Version Notes
First release which has been in production for several months on multiple sites.
Download this release
Release Info
Developer | George Plummer |
Extension | Rvtech_Starshipit |
Version | 1.1.0.0 |
Comparing to | |
See all releases |
Code changes from version 1.0.0.0 to 1.1.0.0
- app/code/community/Rvtech/Starshipquote/Block/Dhlform.php +0 -17
- app/code/community/Rvtech/Starshipquote/Helper/Data.php +0 -10
- app/code/community/Rvtech/Starshipquote/Helper/Dhl.php +0 -41
- app/code/community/Rvtech/Starshipquote/controllers/DhlquoteController.php +0 -17
- app/code/community/Rvtech/Starshipquote/etc/adminhtml.xml +0 -0
- app/code/community/Rvtech/Starshipquote/etc/config.xml +0 -59
- app/code/community/Rvtech/Starshipquote/etc/system.xml +0 -54
- package.xml +6 -6
app/code/community/Rvtech/Starshipquote/Block/Dhlform.php
DELETED
@@ -1,17 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
*
|
4 |
-
*/
|
5 |
-
class Rvtech_Starshipquote_Block_Dhlform extends Mage_Core_Block_Template
|
6 |
-
{
|
7 |
-
|
8 |
-
public function getFormSubmitUrl() {
|
9 |
-
|
10 |
-
return Mage::getUrl('starshipquote/dhlquote/quote');
|
11 |
-
|
12 |
-
}
|
13 |
-
|
14 |
-
}
|
15 |
-
|
16 |
-
|
17 |
-
?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/code/community/Rvtech/Starshipquote/Helper/Data.php
DELETED
@@ -1,10 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
*
|
4 |
-
*/
|
5 |
-
class Rvtech_Starshipquote_Helper_Data extends Mage_Core_Helper_Abstract
|
6 |
-
{
|
7 |
-
|
8 |
-
}
|
9 |
-
|
10 |
-
?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/code/community/Rvtech/Starshipquote/Helper/Dhl.php
DELETED
@@ -1,41 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
class Rvtech_Starshipquote_Helper_Dhl extends Mage_Core_Helper_Abstract
|
3 |
-
{
|
4 |
-
|
5 |
-
|
6 |
-
public $_wsdl = 'http://dhl.starshipit.com/OrdersService.svc?singleWsdl';
|
7 |
-
|
8 |
-
/**
|
9 |
-
*
|
10 |
-
* @return php soap client object
|
11 |
-
*/
|
12 |
-
|
13 |
-
protected function _soapClient() {
|
14 |
-
|
15 |
-
$wsdl = $this->_wsdl;
|
16 |
-
return new SoapClient($wsdl, array('trace' => 1));
|
17 |
-
}
|
18 |
-
|
19 |
-
protected function _getQuote($info = array()){
|
20 |
-
$soap = $this->_soapClient();
|
21 |
-
$result = $soap->__call('GetDHLQuote',array(
|
22 |
-
'GetDHLQuote' => array(
|
23 |
-
|
24 |
-
'accountId' => 403,
|
25 |
-
'info' => $info
|
26 |
-
)
|
27 |
-
|
28 |
-
));
|
29 |
-
|
30 |
-
return $result;
|
31 |
-
|
32 |
-
}
|
33 |
-
|
34 |
-
public function getQuoteFromDhl($params = array()) {
|
35 |
-
|
36 |
-
return $this->_getQuote($params);
|
37 |
-
|
38 |
-
}
|
39 |
-
|
40 |
-
|
41 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/code/community/Rvtech/Starshipquote/controllers/DhlquoteController.php
DELETED
@@ -1,17 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
*
|
4 |
-
*/
|
5 |
-
class Rvtech_Starshipquote_DhlquoteController extends Mage_Core_Controller_Front_Action
|
6 |
-
{
|
7 |
-
|
8 |
-
public function quoteAction(){
|
9 |
-
|
10 |
-
$params = $this->getRequest()->getParams();
|
11 |
-
$result = Mage::helper('starshipquote/dhl')->getQuoteFromDhl($params);
|
12 |
-
$this->getResponse()->setBody(Mage::helper('core')->jsonEncode($result));
|
13 |
-
return;
|
14 |
-
}
|
15 |
-
}
|
16 |
-
|
17 |
-
?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/code/community/Rvtech/Starshipquote/etc/adminhtml.xml
DELETED
File without changes
|
app/code/community/Rvtech/Starshipquote/etc/config.xml
DELETED
@@ -1,59 +0,0 @@
|
|
1 |
-
<?xml version="1.0"?>
|
2 |
-
<config>
|
3 |
-
<modules>
|
4 |
-
<Rvtech_Starshipquote>
|
5 |
-
<version>1.0.0.0</version>
|
6 |
-
</Rvtech_Starshipquote>
|
7 |
-
</modules>
|
8 |
-
<global>
|
9 |
-
<helpers>
|
10 |
-
<starshipquote>
|
11 |
-
<class>Rvtech_Starshipquote_Helper</class>
|
12 |
-
</starshipquote>
|
13 |
-
</helpers>
|
14 |
-
<blocks>
|
15 |
-
<starshipquote>
|
16 |
-
<class>Rvtech_Starshipquote_Block</class>
|
17 |
-
</starshipquote>
|
18 |
-
</blocks>
|
19 |
-
</global>
|
20 |
-
<frontend>
|
21 |
-
<routers>
|
22 |
-
<starshipquote>
|
23 |
-
<use>standard</use>
|
24 |
-
<args>
|
25 |
-
<module>Rvtech_Starshipquote</module>
|
26 |
-
<frontName>starshipquote</frontName>
|
27 |
-
</args>
|
28 |
-
</starshipquote>
|
29 |
-
</routers>
|
30 |
-
<layout>
|
31 |
-
<updates>
|
32 |
-
<starshipquote>
|
33 |
-
<file>starshipquote.xml</file>
|
34 |
-
</starshipquote>
|
35 |
-
</updates>
|
36 |
-
</layout>
|
37 |
-
</frontend>
|
38 |
-
<adminhtml>
|
39 |
-
<acl>
|
40 |
-
<resources>
|
41 |
-
<admin>
|
42 |
-
<children>
|
43 |
-
<system>
|
44 |
-
<children>
|
45 |
-
<config>
|
46 |
-
<children>
|
47 |
-
<dhl_settings>
|
48 |
-
<title>DHL Quote</title>
|
49 |
-
</dhl_settings>
|
50 |
-
</children>
|
51 |
-
</config>
|
52 |
-
</children>
|
53 |
-
</system>
|
54 |
-
</children>
|
55 |
-
</admin>
|
56 |
-
</resources>
|
57 |
-
</acl>
|
58 |
-
</adminhtml>
|
59 |
-
</config>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/code/community/Rvtech/Starshipquote/etc/system.xml
DELETED
@@ -1,54 +0,0 @@
|
|
1 |
-
<?xml version="1.0"?>
|
2 |
-
<config>
|
3 |
-
<tabs>
|
4 |
-
<dhl translate="label" module="starshipquote">
|
5 |
-
<label>DHL Quote</label>
|
6 |
-
<sort_order>25</sort_order>
|
7 |
-
</dhl>
|
8 |
-
</tabs>
|
9 |
-
<sections>
|
10 |
-
<dhl_settings translate="label" module="starshipquote">
|
11 |
-
<label>Account Settings</label>
|
12 |
-
<tab>dhl</tab>
|
13 |
-
<class>seprator-top</class>
|
14 |
-
<sort_order>200</sort_order>
|
15 |
-
<show_in_default>1</show_in_default>
|
16 |
-
<show_in_store>1</show_in_store>
|
17 |
-
<show_in_website>1</show_in_website>
|
18 |
-
<groups>
|
19 |
-
<dhl_account translate="label">
|
20 |
-
<label>Account Configuration</label>
|
21 |
-
<expanded>1</expanded>
|
22 |
-
<sort_order>1</sort_order>
|
23 |
-
<show_in_default>1</show_in_default>
|
24 |
-
<show_in_store>1</show_in_store>
|
25 |
-
<show_in_website>1</show_in_website>
|
26 |
-
<fields>
|
27 |
-
<user_name translate="label">
|
28 |
-
<label>Enabled</label>
|
29 |
-
<validate>required-entry</validate>
|
30 |
-
<frontend_type>select</frontend_type>
|
31 |
-
<source_model>adminhtml/system_config_source_yesno</source_model>
|
32 |
-
<sort_order>1</sort_order>
|
33 |
-
<show_in_store>1</show_in_store>
|
34 |
-
<show_in_website>1</show_in_website>
|
35 |
-
<show_in_default>1</show_in_default>
|
36 |
-
</user_name>
|
37 |
-
<user_key translate="label">
|
38 |
-
<label>Account ID</label>
|
39 |
-
<frontend_type>text</frontend_type>
|
40 |
-
<comment><![CDATA[<i>if empty default(403) will be used </i>]]></comment>
|
41 |
-
<sort_order>3</sort_order>
|
42 |
-
<show_in_store>1</show_in_store>
|
43 |
-
<show_in_website>1</show_in_website>
|
44 |
-
<show_in_default>1</show_in_default>
|
45 |
-
<depends>
|
46 |
-
<user_name>1</user_name>
|
47 |
-
</depends>
|
48 |
-
</user_key>
|
49 |
-
</fields>
|
50 |
-
</dhl_account>
|
51 |
-
</groups>
|
52 |
-
</dhl_settings>
|
53 |
-
</sections>
|
54 |
-
</config>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
package.xml
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Rvtech_Starshipit</name>
|
4 |
-
<version>1.
|
5 |
<stability>stable</stability>
|
6 |
-
<license>Open Software License (OSL)</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>Syncs Orders between Magento and StarShipIT DHL ClickToDoor to enable quotes, printing of shipping labels and track and trace.</summary>
|
@@ -14,9 +14,9 @@ From DHL ShipToDoor shipping labels can be produced, tracking of orders is suppo
|
|
14 |
DHL Express Worldwide is supported.</description>
|
15 |
<notes>First release which has been in production for several months on multiple sites.</notes>
|
16 |
<authors><author><name>George Plummer</name><user>GeorgeSPlummer</user><email>george@starshipit.com</email></author></authors>
|
17 |
-
<date>2013-09-
|
18 |
-
<time>
|
19 |
-
<contents><target name="magecommunity"><dir name="Rvtech"><dir name="Starshipit"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Form"><file name="Button.php" hash="2b3b0143262abe0d3ba50c38fe10d932"/><file name="Syncbutton.php" hash="b53f7f430495c1e9466789b116ce6349"/></dir></dir></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="0313223fc94e9ed45f4401119bd6f528"/><file name="Starship.php" hash="f4c538bcb80335b213602528b749ce3c"/><file name="Starship.php_ORG" hash="d92f50594c70158dd94453ef7f147de9"/></dir><dir name="Model"><file name="Observer.php" hash="68edec460ac627ff4aec5fece6d688b6"/><file name="Orders.php" hash="d5e6fa78702b1a0bd60e8cb4b3f57521"/><file name="Orders.php_ORG" hash="cbadeab0c67303b653bed3549a9b73de"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="StarshipitController.php" hash="926e0e618d5732fa7fffc0b1b5028259"/><file name="StarshipitController.php_ORG" hash="b7c694e8252892da817eae072f6f8ad6"/></dir><file name="IndexController.php" hash="3ac934011e0b4bffd25fbbe927bad092"/></dir><dir name="etc"><file name="adminhtml.xml" hash="d1b2db6c781f6fcacfe4ef75ad490cd0"/><file name="config.xml" hash="8c3ed77f01ca97b8db4cb55a8b7b27d8"/><file name="system.xml" hash="02f6bb9bd097efe52939c8c638cdb4af"/></dir></dir
|
20 |
<compatible/>
|
21 |
-
<dependencies><required><php><min>5.1.0</min><max>5.5.2</max></php
|
22 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Rvtech_Starshipit</name>
|
4 |
+
<version>1.1.0.0</version>
|
5 |
<stability>stable</stability>
|
6 |
+
<license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL)</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>Syncs Orders between Magento and StarShipIT DHL ClickToDoor to enable quotes, printing of shipping labels and track and trace.</summary>
|
14 |
DHL Express Worldwide is supported.</description>
|
15 |
<notes>First release which has been in production for several months on multiple sites.</notes>
|
16 |
<authors><author><name>George Plummer</name><user>GeorgeSPlummer</user><email>george@starshipit.com</email></author></authors>
|
17 |
+
<date>2013-09-09</date>
|
18 |
+
<time>10:49:16</time>
|
19 |
+
<contents><target name="magecommunity"><dir name="Rvtech"><dir name="Starshipit"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Form"><file name="Button.php" hash="2b3b0143262abe0d3ba50c38fe10d932"/><file name="Syncbutton.php" hash="b53f7f430495c1e9466789b116ce6349"/></dir></dir></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="0313223fc94e9ed45f4401119bd6f528"/><file name="Starship.php" hash="f4c538bcb80335b213602528b749ce3c"/><file name="Starship.php_ORG" hash="d92f50594c70158dd94453ef7f147de9"/></dir><dir name="Model"><file name="Observer.php" hash="68edec460ac627ff4aec5fece6d688b6"/><file name="Orders.php" hash="d5e6fa78702b1a0bd60e8cb4b3f57521"/><file name="Orders.php_ORG" hash="cbadeab0c67303b653bed3549a9b73de"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="StarshipitController.php" hash="926e0e618d5732fa7fffc0b1b5028259"/><file name="StarshipitController.php_ORG" hash="b7c694e8252892da817eae072f6f8ad6"/></dir><file name="IndexController.php" hash="3ac934011e0b4bffd25fbbe927bad092"/></dir><dir name="etc"><file name="adminhtml.xml" hash="d1b2db6c781f6fcacfe4ef75ad490cd0"/><file name="config.xml" hash="8c3ed77f01ca97b8db4cb55a8b7b27d8"/><file name="system.xml" hash="02f6bb9bd097efe52939c8c638cdb4af"/></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="starshipit"><dir name="system"><dir name="config"><file name="button.phtml" hash="064f053f67fc7b749d1aec40cd352ce1"/><file name="syncbutton.phtml" hash="3e67731254d4d0298891cd2598471dc9"/></dir></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Rvtech_Startshipit.xml" hash="741fde1331d6a9b27ef2faa2bd8a843f"/></dir></target></contents>
|
20 |
<compatible/>
|
21 |
+
<dependencies><required><php><min>5.1.0</min><max>5.5.2</max></php></required></dependencies>
|
22 |
</package>
|