Iridiumcorp_Tpg - Version 1.13.2

Version Notes

Fixed SQL script error in pre 1.5.x.x installations.
Fixed LastException public getter.

Download this release

Release Info

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


Code changes from version 1.13.1 to 1.13.2

app/code/local/Iridiumcorp/Tpg/Model/Common/ThePaymentGateway/SOAP.php CHANGED
@@ -441,7 +441,7 @@
441
  }
442
  public function getLastException()
443
  {
444
- $this->m_eLastException;
445
  }
446
 
447
  public function buildPacket()
441
  }
442
  public function getLastException()
443
  {
444
+ return $this->m_eLastException;
445
  }
446
 
447
  public function buildPacket()
app/code/local/Iridiumcorp/Tpg/sql/tpg_setup/mysql4-install-0.1.0.php CHANGED
@@ -6,21 +6,29 @@ $installer->startSetup();
6
 
7
  Mage::log('iridiumcorp installer script started');
8
 
9
- $installer->run("
10
- DELETE FROM `{$installer->getTable('sales_order_status')}` WHERE (`status`='irc_failed_hosted_payment');
11
- DELETE FROM `{$installer->getTable('sales_order_status')}` WHERE (`status`='irc_failed_threed_secure');
12
- DELETE FROM `{$installer->getTable('sales_order_status')}` WHERE (`status`='irc_paid');
13
- DELETE FROM `{$installer->getTable('sales_order_status')}` WHERE (`status`='irc_pending');
14
- DELETE FROM `{$installer->getTable('sales_order_status')}` WHERE (`status`='irc_pending_hosted_payment');
15
- DELETE FROM `{$installer->getTable('sales_order_status')}` WHERE (`status`='irc_pending_threed_secure');
16
-
17
- INSERT INTO `{$installer->getTable('sales_order_status')}` (`status`, `label`) VALUES ('irc_failed_hosted_payment', 'Iridiumcorp - Failed Payment');
18
- INSERT INTO `{$installer->getTable('sales_order_status')}` (`status`, `label`) VALUES ('irc_failed_threed_secure', 'Iridiumcorp - Failed 3D Secure');
19
- INSERT INTO `{$installer->getTable('sales_order_status')}` (`status`, `label`) VALUES ('irc_paid', 'Iridiumcorp - Successful Payment');
20
- INSERT INTO `{$installer->getTable('sales_order_status')}` (`status`, `label`) VALUES ('irc_pending', 'Iridiumcorp - Pending Hosted Payment');
21
- INSERT INTO `{$installer->getTable('sales_order_status')}` (`status`, `label`) VALUES ('irc_pending_hosted_payment', 'Iridiumcorp - Pending Hosted Payment');
22
- INSERT INTO `{$installer->getTable('sales_order_status')}` (`status`, `label`) VALUES ('irc_pending_threed_secure', 'Iridiumcorp - Pending 3D Secure');
23
- ");
 
 
 
 
 
 
 
 
24
 
25
  Mage::log('iridiumcorp installer script started');
26
 
6
 
7
  Mage::log('iridiumcorp installer script started');
8
 
9
+ try
10
+ {
11
+ // try to run the installation script
12
+ $installer->run("
13
+ DELETE FROM `{$installer->getTable('sales_order_status')}` WHERE (`status`='irc_failed_hosted_payment');
14
+ DELETE FROM `{$installer->getTable('sales_order_status')}` WHERE (`status`='irc_failed_threed_secure');
15
+ DELETE FROM `{$installer->getTable('sales_order_status')}` WHERE (`status`='irc_paid');
16
+ DELETE FROM `{$installer->getTable('sales_order_status')}` WHERE (`status`='irc_pending');
17
+ DELETE FROM `{$installer->getTable('sales_order_status')}` WHERE (`status`='irc_pending_hosted_payment');
18
+ DELETE FROM `{$installer->getTable('sales_order_status')}` WHERE (`status`='irc_pending_threed_secure');
19
+
20
+ INSERT INTO `{$installer->getTable('sales_order_status')}` (`status`, `label`) VALUES ('irc_failed_hosted_payment', 'Iridiumcorp - Failed Payment');
21
+ INSERT INTO `{$installer->getTable('sales_order_status')}` (`status`, `label`) VALUES ('irc_failed_threed_secure', 'Iridiumcorp - Failed 3D Secure');
22
+ INSERT INTO `{$installer->getTable('sales_order_status')}` (`status`, `label`) VALUES ('irc_paid', 'Iridiumcorp - Successful Payment');
23
+ INSERT INTO `{$installer->getTable('sales_order_status')}` (`status`, `label`) VALUES ('irc_pending', 'Iridiumcorp - Pending Hosted Payment');
24
+ INSERT INTO `{$installer->getTable('sales_order_status')}` (`status`, `label`) VALUES ('irc_pending_hosted_payment', 'Iridiumcorp - Pending Hosted Payment');
25
+ INSERT INTO `{$installer->getTable('sales_order_status')}` (`status`, `label`) VALUES ('irc_pending_threed_secure', 'Iridiumcorp - Pending 3D Secure');
26
+ ");
27
+ }
28
+ catch(Exception $exc)
29
+ {
30
+ Mage::log("Error during script installation: ". $exc->__toString());
31
+ }
32
 
33
  Mage::log('iridiumcorp installer script started');
34
 
package.xml CHANGED
@@ -1,18 +1,19 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Iridiumcorp_Tpg</name>
4
- <version>1.13.1</version>
5
  <stability>stable</stability>
6
  <license>OSL v3.0</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Iridiumcorp payment extension compatible with Magento v 1.3, 1.4 and 1.5</summary>
10
  <description>Fully supports 3D secure transactions. Also supports all of the integration methods provided by Iridiumcorp.</description>
11
- <notes>Fixed sql script installation</notes>
12
- <authors><author><name>Iridiumcorp</name><user>auto-converted</user><email>support@iridiumcorp.co.uk</email></author></authors>
13
- <date>2011-06-10</date>
14
- <time>15:16:05</time>
15
- <contents><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 name="base"><dir name="default"><dir name="images"><file name="iridium_corporation.jpg" hash="589faaa1b7e80b32a425175ecfc3b455"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="tpg"><file name="form.phtml" hash="b0838917ecb3a7d1167dd94c10981c9f"/><file name="info.phtml" hash="38bfb7011b9cb1b3f48fa1ed3ea8b1e7"/></dir></dir></dir></dir><dir name="base"><dir name="default"><dir name="template"><dir name="tpg"><file name="form.phtml" hash="8b0d05b93432af9f2ea43bb1796e30de"/><file name="info.phtml" hash="38bfb7011b9cb1b3f48fa1ed3ea8b1e7"/></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="1a31dba428e0952e8827918962805e4b"/><file name="info.phtml" hash="e9011580324f811d71aeb8c0b0f64734"/></dir></dir></dir></dir><dir name="base"><dir name="default"><dir name="template"><dir name="tpg"><file name="form.phtml" hash="67bafa692aaf8f50ea441c239ea9cbdc"/><file name="info.phtml" hash="e9011580324f811d71aeb8c0b0f64734"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Iridiumcorp_All.xml" hash="f1a85eaa7631af1906f461b662519732"/></dir></target><target name="magelocal"><dir name="Iridiumcorp"><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="a91a8a8f8b5ad887ed2cdd8d52732b8b"/><file name="Threedsecure.php" hash="5e753e1e1bbf0ada18f7292d4031da97"/></dir><dir name="controllers"><file name="PaymentController.php" hash="397c199299971205fca325a4607920ac"/></dir><dir name="etc"><file name="config.xml" hash="a22141f14f4b641de6088d0ead20ba49"/><file name="system.xml" hash="95ae76c5feb8dda560bca6a576e36c3c"/></dir><dir name="Helper"><file name="Data.php" hash="a72fba87e718c94d993a57199e20ca96"/></dir><dir name="Model"><dir name="Common"><dir name="ThePaymentGateway"><file name="PaymentSystem.php" hash="4ad38bdb85f865e967153d9f253390cd"/><file name="SOAP.php" hash="504dcb0cb7c60c134b25652881349cc3"/><file name="TPG_Common.php" hash="df1033ef855c7e0e715076a105acb84a"/></dir><file name="GlobalErrors.php" hash="a9c7bab60ebfe87967c794194e1e7208"/><file name="ISOCountries.php" hash="fc63d76fbe25458ba351f114782074cb"/><file name="ISOCurrencies.php" hash="89ac1e124e89c0713ef43a0cf6dd0e2b"/><file name="PaymentFormHelper.php" hash="f75b9bcc9c09bd359a24f8e8b2702a07"/></dir><dir name="Source"><file name="HashMethod.php" hash="36d7fb4fc762feae459f0e67d51006f4"/><file name="OrderStatus.php" hash="95eb926db39d4afeb26784a9396f7b18"/><file name="PaymentAction.php" hash="bd8dc40852b9ff8c80c08fc01f35a988"/><file name="PaymentMode.php" hash="6849defade8a7da4cfaeff3227ae5b83"/><file name="ResultDeliveryMethod.php" hash="05f3806f2ff4bd5b1568bfb1681b2242"/></dir><dir name="Resource"><dir name="Eav"><dir name="Mysql4"><file name="Setup.php" hash="d75ce704c7f0161f0bea4aa780679af8"/></dir></dir></dir><file name="Direct.php" hash="1df0ae084d98406931c2f2f78c80154c"/><file name="Request.php" hash="a96e462ed3c1882048ea45f2c3a6662c"/></dir><dir name="sql"><dir name="tpg_setup"><file name="mysql4-install-0.1.0.php" hash="4221aef289936ed8eee56b012bd4f6e2"/></dir></dir></dir><dir name="Checkout"><dir name="Block"><dir name="Onepage"><dir name="Payment"><file name="Methods.php" hash="47de7ef027476c184a01f6c249a56065"/></dir></dir></dir><dir name="etc"><file name="config.xml" hash="aaa95b6e1d6e145940bf9ba9bbe1dc0f"/></dir><dir name="Model"><dir name="Type"><file name="Onepage.php" hash="8d4eba732d98062a7a326cc2b0102b9b"/></dir></dir></dir><dir name="Sales"><dir name="etc"><file name="config.xml" hash="6e5a6db08b9bbaf959ec31a20ec5ffc2"/></dir><dir name="Model"><dir name="Order"><file name="Invoice.php" hash="1d4318c7b307f40b4a208dcb116fa14b"/><file name="Payment.php" hash="cd56b85013bbae52bb9bfe1984721045"/></dir><dir name="Service"><file name="Quote.php" hash="fbeac3e28f152fe6ee0419620188bab1"/></dir><file name="Order.php" hash="a57c4bd661dbc322d5bd18aa2f51dd67"/></dir></dir></dir></target></contents>
 
16
  <compatible/>
17
  <dependencies/>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Iridiumcorp_Tpg</name>
4
+ <version>1.13.2</version>
5
  <stability>stable</stability>
6
  <license>OSL v3.0</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Iridiumcorp payment extension compatible with Magento v 1.3, 1.4 and 1.5</summary>
10
  <description>Fully supports 3D secure transactions. Also supports all of the integration methods provided by Iridiumcorp.</description>
11
+ <notes>Fixed SQL script error in pre 1.5.x.x installations.
12
+ Fixed LastException public getter.</notes>
13
+ <authors><author><name>Iridiumcorp</name><user>auto-converted</user><email>support@iridiumcorp.net</email></author></authors>
14
+ <date>2011-07-05</date>
15
+ <time>11:06:39</time>
16
+ <contents><target name="magedesign"><dir name="adminhtml"><dir name="base"><dir name="default"><dir name="template"><dir name="tpg"><file name="form.phtml" hash="8b0d05b93432af9f2ea43bb1796e30de"/><file name="info.phtml" hash="38bfb7011b9cb1b3f48fa1ed3ea8b1e7"/></dir></dir></dir></dir><dir name="default"><dir name="default"><dir name="template"><dir name="tpg"><file name="form.phtml" hash="b0838917ecb3a7d1167dd94c10981c9f"/><file name="info.phtml" hash="38bfb7011b9cb1b3f48fa1ed3ea8b1e7"/></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="tpg"><file name="form.phtml" hash="67bafa692aaf8f50ea441c239ea9cbdc"/><file name="info.phtml" hash="e9011580324f811d71aeb8c0b0f64734"/></dir></dir></dir></dir><dir name="default"><dir name="default"><dir name="template"><dir name="tpg"><file name="form.phtml" hash="1a31dba428e0952e8827918962805e4b"/><file name="info.phtml" hash="e9011580324f811d71aeb8c0b0f64734"/></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="images"><file name="iridium_corporation.jpg" hash="589faaa1b7e80b32a425175ecfc3b455"/></dir></dir></dir><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="47de7ef027476c184a01f6c249a56065"/></dir></dir></dir><dir name="etc"><file name="config.xml" hash="aaa95b6e1d6e145940bf9ba9bbe1dc0f"/></dir><dir name="Model"><dir name="Type"><file name="Onepage.php" hash="8d4eba732d98062a7a326cc2b0102b9b"/></dir></dir></dir><dir name="Sales"><dir name="etc"><file name="config.xml" hash="6e5a6db08b9bbaf959ec31a20ec5ffc2"/></dir><dir name="Model"><dir name="Order"><file name="Invoice.php" hash="1d4318c7b307f40b4a208dcb116fa14b"/><file name="Payment.php" hash="cd56b85013bbae52bb9bfe1984721045"/></dir><dir name="Service"><file name="Quote.php" hash="fbeac3e28f152fe6ee0419620188bab1"/></dir><file name="Order.php" hash="a57c4bd661dbc322d5bd18aa2f51dd67"/></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="a91a8a8f8b5ad887ed2cdd8d52732b8b"/><file name="Threedsecure.php" hash="5e753e1e1bbf0ada18f7292d4031da97"/></dir><dir name="controllers"><file name="PaymentController.php" hash="397c199299971205fca325a4607920ac"/></dir><dir name="etc"><file name="config.xml" hash="a22141f14f4b641de6088d0ead20ba49"/><file name="system.xml" hash="95ae76c5feb8dda560bca6a576e36c3c"/></dir><dir name="Helper"><file name="Data.php" hash="a72fba87e718c94d993a57199e20ca96"/></dir><dir name="Model"><dir name="Common"><dir name="ThePaymentGateway"><file name="PaymentSystem.php" hash="4ad38bdb85f865e967153d9f253390cd"/><file name="SOAP.php" hash="8d2f9a556e585a37a0219ae4ad5361ee"/><file name="TPG_Common.php" hash="df1033ef855c7e0e715076a105acb84a"/></dir><file name="GlobalErrors.php" hash="a9c7bab60ebfe87967c794194e1e7208"/><file name="ISOCountries.php" hash="fc63d76fbe25458ba351f114782074cb"/><file name="ISOCurrencies.php" hash="89ac1e124e89c0713ef43a0cf6dd0e2b"/><file name="PaymentFormHelper.php" hash="f75b9bcc9c09bd359a24f8e8b2702a07"/></dir><dir name="Resource"><dir name="Eav"><dir name="Mysql4"><file name="Setup.php" hash="d75ce704c7f0161f0bea4aa780679af8"/></dir></dir></dir><dir name="Source"><file name="HashMethod.php" hash="36d7fb4fc762feae459f0e67d51006f4"/><file name="OrderStatus.php" hash="95eb926db39d4afeb26784a9396f7b18"/><file name="PaymentAction.php" hash="bd8dc40852b9ff8c80c08fc01f35a988"/><file name="PaymentMode.php" hash="6849defade8a7da4cfaeff3227ae5b83"/><file name="ResultDeliveryMethod.php" hash="05f3806f2ff4bd5b1568bfb1681b2242"/></dir><file name="Direct.php" hash="1df0ae084d98406931c2f2f78c80154c"/><file name="Request.php" hash="a96e462ed3c1882048ea45f2c3a6662c"/></dir><dir name="sql"><dir name="tpg_setup"><file name="mysql4-install-0.1.0.php" hash="ef633b313caa213b729fe4b11860795e"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Iridiumcorp_All.xml" hash="f1a85eaa7631af1906f461b662519732"/></dir></target></contents>
17
  <compatible/>
18
  <dependencies/>
19
  </package>