Craig_Tco - Version 2.1.7

Version Notes

Added better behavior on MD5 hash mismatch

Download this release

Release Info

Developer Magento Core Team
Extension Craig_Tco
Version 2.1.7
Comparing to
See all releases


Code changes from version 2.1.6 to 2.1.7

app/code/local/Craig/Tco/Model/Checkout.php CHANGED
@@ -22,7 +22,6 @@
22
class Craig_Tco_Model_Checkout extends Mage_Payment_Model_Method_Abstract {
23
24
protected $_code = 'tco';
25
- protected $_formBlockType = 'tco/form';
26
protected $_paymentMethod = 'shared';
27
28
public function getCheckout() {
22
class Craig_Tco_Model_Checkout extends Mage_Payment_Model_Method_Abstract {
23
24
protected $_code = 'tco';
25
protected $_paymentMethod = 'shared';
26
27
public function getCheckout() {
app/code/local/Craig/Tco/controllers/RedirectController.php CHANGED
@@ -75,7 +75,6 @@ class Craig_Tco_RedirectController extends Mage_Core_Controller_Front_Action {
75
$order->setData('ext_order_id',$post['order_number'] );
76
$order->save();
77
} else {
78
- die($hashTotal);
79
$this->_redirect('checkout/onepage/success');
80
$order->addStatusHistoryComment($hashTotal);
81
$order->addStatusHistoryComment('Hash did not match, check secret word.');
75
$order->setData('ext_order_id',$post['order_number'] );
76
$order->save();
77
} else {
78
$this->_redirect('checkout/onepage/success');
79
$order->addStatusHistoryComment($hashTotal);
80
$order->addStatusHistoryComment('Hash did not match, check secret word.');
app/code/local/Craig/Tco/etc/config.xml CHANGED
@@ -24,7 +24,7 @@
24
<config>
25
<modules>
26
<Craig_Tco>
27
- <version>2.1.6</version>
28
</Craig_Tco>
29
</modules>
30
<global>
24
<config>
25
<modules>
26
<Craig_Tco>
27
+ <version>2.1.7</version>
28
</Craig_Tco>
29
</modules>
30
<global>
package.xml CHANGED
@@ -1,18 +1,18 @@
1
<?xml version="1.0"?>
2
<package>
3
<name>Craig_Tco</name>
4
- <version>2.1.6</version>
5
<stability>stable</stability>
6
<license uri="http://www.opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
7
<channel>community</channel>
8
<extends/>
9
<summary>2Checkout Payment Extension</summary>
10
<description>Official 2Checkout Payment Extension</description>
11
- <notes>Updating INS logic to check order total</notes>
12
<authors><author><name>Craig Christenson</name><user>auto-converted</user><email>christensoncraig@gmail.com</email></author></authors>
13
- <date>2012-08-26</date>
14
- <time>22:20:58</time>
15
- <contents><target name="mageetc"><dir name="modules"><file name="Craig_Tco.xml" hash="4a6e92678d9b2a310af880d35a4c355f"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="tco"><file name="form.phtml" hash="08ae585e158550d0a5dccbed3d37758d"/><file name="info.phtml" hash="b714a7398773adc71ea086024dfc96b1"/></dir></dir></dir></dir></dir></target><target name="magelocal"><dir name="Craig"><dir name="Tco"><dir name="Block"><file name="Form.php" hash="b552018543f57090c42784d939004dd4"/><file name="Info.php" hash="ceb4ec03e4de3e4f1dafaf5d7da9b982"/><file name="Redirect.php" hash="e2809d56d51bdc74367dad8da77ac563"/></dir><dir name="controllers"><file name="NotificationController.php" hash="c978c760f0ee234a371ace1853353ccf"/><file name="RedirectController.php" hash="eebd0fcd99720550136e7c2e72a9cf90"/></dir><dir name="etc"><file name="config.xml" hash="631aaa705780764e46d68ddf020942d8"/><file name="system.xml" hash="4bf8199f530281ba446d9c943fcb6932"/></dir><dir name="Helper"><file name="Data.php" hash="de7680011db7d6821c1f68d70a8fa684"/></dir><dir name="Model"><file name="Checkout.php" hash="f31f811cccdcb8da39b5628a9cf3c008"/><file name="Observer.php" hash="727312c017289346a6c9a4aedb5fcc4f"/></dir></dir></dir></target></contents>
16
<compatible/>
17
<dependencies/>
18
</package>
1
<?xml version="1.0"?>
2
<package>
3
<name>Craig_Tco</name>
4
+ <version>2.1.7</version>
5
<stability>stable</stability>
6
<license uri="http://www.opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
7
<channel>community</channel>
8
<extends/>
9
<summary>2Checkout Payment Extension</summary>
10
<description>Official 2Checkout Payment Extension</description>
11
+ <notes>Added better behavior on MD5 hash mismatch</notes>
12
<authors><author><name>Craig Christenson</name><user>auto-converted</user><email>christensoncraig@gmail.com</email></author></authors>
13
+ <date>2012-09-17</date>
14
+ <time>19:54:46</time>
15
+ <contents><target name="mageetc"><dir name="modules"><file name="Craig_Tco.xml" hash="4a6e92678d9b2a310af880d35a4c355f"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="tco"><file name="form.phtml" hash="08ae585e158550d0a5dccbed3d37758d"/><file name="info.phtml" hash="b714a7398773adc71ea086024dfc96b1"/></dir></dir></dir></dir></dir></target><target name="magelocal"><dir name="Craig"><dir name="Tco"><dir name="Block"><file name="Form.php" hash="b552018543f57090c42784d939004dd4"/><file name="Info.php" hash="ceb4ec03e4de3e4f1dafaf5d7da9b982"/><file name="Redirect.php" hash="e2809d56d51bdc74367dad8da77ac563"/></dir><dir name="controllers"><file name="NotificationController.php" hash="c978c760f0ee234a371ace1853353ccf"/><file name="RedirectController.php" hash="6dd5e6460c5454da1e37be35de7b4ec7"/></dir><dir name="etc"><file name="config.xml" hash="891b77a13c291af6f09dabf0ce036728"/><file name="system.xml" hash="4bf8199f530281ba446d9c943fcb6932"/></dir><dir name="Helper"><file name="Data.php" hash="de7680011db7d6821c1f68d70a8fa684"/></dir><dir name="Model"><file name="Checkout.php" hash="f23d1777a554d67ac8cc70b835d94198"/><file name="Observer.php" hash="727312c017289346a6c9a4aedb5fcc4f"/></dir></dir></dir></target></contents>
16
<compatible/>
17
<dependencies/>
18
</package>