Iridiumcorp_Tpg - Version 1.5.2

Version Notes

3D Secure transactions redirected to an outer ACS page rather than using iframe. System log file contains transaction specific result details.

Download this release

Release Info

Developer Magento Core Team
Extension Iridiumcorp_Tpg
Version 1.5.2
Comparing to
See all releases


Code changes from version 1.5.1 to 1.5.2

app/code/local/Iridiumcorp/Checkout/Block/Onepage/Payment/Methods.php ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /**
4
+ * One page checkout status
5
+ *
6
+ * @category Mage
7
+ * @category Mage
8
+ * @package Mage_Checkout
9
+ * @author Magento Core Team <core@magentocommerce.com>
10
+ */
11
+ class Iridiumcorp_Checkout_Block_Onepage_Payment_Methods extends Mage_Checkout_Block_Onepage_Payment_Methods
12
+ {
13
+ /**
14
+ * Override the base function - by default the Iridium payment option will be selected
15
+ *
16
+ * @return mixed
17
+ */
18
+ public function getSelectedMethodCode()
19
+ {
20
+ if ($this->getQuote()->getPayment()->getMethod())
21
+ {
22
+ $method = $this->getQuote()->getPayment()->getMethod();
23
+ }
24
+ else
25
+ {
26
+ // force the current payment to be selected
27
+ $method = 'tpg';
28
+ }
29
+
30
+ return $method;
31
+ }
32
+ }
app/code/local/Iridiumcorp/Checkout/etc/config.xml CHANGED
@@ -6,12 +6,19 @@
6
  </Iridiumcorp_Checkout>
7
  </modules>
8
  <global>
9
- <models>
10
  <checkout>
11
  <rewrite>
12
  <type_onepage>Iridiumcorp_Checkout_Model_Type_Onepage</type_onepage>
13
  </rewrite>
14
  </checkout>
15
  </models>
 
 
 
 
 
 
 
16
  </global>
17
  </config>
6
  </Iridiumcorp_Checkout>
7
  </modules>
8
  <global>
9
+ <models>
10
  <checkout>
11
  <rewrite>
12
  <type_onepage>Iridiumcorp_Checkout_Model_Type_Onepage</type_onepage>
13
  </rewrite>
14
  </checkout>
15
  </models>
16
+ <blocks>
17
+ <checkout>
18
+ <rewrite>
19
+ <onepage_payment_methods>Iridiumcorp_Checkout_Block_Onepage_Payment_Methods</onepage_payment_methods>
20
+ </rewrite>
21
+ </checkout>
22
+ </blocks>
23
  </global>
24
  </config>
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Iridiumcorp_Tpg</name>
4
- <version>1.5.1</version>
5
  <stability>stable</stability>
6
  <license>OSL v3.0</license>
7
  <channel>community</channel>
@@ -11,8 +11,8 @@
11
  <notes>3D Secure transactions redirected to an outer ACS page rather than using iframe. System log file contains transaction specific result details.</notes>
12
  <authors><author><name>Iridium Support</name><user>auto-converted</user><email>support@iridiumcorp.co.uk</email></author><author><name>Benjamin Kovac</name><user>auto-converted</user><email>ben.kovac@iridiumcorp.co.uk</email></author></authors>
13
  <date>2010-06-15</date>
14
- <time>11:50:25</time>
15
- <contents><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="tpg"><file name="form.phtml" hash="9b2afd627d6e9e4f9ad43b0a7153962b"/><file name="info.phtml" hash="3164afadd87c4811b5f7d0879537f10e"/></dir></dir></dir></dir></dir><dir name="frontend"><dir name="default"><dir name="default"><dir name="template"><dir name="tpg"><file name="form.phtml" hash="231e39bb2821718eeaec4c1d0ee3233d"/><file name="info.phtml" hash="7d72d07f3afa018d0402219e50573439"/></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="default"><dir name="default"><dir name="images"><file name="iridium_corporation.jpg" hash="589faaa1b7e80b32a425175ecfc3b455"/></dir></dir></dir></dir></target><target name="magelocal"><dir name="Iridiumcorp"><dir name="Checkout"><dir name="etc"><file name="config.xml" hash="394797540b82a26aeade86688adfb490"/></dir><dir name="Model"><dir name="Type"><file name="Onepage.php" hash="fd34804edc71d403ab5a132d835d1641"/></dir></dir></dir><dir name="Tpg"><dir name="Block"><file name="Error.php" hash="905367210beb53a0bc68dc6033e24127"/><file name="Form.php" hash="4b1d51aa84982486f3139510c41a221a"/><file name="Info.php" hash="f88445c4880bfe14914252bc76b6fc28"/><file name="Redirect.php" hash="121b7025034eff6316a0205b41ec2a0b"/><file name="Threedsecure.php" hash="43c2c7197a8b25eed6c2cf88d5ee0df4"/></dir><dir name="controllers"><file name="PaymentController.php" hash="227ff227a042263ec51462f51dd92eed"/></dir><dir name="etc"><file name="config.xml" hash="8652c85a0f22713ce36e134a8e98f2d4"/><file name="system.xml" hash="0f05e89acfdacadb82b189ee8933f6e7"/></dir><dir name="Helper"><file name="Data.php" hash="a72fba87e718c94d993a57199e20ca96"/></dir><dir name="Model"><file name="Direct.php" hash="49bbfb032df2af2cfce62a95bc737387"/><file name="Request.php" hash="a96e462ed3c1882048ea45f2c3a6662c"/><dir name="Source"><file name="HashMethod.php" hash="36d7fb4fc762feae459f0e67d51006f4"/><file name="PaymentAction.php" hash="bd8dc40852b9ff8c80c08fc01f35a988"/><file name="PaymentMode.php" hash="6849defade8a7da4cfaeff3227ae5b83"/><file name="ResultDeliveryMethod.php" hash="b79d6fc714a25aba26cdb0ab572ae06f"/></dir><dir name="Tpg"><file name="GlobalErrors.php" hash="06beaf8042e351b95259d0e8e4cb1142"/><file name="ISOCountries.php" hash="fc63d76fbe25458ba351f114782074cb"/><file name="ISOCurrencies.php" hash="89ac1e124e89c0713ef43a0cf6dd0e2b"/><file name="PaymentFormHelper.php" hash="f5c28f79cc818ff8693d4348e475bf36"/><dir name="ThePaymentGateway"><file name="PaymentSystem.php" hash="4ad38bdb85f865e967153d9f253390cd"/><file name="SOAP.php" hash="504dcb0cb7c60c134b25652881349cc3"/><file name="TPG_Common.php" hash="df1033ef855c7e0e715076a105acb84a"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Iridiumcorp_All.xml" hash="cbea3fee7ee3724d21288145b27bbd74"/></dir></target></contents>
16
  <compatible/>
