Ced_LayBuy - Version 2.0.8

Version Notes

1. Order page modified with installment plans details in payment information section.
2. Customer can view there installment plans of a order from account panel for detail read the user guide
3. Enhance the payment association with order
4. Installment plan can be canceled on order cancellation
5. admin Interfaces are modified.
6. payment method only active at checkout per:
- min. checkout cart total
- allowed categories
- allowed customer groups
- excluded by product ids
7. SSL compatible
8. Round off problem removed

Download this release

Release Info

Developer Warrin
Extension Ced_LayBuy
Version 2.0.8
Comparing to
See all releases


Code changes from version 2.0.7 to 2.0.8

app/code/local/Ced/LayBuy/Helper/Data.php CHANGED
@@ -209,8 +209,8 @@ class Ced_LayBuy_Helper_Data extends Mage_Core_Helper_Abstract{
209
  $data .= "&mid=".Mage::getStoreConfig('payment/laybuy/membership_number',$storeId);
210
  $data .= "&convrate=1";
211
  $data .= "&id=".$revise->getId()."-".$revise->getOrderId();
212
- $data .="&CANCELURL=".Mage::getBaseUrl().'laybuy/revise/cancel/';
213
- $data .="&RETURNURL=".Mage::getBaseUrl().'laybuy/revise/success/';
214
  $ch = curl_init();
215
  curl_setopt($ch, CURLOPT_URL,$url);
216
  curl_setopt($ch, CURLOPT_POST, 1);
209
  $data .= "&mid=".Mage::getStoreConfig('payment/laybuy/membership_number',$storeId);
210
  $data .= "&convrate=1";
211
  $data .= "&id=".$revise->getId()."-".$revise->getOrderId();
212
+ $data .="&CANCELURL=".Mage::getUrl('laybuy/revise/cancel/',array('_secure'=>true));
213
+ $data .="&RETURNURL=".Mage::getUrl('laybuy/revise/success/',array('_secure'=>true));
214
  $ch = curl_init();
215
  curl_setopt($ch, CURLOPT_URL,$url);
216
  curl_setopt($ch, CURLOPT_POST, 1);
app/code/local/Ced/LayBuy/controllers/ReviseController.php CHANGED
@@ -59,7 +59,7 @@ class Ced_LayBuy_ReviseController extends Mage_Core_Controller_Front_Action
59
  }
60
  $session = Mage::getSingleton('checkout/session');
61
  try{
62
- $currentDate = date('d-m-Y h:i:s',time());
63
  $status['_secure'] = true;
64
  $str = print_r($status, true);
65
  $revise = Mage::getModel('laybuy/revise')->load($status['merchants_ref_no']);
59
  }
60
  $session = Mage::getSingleton('checkout/session');
