QuickLicenseManager - Version 1.0.2

Version Notes

Bug fix: Do not display License Key information if the product does not have the QLM Settings attribute set.

Download this release

Release Info

Developer Soraco Technologies
Extension QuickLicenseManager
Version 1.0.2
Comparing to
See all releases


Code changes from version 1.0.1 to 1.0.2

app/code/local/Soraco/Qlm/Model/Observer.php CHANGED
@@ -30,25 +30,29 @@ class Soraco_Qlm_Model_Observer {
30
 
31
  $coll = Mage::getModel('catalog/product')->load($pid);
32
  $licparameter = $coll->getLicparameter();
 
 
 
 
33
 
34
- $parameter["is_quantity"] = $item->getQtyOrdered();
35
-
36
- $keyid = Mage::helper("soraco_qlm")->generatekeydata($pid,$licparameter,$parameter);
37
 
38
- $existentOptions = $item->getProductOptions();
39
- if (!isset($existentOptions['additional_options'])) {
40
- $existentOptions['additional_options'] = array();
41
- }
42
 
43
- if($keyid!="")
44
- {
45
- $existentOptions['additional_options'][] = array(
46
- 'label' => 'Licence Key',
47
- 'value' => $keyid,
48
- 'print_value' => $keyid
49
- );
50
- $item->setProductOptions($existentOptions);
51
- }
 
52
  }
53
  }
54
 
30
 
31
  $coll = Mage::getModel('catalog/product')->load($pid);
32
  $licparameter = $coll->getLicparameter();
33
+
34
+ if($licparameter != "")
35
+ {
36
+ $parameter["is_quantity"] = $item->getQtyOrdered();
37
 
38
+ $keyid = Mage::helper("soraco_qlm")->generatekeydata($pid,$licparameter,$parameter);
39
+
 
40
 
41
+ $existentOptions = $item->getProductOptions();
42
+ if (!isset($existentOptions['additional_options'])) {
43
+ $existentOptions['additional_options'] = array();
44
+ }
45
 
46
+ if($keyid!="")
47
+ {
48
+ $existentOptions['additional_options'][] = array(
49
+ 'label' => 'Licence Key',
50
+ 'value' => $keyid,
51
+ 'print_value' => $keyid
52
+ );
53
+ $item->setProductOptions($existentOptions);
54
+ }
55
+ }
56
  }
57
  }
58
 
app/code/local/Soraco/Qlm/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <Soraco_Qlm>
5
- <version>1.0.0</version>
6
  </Soraco_Qlm>
7
  </modules>
8
  <frontend>
2
  <config>
3
  <modules>
4
  <Soraco_Qlm>
5
+ <version>1.0.2</version>
6
  </Soraco_Qlm>
7
  </modules>
8
  <frontend>
app/etc/modules/Soraco_Qlm.xml CHANGED
@@ -4,7 +4,7 @@
4
  <Soraco_Qlm>
5
  <active>true</active>
6
  <codePool>local</codePool>
7
- <version>1.0.0</version>
8
  </Soraco_Qlm>
9
  </modules>
10
  </config>
4
  <Soraco_Qlm>
5
  <active>true</active>
6
  <codePool>local</codePool>
7
+ <version>1.0.2</version>
8
  </Soraco_Qlm>
9
  </modules>
10
  </config>
package.xml CHANGED
@@ -1,18 +1,59 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>QuickLicenseManager</name>
4
- <version>1.0.1</version>
5
  <stability>stable</stability>
6
  <license uri="https://opensource.org/licenses/lgpl-license">LGPL</license>
7
  <channel>community</channel>
8
  <extends/>
9
- <summary>Integration of Quick License Manager with Magento</summary>
10
- <description>Automatically generate and email a license key to your customer when an order is placed via Magento.</description>
11
- <notes>First Release.</notes>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
12
  <authors><author><name>Soraco Technologies</name><user>soraco</user><email>ralph@soraco.co</email></author></authors>
13
- <date>2017-02-19</date>
14
- <time>14:01:38</time>
15
- <contents><target name="magelocal"><dir name="Soraco"><dir name="Qlm"><dir name="Helper"><file name="Data.php" hash="a57fcc28de8d31eb65b13b66818bcf81"/></dir><dir name="Model"><file name="Observer.php" hash="6022d42249bb1e80b4125e9567349cfb"/></dir><dir name="controllers"><file name="IndexController.php" hash="cb53d827f738050e0c6bc0a0ed0595c5"/></dir><dir name="etc"><file name="config.xml" hash="9290adf97b1784581523f8b9b4d161c1"/><file name="system.xml" hash="45d020bf56efceb0bf8c984ae81205d3"/></dir><dir name="sql"><dir name="soraco_qlm_setup"><file name="mysql4-install-0.1.0.php" hash="0e8ebc44878479cd35bc3562731622ad"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Soraco_Qlm.xml" hash="cf228883649a589dd371d304591135c3"/></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.1.0</min><max>7.0.0</max></php></required></dependencies>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>QuickLicenseManager</name>
4
+ <version>1.0.2</version>
5
  <stability>stable</stability>
6
  <license uri="https://opensource.org/licenses/lgpl-license">LGPL</license>
7
  <channel>community</channel>
8
  <extends/>
