Yireo_CheckoutTester - Version 0.1.0

Version Notes

No notes

Download this release

Release Info

Developer Yireo
Extension Yireo_CheckoutTester
Version 0.1.0
Comparing to
See all releases


Code changes from version 0.0.5 to 0.1.0

app/code/community/Yireo/CheckoutTester/controllers/IndexController.php CHANGED
@@ -45,6 +45,12 @@ class Yireo_CheckoutTester_IndexController extends Mage_Core_Controller_Front_Ac
45
 
46
  // Load the order
47
  $order = Mage::getModel('sales/order')->load($orderId);
 
 
 
 
 
 
48
  Mage::getModel('checkout/session')->setLastOrderId($order->getId())
49
  ->setLastRealOrderId($order->getIncrementId());
50
 
45
 
46
  // Load the order
47
  $order = Mage::getModel('sales/order')->load($orderId);
48
+ // Order on the order
49
+ if(!$order->getId() > 0) {
50
+ die('Invalid order ID');
51
+ }
52
+
53
+ // Load the session
54
  Mage::getModel('checkout/session')->setLastOrderId($order->getId())
55
  ->setLastRealOrderId($order->getIncrementId());
56
 
app/code/community/Yireo/CheckoutTester/etc/config.xml CHANGED
@@ -13,7 +13,7 @@
13
 
14
  <modules>
15
  <Yireo_CheckoutTester>
16
- <version>0.0.5</version>
17
  </Yireo_CheckoutTester>
18
  </modules>
19
 
13
 
14
  <modules>
15
  <Yireo_CheckoutTester>
16
+ <version>0.1.0</version>
17
  </Yireo_CheckoutTester>
18
  </modules>
19
 
package.xml CHANGED
@@ -1,2 +1,2 @@
1
  <?xml version="1.0"?>
2
- <package><name>Yireo_CheckoutTester</name><version>0.0.5</version><stability>stable</stability><license>Open Source License</license><channel>community</channel><extends></extends><summary>No summary</summary><description>No description</description><notes>No notes</notes><authors><author><name>Yireo</name><user>yireo</user><email>info@yireo.com</email></author></authors><date>2014-06-25</date><time>8:17:29</time><compatible></compatible><dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies><contents><target name="mage"><dir name="app"><dir name="etc"><dir name="modules"><file name="Yireo_CheckoutTester.xml" hash="5c25ce11fa9c85fa23a32225a674951a"/></dir></dir><dir name="design"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="checkouttester.xml" hash="9e0113d1d3df1d561c6846fec010f406"/></dir></dir></dir></dir></dir><dir name="code"><dir name="community"><dir name="Yireo"><dir name="CheckoutTester"><dir name="etc"><file name="adminhtml.xml" hash="e55f7023e0538a0cd564dd5c9327465d"/><file name="config.xml" hash="ace44506644a6bb2ed297fad63d28af4"/><file name="system.xml" hash="8e1520e370f90fae4f8d4217b03aaa31"/></dir><dir name="controllers"><file name="IndexController.php" hash="497df6e9d7c4c54635ffc9c727d93d1e"/></dir><dir name="Model"><file name="Feed.php" hash="da5af719014c1cb94daad9cbe5a340b4"/><file name="Observer.php" hash="00c05b283b67c57442aaf0216764e7f3"/></dir><dir name="Helper"><file name="Data.php" hash="4b908f748d9f003b5f3cc23f7dbcb9b3"/></dir><dir name="Block"><file name="Success.php" hash="a069a62e023e121238126212ca24601e"/></dir></dir></dir></dir></dir></dir></target></contents></package>
1
  <?xml version="1.0"?>
2
+ <package><name>Yireo_CheckoutTester</name><version>0.1.0</version><stability>stable</stability><license>Open Source License</license><channel>community</channel><extends></extends><summary>No summary</summary><description>No description</description><notes>No notes</notes><authors><author><name>Yireo</name><user>yireo</user><email>info@yireo.com</email></author></authors><date>2014-08-06</date><time>1:43:39</time><compatible></compatible><dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies><contents><target name="mage"><dir name="app"><dir name="etc"><dir name="modules"><file name="Yireo_CheckoutTester.xml" hash="5c25ce11fa9c85fa23a32225a674951a"/></dir></dir><dir name="design"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="checkouttester.xml" hash="9e0113d1d3df1d561c6846fec010f406"/></dir></dir></dir></dir></dir><dir name="code"><dir name="community"><dir name="Yireo"><dir name="CheckoutTester"><dir name="etc"><file name="adminhtml.xml" hash="e55f7023e0538a0cd564dd5c9327465d"/><file name="config.xml" hash="ec02d6654801234fcfb4dd6ce825a2e4"/><file name="system.xml" hash="8e1520e370f90fae4f8d4217b03aaa31"/></dir><dir name="controllers"><file name="IndexController.php" hash="5a498332371e9b4ef6d0d91faf873a09"/></dir><dir name="Model"><file name="Feed.php" hash="da5af719014c1cb94daad9cbe5a340b4"/><file name="Observer.php" hash="00c05b283b67c57442aaf0216764e7f3"/></dir><dir name="Helper"><file name="Data.php" hash="4b908f748d9f003b5f3cc23f7dbcb9b3"/></dir><dir name="Block"><file name="Success.php" hash="a069a62e023e121238126212ca24601e"/></dir></dir></dir></dir></dir></dir></target></contents></package>