61
  try{
62
+ $currentDate = date('Y-m-d h:i:s',time());
63
  $status['_secure'] = true;
64
  $str = print_r($status, true);
65
  $revise = Mage::getModel('laybuy/revise')->load($status['merchants_ref_no']);
app/design/frontend/base/default/template/laybuy/checkout/onepage/review/button.phtml CHANGED
@@ -33,7 +33,7 @@
33
  $customerOptions = $sessionPayment->getData('additional_information');
34
 
35
  $totals = Mage::getSingleton('checkout/session')->getQuote()->getTotals();
36
- $grandtotal = round($totals["grand_total"]->getValue());
37
  ?>
38
  <?php if($method == 'laybuy'){ ?>
39
  <br/>
33
  $customerOptions = $sessionPayment->getData('additional_information');
34
 
35
  $totals = Mage::getSingleton('checkout/session')->getQuote()->getTotals();
36
+ $grandtotal = $totals["grand_total"]->getValue();
37
  ?>
38
  <?php if($method == 'laybuy'){ ?>
39
  <br/>
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Ced_LayBuy</name>
4
- <version>2.0.7</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>
@@ -31,9 +31,9 @@ This effectively increases sales and radically improves cash flow where all the
31
  7. SSL compatible&#xD;
32
  8. Round off problem removed</notes>
33
  <authors><author><name>Warrin</name><user>Warrin</user><email>warrin@lay-buys.com</email></author><author><name>Asheesh Singh</name><user>asheeshsingh</user><email>asheeshsingh@cedcoss.com</email></author></authors>
34
- <date>2014-02-20</date>
35
- <time>13:38:11</time>
36
- <contents><target name="magelocal"><dir name="Ced"><dir name="LayBuy"><dir name="Block"><dir name="Adminhtml"><dir name="Report"><dir name="Details"><file name="Form.php" hash="e0ce57d85efc14656d4294021e5f5257"/></dir><file name="Details.php" hash="b300354434b67937bd0852937bd6ffbb"/><dir name="Edit"><file name="Form.php" hash="34ca36479122455bb9b0b1ccaf5d175b"/></dir><file name="Edit.php" hash="9f7eecb6e5c7ae03378b49089ea9a6c0"/><file name="Grid.php" hash="5492ab7536a608362860bc7c1bd1ac36"/><dir name="Renderer"><file name="Email.php" hash="8e6c0938d80f629cd285303018945ea1"/><file name="Order.php" hash="04257868d84c6eaccd79414ba09dcef6"/><file name="Record.php" hash="95eb9f836a50f3f80d254a7cdd8e1d6e"/></dir></dir><file name="Report.php" hash="addd972a4a28d141268f7cb3ad4a4ea6"/></dir><dir name="Customer"><dir name="Account"><file name="Details.php" hash="5bb9caf5b0a6e9584046f6af9ee4ae5f"/><file name="Grid.php" hash="3b170ed3f70422b3a64263535d3543e3"/></dir></dir><dir name="Form"><file name="Laybuy.php" hash="cbf8b96d0fa26d4b772bafd021e3fc83"/></dir><dir name="Info"><file name="Laybuy.php" hash="00dca1578594e6ec2d5f3ee9004d12fe"/></dir><dir name="Revise"><file name="Redirect.php" hash="6f63613d0fe5540a296804c14263a614"/></dir><dir name="Standard"><file name="Redirect.php" hash="306a88ff75d35c18157dc5dceb02c06f"/></dir></dir><dir name="Helper"><file name="Config.php" hash="53fbdb4b5b16b587716c8073616b9cd2"/><file name="Data.php" hash="8d468775f4b7bc2cdd8136b939a2d015"/></dir><dir name="Model"><dir name="Mysql4"><dir name="Report"><file name="Collection.php" hash="a3e133f1128200662330a5e21a94c809"/></dir><file name="Report.php" hash="25568238c401ab5e5768596fb76f7ef8"/><dir name="Revise"><file name="Collection.php" hash="2a502f75e4634e4f231f93226ef49b8a"/></dir><file name="Revise.php" hash="cd1a424882417e0ec94561a8cca378e8"/><file name="Setup.php" hash="261838defadf805c7ee29768f6ea8cec"/></dir><file name="Observer.php" hash="6a077f545a9f16f5702d783205da1935"/><file name="Report.php" hash="d910a81e6b242cba1d4b58c72929f25e"/><file name="Revise.php" hash="225c67ee5ff3e9646785ee4342822c82"/><file name="Standard.php" hash="039a65018d7bc6e2e2ed5fa70e9f4a50"/><dir name="System"><dir name="Config"><dir name="Backend"><file name="Cron.php" hash="8d6e6dc1c3265307eed7a829031dd5f3"/></dir><dir name="Source"><file name="Categories.php" hash="92c61dba3c23e7838cddbaaee8f21d05"/><file name="FetchingSchedule.php" hash="4f3e5aec5a17991d1625d6f17c0f7d32"/><file name="Groups.php" hash="87a205676d93d59a26d1d7bb69266991"/></dir></dir></dir></dir><file name="README.txt" hash="7930d4ac1e8f9957bb2052983eab4340"/><dir name="controllers"><dir name="Adminhtml"><file name="ReportController.php" hash="917a178e207153e4987a71988c80182a"/></dir><file name="ReportController.php" hash="0ae0fee6659f30a811f151c5007abaf8"/><file name="ReviseController.php" hash="82d08e41fda14b45023702b52d0a464e"/><file name="StandardController.php" hash="fade3998e439a4df2f958d2b5667d005"/></dir><dir name="etc"><file name="adminhtml.xml" hash="5bf10fdf706702d95790a1f72d94c27f"/><file name="config.xml" hash="8be86c9f4964a1908753425867e6eef0"/><file name="system.xml" hash="5dbf398d7c13be1f181a0214c45cb43d"/></dir><dir name="sql"><dir name="laybuy_setup"><file name="mysql4-install-0.1.0.php" hash="68e359cd24b6051d0c2a91daad899d71"/><file name="mysql4-upgrade-0.1.0-0.2.0.php" hash="bec5e37090cb5a6da6c8ba3652a8bd32"/><file name="mysql4-upgrade-0.2.0-0.3.0.php" hash="97aa7a2a8c91e46c896a6d04d9554aeb"/><file name="mysql4-upgrade-0.3.0-0.4.0.php" hash="9b147158166b94d52e0cfff369ce965c"/><file name="mysql4-upgrade-0.4.0-0.5.0.php" hash="7626925b0cac03d0918eb6b1d51e6d19"/><file name="mysql4-upgrade-0.5.0-0.6.0.php" hash="bc96daed76ca1f04b1eb422508bc3a4b"/><file name="mysql4-upgrade-0.6.0-0.7.0.php" hash="6aa013f47e3b78e4d78e2cba9b471cd4"/><file name="mysql4-upgrade-0.7.0-0.8.0.php" hash="c2ea0f16c8f1e0dc7412a6a0fda1c622"/><file name="mysql4-upgrade-0.8.0-0.9.0.php" hash="d98ba6bef5f4f46ca741d5db014686f1"/></dir></dir><file name="README.txt" hash="7930d4ac1e8f9957bb2052983eab4340"/></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="laybuy.xml" hash="7a169d0d389230274d762daf4491f27e"/></dir><dir name="template"><dir name="laybuy"><dir name="checkout"><dir name="onepage"><dir name="review"><file name="button.phtml" hash="11628eaa4413263ca6123d1c9473292b"/></dir></dir></dir><dir name="customer"><dir name="account"><file name="details.phtml" hash="b2014625326522e477ffc2e5163bf9d9"/><file name="grid.phtml" hash="2dc802991a69b459f263f4e78c657549"/></dir></dir><dir name="form"><file name="extra.phtml" hash="091077268bb49be0f15bd14586698a79"/><file name="laybuy.phtml" hash="f90924b706f10e70316e494f2c9eac02"/></dir><dir name="info"><file name="default.phtml" hash="3efc2eb9f35b47e6e888a726236bf273"/></dir></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="laybuy.xml" hash="daf3f1e61e17f4d16c64e34c0b6a0e7b"/></dir><dir name="template"><dir name="laybuy"><dir name="info"><file name="default.phtml" hash="a9dfb322a83df7bc53bb2a64c6f192e3"/></dir><file name="notification.phtml" hash="3b1d4be6c68480b0637e805214725372"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Ced_LayBuy.xml" hash="0299a80e1539c73b4edd1fb0df41c28d"/></dir></target><target name="magelocale"><dir name="en_US"><file name="Ced_LayBuy.csv" hash="f79a1a6ca61c5e7a7463c380eb00896d"/></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><dir name="laybuy"><file name="tooltip.css" hash="ece078bf3d8bb27db4a616fdad505671"/></dir></dir><dir name="images"><dir name="laybuy"><file name="closeBtn.png" hash="b0be9d9ef1053c79b0ebdcef83b53f44"/></dir></dir></dir></dir></dir></target><target name="mage"><dir name="js"><dir name="laybuy"><file name="jquery.atooltip.js" hash="61a62836c5e18556c9bfeed4cb2ca05d"/><file name="jquery.min.js" hash="5cb7926315ebf3efbf6d6c9b9cc7201e"/></dir></dir></target></contents>
37
  <compatible/>
38
  <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
39
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Ced_LayBuy</name>
4
+ <version>2.0.8</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>
31
  7. SSL compatible&#xD;
32
  8. Round off problem removed</notes>
33
  <authors><author><name>Warrin</name><user>Warrin</user><email>warrin@lay-buys.com</email></author><author><name>Asheesh Singh</name><user>asheeshsingh</user><email>asheeshsingh@cedcoss.com</email></author></authors>
34
+ <date>2014-02-21</date>
35
+ <time>09:37:01</time>
36
+ <contents><target name="magelocal"><dir name="Ced"><dir name="LayBuy"><dir name="Block"><dir name="Adminhtml"><dir name="Report"><dir name="Details"><file name="Form.php" hash="e0ce57d85efc14656d4294021e5f5257"/></dir><file name="Details.php" hash="b300354434b67937bd0852937bd6ffbb"/><dir name="Edit"><file name="Form.php" hash="34ca36479122455bb9b0b1ccaf5d175b"/></dir><file name="Edit.php" hash="9f7eecb6e5c7ae03378b49089ea9a6c0"/><file name="Grid.php" hash="5492ab7536a608362860bc7c1bd1ac36"/><dir name="Renderer"><file name="Email.php" hash="8e6c0938d80f629cd285303018945ea1"/><file name="Order.php" hash="04257868d84c6eaccd79414ba09dcef6"/><file name="Record.php" hash="95eb9f836a50f3f80d254a7cdd8e1d6e"/></dir></dir><file name="Report.php" hash="addd972a4a28d141268f7cb3ad4a4ea6"/></dir><dir name="Customer"><dir name="Account"><file name="Details.php" hash="5bb9caf5b0a6e9584046f6af9ee4ae5f"/><file name="Grid.php" hash="3b170ed3f70422b3a64263535d3543e3"/></dir></dir><dir name="Form"><file name="Laybuy.php" hash="cbf8b96d0fa26d4b772bafd021e3fc83"/></dir><dir name="Info"><file name="Laybuy.php" hash="00dca1578594e6ec2d5f3ee9004d12fe"/></dir><dir name="Revise"><file name="Redirect.php" hash="6f63613d0fe5540a296804c14263a614"/></dir><dir name="Standard"><file name="Redirect.php" hash="306a88ff75d35c18157dc5dceb02c06f"/></dir></dir><dir name="Helper"><file name="Config.php" hash="53fbdb4b5b16b587716c8073616b9cd2"/><file name="Data.php" hash="f369e7082ac2a9f162e719dc8c347fce"/></dir><dir name="Model"><dir name="Mysql4"><dir name="Report"><file name="Collection.php" hash="a3e133f1128200662330a5e21a94c809"/></dir><file name="Report.php" hash="25568238c401ab5e5768596fb76f7ef8"/><dir name="Revise"><file name="Collection.php" hash="2a502f75e4634e4f231f93226ef49b8a"/></dir><file name="Revise.php" hash="cd1a424882417e0ec94561a8cca378e8"/><file name="Setup.php" hash="261838defadf805c7ee29768f6ea8cec"/></dir><file name="Observer.php" hash="6a077f545a9f16f5702d783205da1935"/><file name="Report.php" hash="d910a81e6b242cba1d4b58c72929f25e"/><file name="Revise.php" hash="225c67ee5ff3e9646785ee4342822c82"/><file name="Standard.php" hash="039a65018d7bc6e2e2ed5fa70e9f4a50"/><dir name="System"><dir name="Config"><dir name="Backend"><file name="Cron.php" hash="8d6e6dc1c3265307eed7a829031dd5f3"/></dir><dir name="Source"><file name="Categories.php" hash="92c61dba3c23e7838cddbaaee8f21d05"/><file name="FetchingSchedule.php" hash="4f3e5aec5a17991d1625d6f17c0f7d32"/><file name="Groups.php" hash="87a205676d93d59a26d1d7bb69266991"/></dir></dir></dir></dir><file name="README.txt" hash="7930d4ac1e8f9957bb2052983eab4340"/><dir name="controllers"><dir name="Adminhtml"><file name="ReportController.php" hash="917a178e207153e4987a71988c80182a"/></dir><file name="ReportController.php" hash="0ae0fee6659f30a811f151c5007abaf8"/><file name="ReviseController.php" hash="a2ccf68f456441a6ead5af5c59f38705"/><file name="StandardController.php" hash="fade3998e439a4df2f958d2b5667d005"/></dir><dir name="etc"><file name="adminhtml.xml" hash="5bf10fdf706702d95790a1f72d94c27f"/><file name="config.xml" hash="8be86c9f4964a1908753425867e6eef0"/><file name="system.xml" hash="5dbf398d7c13be1f181a0214c45cb43d"/></dir><dir name="sql"><dir name="laybuy_setup"><file name="mysql4-install-0.1.0.php" hash="68e359cd24b6051d0c2a91daad899d71"/><file name="mysql4-upgrade-0.1.0-0.2.0.php" hash="bec5e37090cb5a6da6c8ba3652a8bd32"/><file name="mysql4-upgrade-0.2.0-0.3.0.php" hash="97aa7a2a8c91e46c896a6d04d9554aeb"/><file name="mysql4-upgrade-0.3.0-0.4.0.php" hash="9b147158166b94d52e0cfff369ce965c"/><file name="mysql4-upgrade-0.4.0-0.5.0.php" hash="7626925b0cac03d0918eb6b1d51e6d19"/><file name="mysql4-upgrade-0.5.0-0.6.0.php" hash="bc96daed76ca1f04b1eb422508bc3a4b"/><file name="mysql4-upgrade-0.6.0-0.7.0.php" hash="6aa013f47e3b78e4d78e2cba9b471cd4"/><file name="mysql4-upgrade-0.7.0-0.8.0.php" hash="c2ea0f16c8f1e0dc7412a6a0fda1c622"/><file name="mysql4-upgrade-0.8.0-0.9.0.php" hash="d98ba6bef5f4f46ca741d5db014686f1"/></dir></dir><file name="README.txt" hash="7930d4ac1e8f9957bb2052983eab4340"/></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="laybuy.xml" hash="7a169d0d389230274d762daf4491f27e"/></dir><dir name="template"><dir name="laybuy"><dir name="checkout"><dir name="onepage"><dir name="review"><file name="button.phtml" hash="e42ebaf3236a67df002108704f879f68"/></dir></dir></dir><dir name="customer"><dir name="account"><file name="details.phtml" hash="b2014625326522e477ffc2e5163bf9d9"/><file name="grid.phtml" hash="2dc802991a69b459f263f4e78c657549"/></dir></dir><dir name="form"><file name="extra.phtml" hash="091077268bb49be0f15bd14586698a79"/><file name="laybuy.phtml" hash="f90924b706f10e70316e494f2c9eac02"/></dir><dir name="info"><file name="default.phtml" hash="3efc2eb9f35b47e6e888a726236bf273"/></dir></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="laybuy.xml" hash="daf3f1e61e17f4d16c64e34c0b6a0e7b"/></dir><dir name="template"><dir name="laybuy"><dir name="info"><file name="default.phtml" hash="a9dfb322a83df7bc53bb2a64c6f192e3"/></dir><file name="notification.phtml" hash="3b1d4be6c68480b0637e805214725372"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Ced_LayBuy.xml" hash="0299a80e1539c73b4edd1fb0df41c28d"/></dir></target><target name="magelocale"><dir name="en_US"><file name="Ced_LayBuy.csv" hash="f79a1a6ca61c5e7a7463c380eb00896d"/></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><dir name="laybuy"><file name="tooltip.css" hash="ece078bf3d8bb27db4a616fdad505671"/></dir></dir><dir name="images"><dir name="laybuy"><file name="closeBtn.png" hash="b0be9d9ef1053c79b0ebdcef83b53f44"/></dir></dir></dir></dir></dir></target><target name="mage"><dir name="js"><dir name="laybuy"><file name="jquery.atooltip.js" hash="61a62836c5e18556c9bfeed4cb2ca05d"/><file name="jquery.min.js" hash="5cb7926315ebf3efbf6d6c9b9cc7201e"/></dir></dir></target></contents>
37
  <compatible/>
38
  <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
39
  </package>