Version Notes
None
Download this release
Release Info
Developer | Magento Core Team |
Extension | Fontis_EwayNz |
Version | 1.0.1 |
Comparing to | |
See all releases |
Code changes from version 1.0.0 to 1.0.1
app/code/community/Fontis/EwayNz/Model/Shared.php
CHANGED
@@ -170,7 +170,7 @@ class Fontis_EwayNz_Model_Shared extends Mage_Payment_Model_Method_Abstract
|
|
170 |
if ($item->getParentItem()) {
|
171 |
continue;
|
172 |
}
|
173 |
-
if (Mage::helper('core/string')->strlen($invoiceDesc
|
174 |
break;
|
175 |
}
|
176 |
$invoiceDesc .= $item->getName() . ', ';
|
@@ -195,7 +195,7 @@ class Fontis_EwayNz_Model_Shared extends Mage_Payment_Model_Method_Abstract
|
|
195 |
$fields['CustomerCountry'] = $billing->getCountryId();
|
196 |
$fields['CustomerEmail'] = $this->getOrder()->getCustomerEmail();
|
197 |
$fields['CustomerPhone'] = $billing->getTelephone();
|
198 |
-
$fields['InvoiceDescription'] = $invoiceDesc;
|
199 |
$fields['MerchantReference'] = $this->getOrder()->getRealOrderId();
|
200 |
$fields['MerchantOption1'] = '';
|
201 |
$fields['MerchantOption2'] = Mage::helper('core')->encrypt($fields['MerchantReference']);
|
170 |
if ($item->getParentItem()) {
|
171 |
continue;
|
172 |
}
|
173 |
+
if (Mage::helper('core/string')->strlen($invoiceDesc . $item->getName()) > 10000) {
|
174 |
break;
|
175 |
}
|
176 |
$invoiceDesc .= $item->getName() . ', ';
|
195 |
$fields['CustomerCountry'] = $billing->getCountryId();
|
196 |
$fields['CustomerEmail'] = $this->getOrder()->getCustomerEmail();
|
197 |
$fields['CustomerPhone'] = $billing->getTelephone();
|
198 |
+
$fields['InvoiceDescription'] = htmlspecialchars($invoiceDesc);
|
199 |
$fields['MerchantReference'] = $this->getOrder()->getRealOrderId();
|
200 |
$fields['MerchantOption1'] = '';
|
201 |
$fields['MerchantOption2'] = Mage::helper('core')->encrypt($fields['MerchantReference']);
|
app/code/community/Fontis/EwayNz/etc/config.xml
CHANGED
@@ -22,7 +22,7 @@
|
|
22 |
<config>
|
23 |
<modules>
|
24 |
<Fontis_EwayNz>
|
25 |
-
<version>1.0.
|
26 |
</Fontis_EwayNz>
|
27 |
</modules>
|
28 |
<global>
|
22 |
<config>
|
23 |
<modules>
|
24 |
<Fontis_EwayNz>
|
25 |
+
<version>1.0.1</version>
|
26 |
</Fontis_EwayNz>
|
27 |
</modules>
|
28 |
<global>
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Fontis_EwayNz</name>
|
4 |
-
<version>1.0.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL 3.0)</license>
|
7 |
<channel>community</channel>
|
@@ -10,9 +10,9 @@
|
|
10 |
<description>Adds support for eWAY NZ payment gateway.</description>
|
11 |
<notes>None</notes>
|
12 |
<authors><author><name>Fontis</name><user>auto-converted</user><email>magento@fontis.com.au</email></author></authors>
|
13 |
-
<date>
|
14 |
-
<time>
|
15 |
-
<contents><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="fontis"><dir name="ewaynz"><dir name="pdf"><file name="info.phtml" hash="6c686381cf6e767e8a0bc6fe65cf3d1b"/></dir><file name="form.phtml" hash="6e455589f3a6ae962e993b807a9b4ff8"/><file name="info.phtml" hash="a419c9a0f39e2a5d03a2903ecddf01ed"/></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="fontis_ewaynz.xml" hash="41dba7a6cdeff37cccf969df632d9e49"/></dir><dir name="template"><dir name="fontis"><dir name="ewaynz"><file name="failure.phtml" hash="ac3e6a5944273dd8ebab6218d809c3dd"/><file name="form.phtml" hash="883196b1cd9bae4c5ab61dfcefe7bc74"/></dir></dir></dir></dir></dir></dir></target><target name="magelocale"><dir name="en_US"><file name="Fontis_EwayNz.csv" hash="471fa1b3d501250167b7cad3d4d42e01"/></dir></target><target name="magecommunity"><dir name="Fontis"><dir name="EwayNz"><dir name="Block"><file name="Failure.php" hash="03de6c5318487215936d328e54be6173"/><file name="Form.php" hash="2a2d8116c88c2ea8b0c5cbc0715ea64a"/></dir><dir name="controllers"><file name="SharedController.php" hash="31b6c5293d16f511324932339850c943"/></dir><dir name="etc"><file name="config.xml" hash="
|
16 |
<compatible/>
|
17 |
<dependencies/>
|
18 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Fontis_EwayNz</name>
|
4 |
+
<version>1.0.1</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL 3.0)</license>
|
7 |
<channel>community</channel>
|
10 |
<description>Adds support for eWAY NZ payment gateway.</description>
|
11 |
<notes>None</notes>
|
12 |
<authors><author><name>Fontis</name><user>auto-converted</user><email>magento@fontis.com.au</email></author></authors>
|
13 |
+
<date>2012-02-10</date>
|
14 |
+
<time>06:06:16</time>
|
15 |
+
<contents><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="fontis"><dir name="ewaynz"><dir name="pdf"><file name="info.phtml" hash="6c686381cf6e767e8a0bc6fe65cf3d1b"/></dir><file name="form.phtml" hash="6e455589f3a6ae962e993b807a9b4ff8"/><file name="info.phtml" hash="a419c9a0f39e2a5d03a2903ecddf01ed"/></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="fontis_ewaynz.xml" hash="41dba7a6cdeff37cccf969df632d9e49"/></dir><dir name="template"><dir name="fontis"><dir name="ewaynz"><file name="failure.phtml" hash="ac3e6a5944273dd8ebab6218d809c3dd"/><file name="form.phtml" hash="883196b1cd9bae4c5ab61dfcefe7bc74"/></dir></dir></dir></dir></dir></dir></target><target name="magelocale"><dir name="en_US"><file name="Fontis_EwayNz.csv" hash="471fa1b3d501250167b7cad3d4d42e01"/></dir></target><target name="magecommunity"><dir name="Fontis"><dir name="EwayNz"><dir name="Block"><file name="Failure.php" hash="03de6c5318487215936d328e54be6173"/><file name="Form.php" hash="2a2d8116c88c2ea8b0c5cbc0715ea64a"/></dir><dir name="controllers"><file name="SharedController.php" hash="31b6c5293d16f511324932339850c943"/></dir><dir name="etc"><file name="config.xml" hash="470f328c94888671843765fd32da9c2e"/><file name="system.xml" hash="6aa5bb497317f40a7d2f5aa456562122"/></dir><dir name="Helper"><file name="Data.php" hash="727b808c73c20ae97d162c892ac336c2"/></dir><dir name="Model"><dir name="Source"><file name="Cctype.php" hash="d38f391955687d43782d02a69a086095"/></dir><file name="Shared.php" hash="655930340094cc42612ea2f832a67727"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Fontis_EwayNz.xml" hash="9e790c0d5d066e561e0d9efe7d937ff7"/></dir></target></contents>
|
16 |
<compatible/>
|
17 |
<dependencies/>
|
18 |
</package>
|