Version Notes
Corrected the name of invoice status xml nodes due to the length limit on these nodes
Download this release
Release Info
Developer | Magento Core Team |
Extension | Iridiumcorp_Tpg |
Version | 1.10.2 |
Comparing to | |
See all releases |
Code changes from version 1.10.1 to 1.10.2
app/code/local/Iridiumcorp/Sales/Model/Order/Payment.php
CHANGED
@@ -67,7 +67,7 @@ class Iridiumcorp_Sales_Model_Order_Payment extends Mage_Sales_Model_Order_Payme
|
|
67 |
else if($order->getIsThreeDSecurePending())
|
68 |
{
|
69 |
$orderState = 'pending_payment';
|
70 |
-
$orderStatus = '
|
71 |
$orderIsNotified = false;
|
72 |
$order->setCustomerNote(Mage::helper('tpg')->__('Pending 3D Secure Authentication.'));
|
73 |
}
|
@@ -75,7 +75,7 @@ class Iridiumcorp_Sales_Model_Order_Payment extends Mage_Sales_Model_Order_Payme
|
|
75 |
{
|
76 |
$order->setState(Mage_Sales_Model_Order::STATE_PENDING_PAYMENT, true)->save();
|
77 |
$orderState = 'pending_payment';
|
78 |
-
$orderStatus = '
|
79 |
$orderIsNotified = false;
|
80 |
$order->setCustomerNote(Mage::helper('tpg')->__('Pending Hosted Payment.'));
|
81 |
}
|
67 |
else if($order->getIsThreeDSecurePending())
|
68 |
{
|
69 |
$orderState = 'pending_payment';
|
70 |
+
$orderStatus = 'irc_pending_threed_secure';
|
71 |
$orderIsNotified = false;
|
72 |
$order->setCustomerNote(Mage::helper('tpg')->__('Pending 3D Secure Authentication.'));
|
73 |
}
|
75 |
{
|
76 |
$order->setState(Mage_Sales_Model_Order::STATE_PENDING_PAYMENT, true)->save();
|
77 |
$orderState = 'pending_payment';
|
78 |
+
$orderStatus = 'irc_pending_hosted_payment';
|
79 |
$orderIsNotified = false;
|
80 |
$order->setCustomerNote(Mage::helper('tpg')->__('Pending Hosted Payment.'));
|
81 |
}
|
app/code/local/Iridiumcorp/Sales/etc/config.xml
CHANGED
@@ -19,21 +19,21 @@
|
|
19 |
<sales>
|
20 |
<order>
|
21 |
<statuses>
|
22 |
-
<
|
23 |
<label>Iridiumcorp - Pending 3D Secure</label>
|
24 |
-
</
|
25 |
-
<
|
26 |
<label>Iridiumcorp - Failed 3D Secure</label>
|
27 |
-
</
|
28 |
-
<
|
29 |
<label>Iridiumcorp - Pending Hosted Payment</label>
|
30 |
-
</
|
31 |
-
<
|
32 |
<label>Iridiumcorp - Pending Hosted Payment</label>
|
33 |
-
</
|
34 |
-
<
|
35 |
<label>Iridiumcorp - Failed Hosted Payment</label>
|
36 |
-
</
|
37 |
</statuses>
|
38 |
</order>
|
39 |
</sales>
|
19 |
<sales>
|
20 |
<order>
|
21 |
<statuses>
|
22 |
+
<irc_pending_threed_secure translate="label">
|
23 |
<label>Iridiumcorp - Pending 3D Secure</label>
|
24 |
+
</irc_pending_threed_secure>
|
25 |
+
<irc_failed_threed_secure translate="label">
|
26 |
<label>Iridiumcorp - Failed 3D Secure</label>
|
27 |
+
</irc_failed_threed_secure>
|
28 |
+
<irc_pending translate="label">
|
29 |
<label>Iridiumcorp - Pending Hosted Payment</label>
|
30 |
+
</irc_pending>
|
31 |
+
<irc_pending_hosted_payment translate="label">
|
32 |
<label>Iridiumcorp - Pending Hosted Payment</label>
|
33 |
+
</irc_pending_hosted_payment>
|
34 |
+
<irc_failed_hosted_payment translate="label">
|
35 |
<label>Iridiumcorp - Failed Hosted Payment</label>
|
36 |
+
</irc_failed_hosted_payment>
|
37 |
</statuses>
|
38 |
</order>
|
39 |
</sales>
|
app/code/local/Iridiumcorp/Tpg/controllers/PaymentController.php
CHANGED
@@ -121,7 +121,7 @@ class Iridiumcorp_Tpg_PaymentController extends Mage_Core_Controller_Front_Actio
|
|
121 |
if($order)
|
122 |
{
|
123 |
$orderState = 'pending_payment';
|
124 |
-
$orderStatus = '
|
125 |
$order->setCustomerNote(Mage::helper('tpg')->__('3D Secure Authentication Failed'));
|
126 |
$order->setState($orderState, $orderStatus, $szPaymentProcessorResponse, false);
|
127 |
$order->save();
|
@@ -234,7 +234,7 @@ class Iridiumcorp_Tpg_PaymentController extends Mage_Core_Controller_Front_Actio
|
|
234 |
if($order)
|
235 |
{
|
236 |
$orderState = 'pending_payment';
|
237 |
-
$orderStatus = '
|
238 |
$order->setCustomerNote(Mage::helper('tpg')->__('Hosted Payment Failed'));
|
239 |
$order->setState($orderState, $orderStatus, $szPaymentProcessorResponse, false);
|
240 |
$order->save();
|
@@ -519,7 +519,7 @@ class Iridiumcorp_Tpg_PaymentController extends Mage_Core_Controller_Front_Actio
|
|
519 |
if($order)
|
520 |
{
|
521 |
$orderState = 'pending_payment';
|
522 |
-
$orderStatus = '
|
523 |
$order->setCustomerNote(Mage::helper('tpg')->__('Transparent Redirect Payment Failed'));
|
524 |
$order->setState($orderState, $orderStatus, $exc->getMessage(), false);
|
525 |
$order->save();
|
@@ -667,7 +667,7 @@ class Iridiumcorp_Tpg_PaymentController extends Mage_Core_Controller_Front_Actio
|
|
667 |
if($order)
|
668 |
{
|
669 |
$orderState = 'pending_payment';
|
670 |
-
$orderStatus = '
|
671 |
$order->setCustomerNote(Mage::helper('tpg')->__('Transparent Redirect Payment Failed'));
|
672 |
$order->setState($orderState, $orderStatus, $szPaymentProcessorResponse, false);
|
673 |
$order->save();
|
121 |
if($order)
|
122 |
{
|
123 |
$orderState = 'pending_payment';
|
124 |
+
$orderStatus = 'irc_failed_threed_secure';
|
125 |
$order->setCustomerNote(Mage::helper('tpg')->__('3D Secure Authentication Failed'));
|
126 |
$order->setState($orderState, $orderStatus, $szPaymentProcessorResponse, false);
|
127 |
$order->save();
|
234 |
if($order)
|
235 |
{
|
236 |
$orderState = 'pending_payment';
|
237 |
+
$orderStatus = 'irc_failed_hosted_payment';
|
238 |
$order->setCustomerNote(Mage::helper('tpg')->__('Hosted Payment Failed'));
|
239 |
$order->setState($orderState, $orderStatus, $szPaymentProcessorResponse, false);
|
240 |
$order->save();
|
519 |
if($order)
|
520 |
{
|
521 |
$orderState = 'pending_payment';
|
522 |
+
$orderStatus = 'irc_failed_hosted_payment';
|
523 |
$order->setCustomerNote(Mage::helper('tpg')->__('Transparent Redirect Payment Failed'));
|
524 |
$order->setState($orderState, $orderStatus, $exc->getMessage(), false);
|
525 |
$order->save();
|
667 |
if($order)
|
668 |
{
|
669 |
$orderState = 'pending_payment';
|
670 |
+
$orderStatus = 'irc_failed_hosted_payment';
|
671 |
$order->setCustomerNote(Mage::helper('tpg')->__('Transparent Redirect Payment Failed'));
|
672 |
$order->setState($orderState, $orderStatus, $szPaymentProcessorResponse, false);
|
673 |
$order->save();
|
package.xml
CHANGED
@@ -1,18 +1,18 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Iridiumcorp_Tpg</name>
|
4 |
-
<version>1.10.
|
5 |
<stability>stable</stability>
|
6 |
<license>OSL v3.0</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>Iridiumcorp Payment Extension</summary>
|
10 |
<description>Fully supports 3D secure transactions. Also supports all of the integration methods provided by Iridium.</description>
|
11 |
-
<notes>
|
12 |
<authors><author><name>iridiumcorp</name><user>auto-converted</user><email>support@iridiumcorp.co.uk</email></author></authors>
|
13 |
<date>2010-10-20</date>
|
14 |
-
<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="a10e1c19ad7bb8718dcb3adf9d3e4de0"/></dir></dir></dir><dir name="etc"><file name="config.xml" hash="aaa95b6e1d6e145940bf9ba9bbe1dc0f"/></dir><dir name="Model"><dir name="Type"><file name="Onepage.php" hash="f57d3807294d61ee997cbdfd6acce34c"/></dir></dir></dir><dir name="Sales"><dir name="etc"><file name="config.xml" hash="
|
16 |
<compatible/>
|
17 |
<dependencies/>
|
18 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Iridiumcorp_Tpg</name>
|
4 |
+
<version>1.10.2</version>
|
5 |
<stability>stable</stability>
|
6 |
<license>OSL v3.0</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>Iridiumcorp Payment Extension</summary>
|
10 |
<description>Fully supports 3D secure transactions. Also supports all of the integration methods provided by Iridium.</description>
|
11 |
+
<notes>Corrected the name of invoice status xml nodes due to the length limit on these nodes</notes>
|
12 |
<authors><author><name>iridiumcorp</name><user>auto-converted</user><email>support@iridiumcorp.co.uk</email></author></authors>
|
13 |
<date>2010-10-20</date>
|
14 |
+
<time>13:35:59</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="a10e1c19ad7bb8718dcb3adf9d3e4de0"/></dir></dir></dir><dir name="etc"><file name="config.xml" hash="aaa95b6e1d6e145940bf9ba9bbe1dc0f"/></dir><dir name="Model"><dir name="Type"><file name="Onepage.php" hash="f57d3807294d61ee997cbdfd6acce34c"/></dir></dir></dir><dir name="Sales"><dir name="etc"><file name="config.xml" hash="91dc7d69dbb2798506eedb2fd64871c9"/></dir><dir name="Model"><file name="Order.php" hash="a57c4bd661dbc322d5bd18aa2f51dd67"/><dir name="Order"><file name="Invoice.php" hash="14bd6c6a2e0b632fa669b937d0b23f78"/><file name="Payment.php" hash="c2883a14f0a2d25c9bad7cd764026378"/></dir><dir name="Service"><file name="Quote.php" hash="bf113cd154e23dd9c8df0946adf9b94f"/></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="a91a8a8f8b5ad887ed2cdd8d52732b8b"/><file name="Threedsecure.php" hash="9cbcf7d598fe4fdb5144aa6496436176"/></dir><dir name="controllers"><file name="PaymentController.php" hash="297816bfb9d498993a489bffc7d6ecb9"/></dir><dir name="etc"><file name="config.xml" hash="3395b3323803ea1c1fdea27f919c08da"/><file name="system.xml" hash="13531b8280be72392ae8abbd47f00adf"/></dir><dir name="Helper"><file name="Data.php" hash="a72fba87e718c94d993a57199e20ca96"/></dir><dir name="Model"><file name="Direct.php" hash="5581007f591f1a6dc9b16716fc12d223"/><file name="Request.php" hash="a96e462ed3c1882048ea45f2c3a6662c"/><dir name="Common"><file name="GlobalErrors.php" hash="a9c7bab60ebfe87967c794194e1e7208"/><file name="ISOCountries.php" hash="fc63d76fbe25458ba351f114782074cb"/><file name="ISOCurrencies.php" hash="89ac1e124e89c0713ef43a0cf6dd0e2b"/><file name="PaymentFormHelper.php" hash="85721dd87049dbd6c4aef2e48453815f"/><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 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></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Iridiumcorp_All.xml" hash="f1a85eaa7631af1906f461b662519732"/></dir></target></contents>
|
16 |
<compatible/>
|
17 |
<dependencies/>
|
18 |
</package>
|