9
+ <summary>Integrates QLM with Magento by automatically generating a license key when a new order is placed.&#xD;
10
+ &#xD;
11
+ </summary>
12
+ <description>&lt;a href="https://soraco.co"&gt;Quick License Manager&lt;/a&gt;&#xD;
13
+ is a software license protection tool that protects your application against piracy. Quick License Manager Professional is a commercial product that sells for &lt;b&gt;$US 600 &lt;/b&gt; per license. You can consult our pricing and purchase a QLM Professional license on our &lt;a href="https://soraco.co/pricing"&gt;web site.&lt;/a&gt; This QLM Magento Extension is available free of charge to all &lt;a href="https://soraco.co/quick-license-manager"&gt;QLM Professional&lt;/a&gt; customers.&#xD;
14
+ &#xD;
15
+ &lt;br /&gt;&lt;br /&gt;&#xD;
16
+ If you use Quick License Manager (QLM) to protect your application against piracy, you can now streamline the license key generation process with our Magento integration.&#xD;
17
+ When an order is placed via Magento, our Magento extension communicates with the QLM License Server and sends the order and customer information to the QLM License Server.&#xD;
18
+ The QLM License Server populates its database with the order information, creates the required license keys and sends them back to Magento.&#xD;
19
+ Magento then stores the License Key within the order and includes the license key in the email that is sent to the customer.&#xD;
20
+ &lt;br /&gt;&#xD;
21
+ &lt;br /&gt;&#xD;
22
+ Features:&#xD;
23
+ &lt;br /&gt;&#xD;
24
+ - Sends order information to the QLM License Server&lt;br /&gt;&#xD;
25
+ - Generates a license key based on the order&lt;br /&gt;&#xD;
26
+ - Embeds the license key in the email sent to the customer&#xD;
27
+ &lt;br /&gt;&lt;br /&gt;&#xD;
28
+ &#xD;
29
+ To integrate QLM with Magento, follow the steps below:&#xD;
30
+ &lt;br /&gt;&#xD;
31
+ - Install the Quick License Manage Extension&lt;br /&gt;&#xD;
32
+ - Go to System Configuration&lt;br /&gt;&#xD;
33
+ - Locate the QLM panel on the left hand side&lt;br /&gt;&#xD;
34
+ - Go to the QLM / General section&lt;br /&gt;&#xD;
35
+ - Set the License Server Url to the URL of your QLM License Server. Example: http://quicklicensemanager.com/qlmdemov9/qlmservice.asmx&lt;br /&gt;&#xD;
36
+ - Click Save Config&#xD;
37
+ &lt;br /&gt;&lt;br /&gt;&#xD;
38
+ Next, you need to configure your product as follows:&lt;br /&gt;&#xD;
39
+ &#xD;
40
+ - Go to Catalog / Manage Products&lt;br /&gt;&#xD;
41
+ - Add a new product of type Downloadable.&lt;br /&gt;&#xD;
42
+ - In the General section, locate the QLM Settings property&lt;br /&gt;&#xD;
43
+ - Set the value as follows (replace the values to match your product): &amp;is_productid=1&amp;is_majorversion=1&amp;is_minorversion=0&amp;is_licensemodel=permanent&amp;is_features=0:3&lt;br /&gt;&#xD;
44
+ - Click Save&lt;br /&gt;&lt;br /&gt;&#xD;
45
+ &#xD;
46
+ Now place an order for your product and verify that:&lt;br /&gt;&#xD;
47
+ - Customer information entered in Magento was published to the QLM License Server&lt;br /&gt;&#xD;
48
+ - A license key was generated in the QLM License Server&lt;br /&gt;&#xD;
49
+ - A license key is associated to the order in Magento&lt;br /&gt;&#xD;
50
+ - A license key was included in the email sent to the customer&lt;br /&gt;&#xD;
51
+ </description>
52
+ <notes>Bug fix: Do not display License Key information if the product does not have the QLM Settings attribute set.</notes>
53
  <authors><author><name>Soraco Technologies</name><user>soraco</user><email>ralph@soraco.co</email></author></authors>
54
+ <date>2017-07-14</date>
55
+ <time>21:57:29</time>
56
+ <contents><target name="magelocal"><dir name="Soraco"><dir name="Qlm"><dir name="Helper"><file name="Data.php" hash="a57fcc28de8d31eb65b13b66818bcf81"/></dir><dir name="Model"><file name="Observer.php" hash="f73876a029d76e5e30ec8b29b36b1be7"/></dir><dir name="controllers"><file name="IndexController.php" hash="cb53d827f738050e0c6bc0a0ed0595c5"/></dir><dir name="etc"><file name="config.xml" hash="8ce561156ae8690927297aad72efdbb4"/><file name="system.xml" hash="45d020bf56efceb0bf8c984ae81205d3"/></dir><dir name="sql"><dir name="soraco_qlm_setup"><file name="mysql4-install-0.1.0.php" hash="0e8ebc44878479cd35bc3562731622ad"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Soraco_Qlm.xml" hash="7df16536eb7f7a82c433a2466b73d5f6"/></dir></target></contents>
57
  <compatible/>
58
  <dependencies><required><php><min>5.1.0</min><max>7.0.0</max></php></required></dependencies>
59
  </package>