Version Notes
Updated ShipIt API url for Rate & Tracking Services
Download this release
Release Info
Developer | George Plummer |
Extension | Rvtech_Starshipit |
Version | 1.6.2.1 |
Comparing to | |
See all releases |
Code changes from version 1.6.2.0 to 1.6.2.1
app/code/community/Rvtech/Starshipit/Block/Shiptracking.php
CHANGED
@@ -42,7 +42,7 @@ class Rvtech_Starshipit_Block_Shiptracking extends Mage_Core_Block_Template
|
|
42 |
return null;
|
43 |
}
|
44 |
|
45 |
-
$url = '
|
46 |
$post_data = '{"track":"","apikey":"' . $shipItApiKey . '","orderNumber":"' . $orderId . '","returnHtml":false}';
|
47 |
$contentLength = strlen($post_data);
|
48 |
|
42 |
return null;
|
43 |
}
|
44 |
|
45 |
+
$url = 'https://api.shipit.click/tracking?format=json';
|
46 |
$post_data = '{"track":"","apikey":"' . $shipItApiKey . '","orderNumber":"' . $orderId . '","returnHtml":false}';
|
47 |
$contentLength = strlen($post_data);
|
48 |
|
app/code/community/Rvtech/Starshipit/Model/Carrier/Shipit.php
CHANGED
@@ -47,7 +47,7 @@ implements Mage_Shipping_Model_Carrier_Interface {
|
|
47 |
$packageWeight = $request->getPackageWeight() * 1000; //Package Weight (grams)
|
48 |
$packageCurrency = $request->getPackageCurrency();
|
49 |
|
50 |
-
$url = '
|
51 |
$post_data = '{
|
52 |
"rate": {
|
53 |
"origin": {
|
47 |
$packageWeight = $request->getPackageWeight() * 1000; //Package Weight (grams)
|
48 |
$packageCurrency = $request->getPackageCurrency();
|
49 |
|
50 |
+
$url = 'https://api.shipit.click/rate?apiKey=' . $shipItApiKey . '&format=json';
|
51 |
$post_data = '{
|
52 |
"rate": {
|
53 |
"origin": {
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Rvtech_Starshipit</name>
|
4 |
-
<version>1.6.2.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL)</license>
|
7 |
<channel>community</channel>
|
@@ -18,17 +18,11 @@ From ShipIT shipping labels can be produced, tracking of orders is supported, qu
|
|
18 |
DHL Express Worldwide is supported as well 
|
19 |

|
20 |
Australia Post eParcel, CourierPost, Fastways, and more.</description>
|
21 |
-
<notes>
|
22 |
-

|
23 |
-
Added NZ address autocomplete via NZPost
|
24 |
-

|
25 |
-
Added ShipIt rate service for shipping method suggestions
|
26 |
-

|
27 |
-
Added ShipIt order shipment tracking</notes>
|
28 |
<authors><author><name>George Plummer</name><user>GeorgeSPlummer</user><email>george@shipit.click</email></author></authors>
|
29 |
-
<date>2015-07-
|
30 |
-
<time>
|
31 |
-
<contents><target name="mageetc"><dir name="modules"><file name="Rvtech_Starshipit.xml" hash="5f957b335ffd3ef220188acc0a4261c2"/></dir></target><target name="magecommunity"><dir name="Rvtech"><dir name="Starshipit"><dir name="Block"><dir name="Adminhtml"><dir name="Sales"><dir name="Order"><dir name="Create"><file name="Shipnote.php" hash="e3978a998056ca01f2c1eecadad492f9"/></dir><file name="Note.php" hash="b176725ad1d11312fc9b2e6da10300a3"/></dir></dir><dir name="System"><dir name="Config"><dir name="Form"><file name="Button.php" hash="bef51209ace24c39e1d0933c4695665c"/><file name="Syncbutton.php" hash="1b90bc1d0ce6f8fd85783771ffc3720b"/></dir></dir></dir></dir><file name="Note.php" hash="d89159b063408b3496b5a7c1238b9f90"/><dir name="Sales"><dir name="Order"><file name="Grid.php" hash="bcec9d256397a5c39879eba37520370e"/><file name="View.php" hash="edad39cc5b61d439bb7d551a81177b69"/></dir></dir><file name="Ship.php" hash="19080a45c06dc07b7991dd694d83708a"/><file name="Shiptracking.php" hash="
|
32 |
<compatible/>
|
33 |
<dependencies><required><php><min>5.1.0</min><max>5.6.8</max></php></required></dependencies>
|
34 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Rvtech_Starshipit</name>
|
4 |
+
<version>1.6.2.1</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>
|
18 |
DHL Express Worldwide is supported as well 
|
19 |

|
20 |
Australia Post eParcel, CourierPost, Fastways, and more.</description>
|
21 |
+
<notes>Updated ShipIt API url for Rate & Tracking Services</notes>
|
|
|
|
|
|
|
|
|
|
|
|
|
22 |
<authors><author><name>George Plummer</name><user>GeorgeSPlummer</user><email>george@shipit.click</email></author></authors>
|
23 |
+
<date>2015-07-23</date>
|
24 |
+
<time>05:19:35</time>
|
25 |
+
<contents><target name="mageetc"><dir name="modules"><file name="Rvtech_Starshipit.xml" hash="5f957b335ffd3ef220188acc0a4261c2"/></dir></target><target name="magecommunity"><dir name="Rvtech"><dir name="Starshipit"><dir name="Block"><dir name="Adminhtml"><dir name="Sales"><dir name="Order"><dir name="Create"><file name="Shipnote.php" hash="e3978a998056ca01f2c1eecadad492f9"/></dir><file name="Note.php" hash="b176725ad1d11312fc9b2e6da10300a3"/></dir></dir><dir name="System"><dir name="Config"><dir name="Form"><file name="Button.php" hash="bef51209ace24c39e1d0933c4695665c"/><file name="Syncbutton.php" hash="1b90bc1d0ce6f8fd85783771ffc3720b"/></dir></dir></dir></dir><file name="Note.php" hash="d89159b063408b3496b5a7c1238b9f90"/><dir name="Sales"><dir name="Order"><file name="Grid.php" hash="bcec9d256397a5c39879eba37520370e"/><file name="View.php" hash="edad39cc5b61d439bb7d551a81177b69"/></dir></dir><file name="Ship.php" hash="19080a45c06dc07b7991dd694d83708a"/><file name="Shiptracking.php" hash="02f449ebdad3ce1d500c292e490cca77"/></dir><dir name="Helper"><file name="Data.php" hash="09a753bbbc36ce95a6222587d53cd1c1"/><file name="Starship.php" hash="ebc879a96df5c80ffae9744d11a6cac5"/></dir><dir name="Model"><dir name="Adminhtml"><file name="Observer.php" hash="4b3d567c48bf7168691756dea6ff09e4"/></dir><file name="Api.php" hash="9c0c7ad4df68db05f5caf2970b91a542"/><dir name="Carrier"><file name="Auspost.php" hash="bfb4e10b852fe74f5470473d5bc5fd6a"/><file name="Courierpost.php" hash="4ca8c0b40c90374187c29b7edcc6c77d"/><file name="Dhlexpress.php" hash="ffc0f9234d42f37b45d299c173d8faff"/><file name="Fastway.php" hash="205fd354da0c301fe97c3054d554c93b"/><file name="Nzpost.php" hash="0febe77a83cafb93be1fad13c5893540"/><file name="Shipit.php" hash="d477db3c596a01be705bbafc486770d1"/></dir><file name="Note.php" hash="91fdbf3caa65797d8050e999a487c4ae"/><file name="Observer.php" hash="166765c2ce65079f10ae2b52f3f78c1d"/><file name="Orders.php" hash="5e6d34681f4ffde9b8b0fcad9f898481"/><dir name="Resource"><dir name="Note"><file name="Collection.php" hash="2526c09006bf6a74b1ddcf2d94b85bd1"/></dir><file name="Note.php" hash="188639765c95bb03abf24785bbcfabbe"/></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="ShipItController.php" hash="7a82038aa1b2e9fd8bc543b402dcbf9a"/></dir><file name="IndexController.php" hash="20b9637c3eb1a5e7c6a97faa72a0a3fb"/></dir><dir name="etc"><file name="adminhtml.xml" hash="02121bfdaabeb4aa30733462d532b211"/><file name="api.xml" hash="03ba9d58ced7f06da747006e8ddf6861"/><file name="config.xml" hash="e5e23503bb4ec8068f3b6a33beed2749"/><file name="system.xml" hash="94072e20e090868a734e32c8dfbd46b4"/></dir><dir name="sql"><dir name="shipnote_setup"><file name="install-1.6.2.0.php" hash="3440e960c4ae3a4036c797c02703f025"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="shipit.xml" hash="61408954f82f5ac2edcf77d859fd4591"/><file name="shipnote.xml" hash="b30f8ced0fa77550a09c3ab5ee03f28d"/></dir><dir name="template"><dir name="shipit"><dir name="system"><dir name="config"><file name="button.phtml" hash="064f053f67fc7b749d1aec40cd352ce1"/><file name="syncbutton.phtml" hash="3e67731254d4d0298891cd2598471dc9"/></dir></dir></dir><dir name="shipnote"><file name="note-create.phtml" hash="218318453338adb8a43d01dcf3aa74f3"/><file name="note.phtml" hash="dc72f98a11c955181a3d4706e9cfd297"/><dir name="sales"><dir name="order"><dir name="create"><file name="data.phtml" hash="63aa7c2343f1d801b92e61b8497b99cb"/><file name="shipnote.phtml" hash="d2b7b1af3bb9a9183ebf2de06c228234"/></dir><dir name="creditmemo"><dir name="create"><file name="form.phtml" hash="95b2ca2ff1b2d48519cc9f0302179804"/></dir><dir name="view"><file name="form.phtml" hash="0b851bb2da3a68d6b21195cc88d9c3a3"/></dir></dir><dir name="invoice"><dir name="create"><file name="form.phtml" hash="00a1d471675697ff345fb8744b337a54"/></dir><dir name="view"><file name="form.phtml" hash="eb85ea9873900429a859f31585ecb93b"/></dir></dir><dir name="shipment"><dir name="create"><file name="form.phtml" hash="6655a2814e346290ebefce2d45225127"/></dir><dir name="view"><file name="form.phtml" hash="1f5790819a38b162f76a32ec725a0b77"/></dir></dir><dir name="view"><dir name="tab"><file name="info.phtml" hash="66fd085aa3d4e985f914e61ef4ca6748"/></dir></dir></dir></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="shipnote.xml" hash="4662d0b069083e71689f79ad5ce0102e"/><file name="addressautocomplete.xml" hash="88a6cbeb5077d85cac0e98632b467b2a"/><file name="shiptracking.xml" hash="cd598d60854e00759d7e201a9b819a65"/></dir><dir name="template"><dir name="shipnote"><file name="note.phtml" hash="f6199bbe2739b4689cadd2a854a3d753"/></dir><dir name="shiptracking"><file name="shiptracking.phtml" hash="dc155a0bf7d2d83579492d432de1a6f9"/><file name="trackdetail.phtml" hash="1e6967f50a922088ec1aaf9d23910163"/></dir></dir></dir></dir></dir></target><target name="magelocale"><dir><dir name="en_GB"><file name="Rvtech_StarshipitNote.csv" hash="45582b181cd95563d26e516d9dc5efe4"/></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><file name="shipnote.css" hash="1cd880ba6ee2ae963fd8b6208d9e6fd8"/></dir><dir name="js"><dir name="shipit"><file name="jquery-1.10.2.min.js" hash="628072e7212db1e8cdacb22b21752cda"/><file name="noconflict.js" hash="3179f2255b046d5f2e9a71e365287bef"/><file name="onstepcheckout.js" hash="add37c0f192997e88e44b7a67b733fcb"/><file name="onstepcheckout_shipping.js" hash="1984be3bddd02617c7d2bd244017a7e9"/></dir></dir><dir name="shiptracking"><dir name="css"><file name="shiptracking.css" hash="71583b99e56b8cc1ebd9b575e17e9414"/></dir><dir name="images"><file name="ajax-loader-tr.gif" hash="01a95f2b5387dfec28b58bab64aa32ae"/></dir></dir></dir></dir></dir></target><target name="mageweb"><dir name="js"><dir name="shipit"><dir name="adminhtml"><file name="grid.js" hash="dbf45931948c6c611e1af954ae2430e5"/></dir></dir></dir></target></contents>
|
26 |
<compatible/>
|
27 |
<dependencies><required><php><min>5.1.0</min><max>5.6.8</max></php></required></dependencies>
|
28 |
</package>
|