17
  <dependencies/>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Iridiumcorp_Tpg</name>
4
+ <version>1.5.2</version>
5
  <stability>stable</stability>
6
  <license>OSL v3.0</license>
7
  <channel>community</channel>
11
  <notes>3D Secure transactions redirected to an outer ACS page rather than using iframe. System log file contains transaction specific result details.</notes>
12
  <authors><author><name>Iridium Support</name><user>auto-converted</user><email>support@iridiumcorp.co.uk</email></author><author><name>Benjamin Kovac</name><user>auto-converted</user><email>ben.kovac@iridiumcorp.co.uk</email></author></authors>
13
  <date>2010-06-15</date>
14
+ <time>16:08:37</time>
15
+ <contents><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="tpg"><file name="form.phtml" hash="9b2afd627d6e9e4f9ad43b0a7153962b"/><file name="info.phtml" hash="3164afadd87c4811b5f7d0879537f10e"/></dir></dir></dir></dir></dir><dir name="frontend"><dir name="default"><dir name="default"><dir name="template"><dir name="tpg"><file name="form.phtml" hash="231e39bb2821718eeaec4c1d0ee3233d"/><file name="info.phtml" hash="7d72d07f3afa018d0402219e50573439"/></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="default"><dir name="default"><dir name="images"><file name="iridium_corporation.jpg" hash="589faaa1b7e80b32a425175ecfc3b455"/></dir></dir></dir></dir></target><target name="magelocal"><dir name="Iridiumcorp"><dir name="Checkout"><dir name="Block"><dir name="Onepage"><dir name="Payment"><file name="Methods.php" hash="14f3b6021a6ba4af74e2868746e8fc74"/></dir></dir></dir><dir name="etc"><file name="config.xml" hash="aaa95b6e1d6e145940bf9ba9bbe1dc0f"/></dir><dir name="Model"><dir name="Type"><file name="Onepage.php" hash="fd34804edc71d403ab5a132d835d1641"/></dir></dir></dir><dir name="Tpg"><dir name="Block"><file name="Error.php" hash="905367210beb53a0bc68dc6033e24127"/><file name="Form.php" hash="4b1d51aa84982486f3139510c41a221a"/><file name="Info.php" hash="f88445c4880bfe14914252bc76b6fc28"/><file name="Redirect.php" hash="121b7025034eff6316a0205b41ec2a0b"/><file name="Threedsecure.php" hash="43c2c7197a8b25eed6c2cf88d5ee0df4"/></dir><dir name="controllers"><file name="PaymentController.php" hash="227ff227a042263ec51462f51dd92eed"/></dir><dir name="etc"><file name="config.xml" hash="8652c85a0f22713ce36e134a8e98f2d4"/><file name="system.xml" hash="0f05e89acfdacadb82b189ee8933f6e7"/></dir><dir name="Helper"><file name="Data.php" hash="a72fba87e718c94d993a57199e20ca96"/></dir><dir name="Model"><file name="Direct.php" hash="49bbfb032df2af2cfce62a95bc737387"/><file name="Request.php" hash="a96e462ed3c1882048ea45f2c3a6662c"/><dir name="Source"><file name="HashMethod.php" hash="36d7fb4fc762feae459f0e67d51006f4"/><file name="PaymentAction.php" hash="bd8dc40852b9ff8c80c08fc01f35a988"/><file name="PaymentMode.php" hash="6849defade8a7da4cfaeff3227ae5b83"/><file name="ResultDeliveryMethod.php" hash="b79d6fc714a25aba26cdb0ab572ae06f"/></dir><dir name="Tpg"><file name="GlobalErrors.php" hash="06beaf8042e351b95259d0e8e4cb1142"/><file name="ISOCountries.php" hash="fc63d76fbe25458ba351f114782074cb"/><file name="ISOCurrencies.php" hash="89ac1e124e89c0713ef43a0cf6dd0e2b"/><file name="PaymentFormHelper.php" hash="f5c28f79cc818ff8693d4348e475bf36"/><dir name="ThePaymentGateway"><file name="PaymentSystem.php" hash="4ad38bdb85f865e967153d9f253390cd"/><file name="SOAP.php" hash="504dcb0cb7c60c134b25652881349cc3"/><file name="TPG_Common.php" hash="df1033ef855c7e0e715076a105acb84a"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Iridiumcorp_All.xml" hash="cbea3fee7ee3724d21288145b27bbd74"/></dir></target></contents>
16
  <compatible/>
17
  <dependencies/>
18
  </package>