Version Notes
Welcome to the Linc Care extension for Magento.
Installation and configuration process:
1. Go to System / Magento Connect / Magento Connect Manager
2. Search for Linc Care and then follow the normal procedure for installing an extension
3. Go to System / Configuration / Linc Care / General
4. Select a store to configure. You must register and configure each store separately.
5. Enter the store's url and admin email (defaults to the Magento values) Specify and confirm a password, then click register. Each store must have a unique URL and admin email.
6. When the Linc Care Merchant portal is launched, login with the URL, email and password you just specified. Fill in the requested information. Some information is optional, but you must complete the configuration before continuing. If you need to
come back and finish later, the URL to the portal is https://care.letslinc.com/merchants
7. On the last page of the configuration, you will be given the widget code to be inserted into your emails.
8. Go to System / Transactional Email
9. If you have a have custom New Order template already, edit it and insert the widget code where you want the Linc Care widget to appear. Then save the template.
10. Repeat for any other order-based emails you want connected to Linc Care. We suggest the New Order Guest, New Shipment and New Shipment Guest templates as well.
11. Go to System / Sales / Sales Email and select the new templates
12. Save the configuration and you're done.
If you have any comments or questions, please email us at support-magento@letslinc.com
Release Info
Developer | Linc Care |
Extension | Linc_Care |
Version | 1.2.4 |
Comparing to | |
See all releases |
Code changes from version 1.2.3 to 1.2.4
@@ -10,7 +10,7 @@
|
|
10 |
<config>
|
11 |
<modules>
|
12 |
<Linc_Care>
|
13 |
-
<version>1.2.
|
14 |
</Linc_Care>
|
15 |
</modules>
|
16 |
<admin>
|
10 |
<config>
|
11 |
<modules>
|
12 |
<Linc_Care>
|
13 |
+
<version>1.2.4</version>
|
14 |
</Linc_Care>
|
15 |
</modules>
|
16 |
<admin>
|
@@ -27,12 +27,16 @@
|
|
27 |
},
|
28 |
onSuccess: function(transport)
|
29 |
{
|
30 |
-
var
|
31 |
-
"
|
32 |
-
"
|
33 |
-
"
|
34 |
-
"
|
35 |
-
|
|
|
|
|
|
|
|
|
36 |
popWin(linc_url, '_blank');
|
37 |
location.reload();
|
38 |
}.bind(this),
|
@@ -43,6 +47,159 @@
|
|
43 |
});
|
44 |
}
|
45 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
46 |
//]]>
|
47 |
</script>
|
48 |
|
27 |
},
|
28 |
onSuccess: function(transport)
|
29 |
{
|
30 |
+
var json = '{\n"ecommerce": "' + transport.responseJSON.ecommerce +
|
31 |
+
'",\n "shop_id" : "' + transport.responseJSON.store_id +
|
32 |
+
'",\n "url" : "' + transport.responseJSON.url +
|
33 |
+
'",\n "email" : "' + transport.responseJSON.email +
|
34 |
+
'",\n "password" : "' + transport.responseJSON.email + '" }';
|
35 |
+
|
36 |
+
var code = Base64.encode(json);
|
37 |
+
|
38 |
+
var linc_url = '<?php echo $this->getMerchantOnboardUrl() ?>?code=' + code;
|
39 |
+
|
40 |
popWin(linc_url, '_blank');
|
41 |
location.reload();
|
42 |
}.bind(this),
|
47 |
});
|
48 |
}
|
49 |
}
|
50 |
+
|
51 |
+
var Base64 = {
|
52 |
+
_keyStr: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",
|
53 |
+
|
54 |
+
encode: function(input)
|
55 |
+
{
|
56 |
+
var output = "";
|
57 |
+
var chr1, chr2, chr3, enc1, enc2, enc3, enc4;
|
58 |
+
var i = 0;
|
59 |
+
|
60 |
+
input = Base64._utf8_encode(input);
|
61 |
+
|
62 |
+
while (i < input.length)
|
63 |
+
{
|
64 |
+
chr1 = input.charCodeAt(i++);
|
65 |
+
chr2 = input.charCodeAt(i++);
|
66 |
+
chr3 = input.charCodeAt(i++);
|
67 |
+
|
68 |
+
enc1 = chr1 >> 2;
|
69 |
+
enc2 = ((chr1 & 3) << 4) | (chr2 >> 4);
|
70 |
+
enc3 = ((chr2 & 15) << 2) | (chr3 >> 6);
|
71 |
+
enc4 = chr3 & 63;
|
72 |
+
|
73 |
+
if (isNaN(chr2))
|
74 |
+
{
|
75 |
+
enc3 = enc4 = 64;
|
76 |
+
}
|
77 |
+
else
|
78 |
+
{
|
79 |
+
if (isNaN(chr3))
|
80 |
+
{
|
81 |
+
enc4 = 64;
|
82 |
+
}
|
83 |
+
}
|
84 |
+
|
85 |
+
output = output + this._keyStr.charAt(enc1) + this._keyStr.charAt(enc2) + this._keyStr.charAt(enc3) + this._keyStr.charAt(enc4);
|
86 |
+
|
87 |
+
}
|
88 |
+
|
89 |
+
return output;
|
90 |
+
},
|
91 |
+
|
92 |
+
|
93 |
+
decode: function(input)
|
94 |
+
{
|
95 |
+
var output = "";
|
96 |
+
var chr1, chr2, chr3;
|
97 |
+
var enc1, enc2, enc3, enc4;
|
98 |
+
var i = 0;
|
99 |
+
|
100 |
+
input = input.replace(/[^A-Za-z0-9\+\/\=]/g, "");
|
101 |
+
|
102 |
+
while (i < input.length)
|
103 |
+
{
|
104 |
+
enc1 = this._keyStr.indexOf(input.charAt(i++));
|
105 |
+
enc2 = this._keyStr.indexOf(input.charAt(i++));
|
106 |
+
enc3 = this._keyStr.indexOf(input.charAt(i++));
|
107 |
+
enc4 = this._keyStr.indexOf(input.charAt(i++));
|
108 |
+
|
109 |
+
chr1 = (enc1 << 2) | (enc2 >> 4);
|
110 |
+
chr2 = ((enc2 & 15) << 4) | (enc3 >> 2);
|
111 |
+
chr3 = ((enc3 & 3) << 6) | enc4;
|
112 |
+
|
113 |
+
output = output + String.fromCharCode(chr1);
|
114 |
+
|
115 |
+
if (enc3 != 64)
|
116 |
+
{
|
117 |
+
output = output + String.fromCharCode(chr2);
|
118 |
+
}
|
119 |
+
|
120 |
+
if (enc4 != 64)
|
121 |
+
{
|
122 |
+
output = output + String.fromCharCode(chr3);
|
123 |
+
}
|
124 |
+
|
125 |
+
}
|
126 |
+
|
127 |
+
output = Base64._utf8_decode(output);
|
128 |
+
|
129 |
+
return output;
|
130 |
+
},
|
131 |
+
|
132 |
+
_utf8_encode: function(string)
|
133 |
+
{
|
134 |
+
string = string.replace(/\r\n/g, "\n");
|
135 |
+
var utftext = "";
|
136 |
+
|
137 |
+
for (var n = 0; n < string.length; n++)
|
138 |
+
{
|
139 |
+
|
140 |
+
var c = string.charCodeAt(n);
|
141 |
+
|
142 |
+
if (c < 128)
|
143 |
+
{
|
144 |
+
utftext += String.fromCharCode(c);
|
145 |
+
}
|
146 |
+
else
|
147 |
+
{
|
148 |
+
if ((c > 127) && (c < 2048))
|
149 |
+
{
|
150 |
+
utftext += String.fromCharCode((c >> 6) | 192);
|
151 |
+
utftext += String.fromCharCode((c & 63) | 128);
|
152 |
+
}
|
153 |
+
else
|
154 |
+
{
|
155 |
+
utftext += String.fromCharCode((c >> 12) | 224);
|
156 |
+
utftext += String.fromCharCode(((c >> 6) & 63) | 128);
|
157 |
+
utftext += String.fromCharCode((c & 63) | 128);
|
158 |
+
}
|
159 |
+
}
|
160 |
+
|
161 |
+
}
|
162 |
+
|
163 |
+
return utftext;
|
164 |
+
},
|
165 |
+
|
166 |
+
_utf8_decode: function(utftext)
|
167 |
+
{
|
168 |
+
var string = "";
|
169 |
+
var i = 0;
|
170 |
+
var c = c1 = c2 = 0;
|
171 |
+
|
172 |
+
while (i < utftext.length)
|
173 |
+
{
|
174 |
+
c = utftext.charCodeAt(i);
|
175 |
+
|
176 |
+
if (c < 128)
|
177 |
+
{
|
178 |
+
string += String.fromCharCode(c);
|
179 |
+
i++;
|
180 |
+
}
|
181 |
+
else
|
182 |
+
{
|
183 |
+
if ((c > 191) && (c < 224))
|
184 |
+
{
|
185 |
+
c2 = utftext.charCodeAt(i + 1);
|
186 |
+
string += String.fromCharCode(((c & 31) << 6) | (c2 & 63));
|
187 |
+
i += 2;
|
188 |
+
}
|
189 |
+
else
|
190 |
+
{
|
191 |
+
c2 = utftext.charCodeAt(i + 1);
|
192 |
+
c3 = utftext.charCodeAt(i + 2);
|
193 |
+
string += String.fromCharCode(((c & 15) << 12) | ((c2 & 63) << 6) | (c3 & 63));
|
194 |
+
i += 3;
|
195 |
+
}
|
196 |
+
}
|
197 |
+
}
|
198 |
+
|
199 |
+
return string;
|
200 |
+
}
|
201 |
+
}
|
202 |
+
|
203 |
//]]>
|
204 |
</script>
|
205 |
|
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Linc_Care</name>
|
4 |
-
<version>1.2.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://www.letslinc.com/legal/linccarelicenseagreement/">Linc Global Commercial License</license>
|
7 |
<channel>community</channel>
|
@@ -62,9 +62,9 @@ come back and finish later, the URL to the portal is https://care.letslinc.com/m
|
|
62 |
If you have any comments or questions, please email us at support-magento@letslinc.com
|
63 |
</notes>
|
64 |
<authors><author><name>Linc Care</name><user>letslincapp</user><email>apps@letslinc.com</email></author></authors>
|
65 |
-
<date>2015-02-
|
66 |
-
<time>
|
67 |
-
<contents><target name="mageetc"><dir name="modules"><file name="Linc_Care.xml" hash="8dd7784200f8ff440a0c970d89db190d"/></dir></target><target name="magecommunity"><dir name="Linc"><dir name="Care"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Form"><file name="Register.php" hash="aaae24f105064ce11e9da2e5c3d778e2"/></dir></dir></dir></dir><file name="Confirm.php" hash="c5802e17ab99fe29759d4f0c3b61c16d"/><file name="Email.php" hash="8f6eb60dd06f7258c842377cb92bec07"/><file name="Faqbutton.php" hash="e9804ff3824aaaa5383af0f97fc75c1b"/><file name="Note.php" hash="637733c4a7ad19ef66b9db1d75c28b8d"/><file name="Pwd.php" hash="7dbe6f455456f06cb47ebdd072bdbd7f"/><file name="Url.php" hash="98d81a2b8c1fbbccc3928cdc4c8d9a5b"/><file name="Widget.php" hash="9f14b52eac49e43a6bb172a502554ba2"/></dir><dir name="Helper"><file name="Data.php" hash="34aec0a0ed4d5a1652b46fb7fe54707d"/></dir><dir name="Model"><file name="Fulfillmentobserver.php" hash="2d9b00406a908235fced0d27e128976a"/><file name="Orderobserver.php" hash="9942bc307a6027cbbd932ac1028289aa"/><dir name="Resource"><file name="Setup.php" hash="7169ea333f6a42a0edc86effa4a11195"/></dir></dir><file name="common.php" hash="82b09b911018f12ce42efd9a32bbddf1"/><dir name="controllers"><file name="CareController.php" hash="5c65bf047fcddc87ad7f3a2ebff0e924"/></dir><dir name="etc"><file name="config.xml" hash="
|
68 |
<compatible/>
|
69 |
<dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
|
70 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Linc_Care</name>
|
4 |
+
<version>1.2.4</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://www.letslinc.com/legal/linccarelicenseagreement/">Linc Global Commercial License</license>
|
7 |
<channel>community</channel>
|
62 |
If you have any comments or questions, please email us at support-magento@letslinc.com
|
63 |
</notes>
|
64 |
<authors><author><name>Linc Care</name><user>letslincapp</user><email>apps@letslinc.com</email></author></authors>
|
65 |
+
<date>2015-02-11</date>
|
66 |
+
<time>03:11:58</time>
|
67 |
+
<contents><target name="mageetc"><dir name="modules"><file name="Linc_Care.xml" hash="8dd7784200f8ff440a0c970d89db190d"/></dir></target><target name="magecommunity"><dir name="Linc"><dir name="Care"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Form"><file name="Register.php" hash="aaae24f105064ce11e9da2e5c3d778e2"/></dir></dir></dir></dir><file name="Confirm.php" hash="c5802e17ab99fe29759d4f0c3b61c16d"/><file name="Email.php" hash="8f6eb60dd06f7258c842377cb92bec07"/><file name="Faqbutton.php" hash="e9804ff3824aaaa5383af0f97fc75c1b"/><file name="Note.php" hash="637733c4a7ad19ef66b9db1d75c28b8d"/><file name="Pwd.php" hash="7dbe6f455456f06cb47ebdd072bdbd7f"/><file name="Url.php" hash="98d81a2b8c1fbbccc3928cdc4c8d9a5b"/><file name="Widget.php" hash="9f14b52eac49e43a6bb172a502554ba2"/></dir><dir name="Helper"><file name="Data.php" hash="34aec0a0ed4d5a1652b46fb7fe54707d"/></dir><dir name="Model"><file name="Fulfillmentobserver.php" hash="2d9b00406a908235fced0d27e128976a"/><file name="Orderobserver.php" hash="9942bc307a6027cbbd932ac1028289aa"/><dir name="Resource"><file name="Setup.php" hash="7169ea333f6a42a0edc86effa4a11195"/></dir></dir><file name="common.php" hash="82b09b911018f12ce42efd9a32bbddf1"/><dir name="controllers"><file name="CareController.php" hash="5c65bf047fcddc87ad7f3a2ebff0e924"/></dir><dir name="etc"><file name="config.xml" hash="8e3f63f2f7a191bfb39601c5811e0032"/><file name="system.xml" hash="95036d9df5911e0c0d2e6db996a4bbff"/></dir><dir name="sql"><dir name="linc_setup"><file name="mysql4-install-1.2.3.php" hash="ab29cefebab6089b060584cda4ad7d77"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="care"><dir name="system"><dir name="config"><file name="register.phtml" hash="b66851ca1d9760171550c185bc54c86e"/></dir></dir></dir></dir></dir></dir></dir></target></contents>
|
68 |
<compatible/>
|
69 |
<dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
|
70 |
</package>
|