Version Notes
None.
Download this release
Release Info
Developer | Fontis |
Extension | Fontis_EwayAu |
Version | 1.2.5 |
Comparing to | |
See all releases |
Code changes from version 1.2.4 to 1.2.5
app/code/community/Fontis/EwayAu/Model/Direct.php
CHANGED
@@ -58,7 +58,11 @@ class Fontis_EwayAu_Model_Direct extends Mage_Payment_Model_Method_Cc
|
|
58 |
if(Mage::getStoreConfig('payment/ewayau_direct/test_gateway')) {
|
59 |
return 'https://www.eway.com.au/gateway/xmltest/testpage.asp';
|
60 |
} else {
|
61 |
-
|
|
|
|
|
|
|
|
|
62 |
}
|
63 |
}
|
64 |
|
@@ -209,7 +213,7 @@ class Fontis_EwayAu_Model_Direct extends Mage_Payment_Model_Method_Cc
|
|
209 |
$xml->addChild('ewayCustomerEmail', str_replace('&', '&', trim($payment->getOrder()->getCustomerEmail() ) ) );
|
210 |
$xml->addChild('ewayCustomerAddress', str_replace('&', '&', trim($formatedAddress) ) );
|
211 |
$xml->addChild('ewayCustomerPostcode', str_replace('&', '&', trim($billing->getPostcode()) ) );
|
212 |
-
$xml->addChild('ewayCustomerInvoiceRef',
|
213 |
|
214 |
if ($this->getUseccv()) {
|
215 |
$xml->addChild('ewayCVN', $payment->getCcCid() );
|
58 |
if(Mage::getStoreConfig('payment/ewayau_direct/test_gateway')) {
|
59 |
return 'https://www.eway.com.au/gateway/xmltest/testpage.asp';
|
60 |
} else {
|
61 |
+
if($this->getUseccv()) {
|
62 |
+
return 'https://www.eway.com.au/gateway_cvn/xmlpayment.asp';
|
63 |
+
} else {
|
64 |
+
return 'https://www.eway.com.au/gateway/xmlpayment.asp';
|
65 |
+
}
|
66 |
}
|
67 |
}
|
68 |
|
213 |
$xml->addChild('ewayCustomerEmail', str_replace('&', '&', trim($payment->getOrder()->getCustomerEmail() ) ) );
|
214 |
$xml->addChild('ewayCustomerAddress', str_replace('&', '&', trim($formatedAddress) ) );
|
215 |
$xml->addChild('ewayCustomerPostcode', str_replace('&', '&', trim($billing->getPostcode()) ) );
|
216 |
+
$xml->addChild('ewayCustomerInvoiceRef', $payment->getOrder()->getRealOrderId());
|
217 |
|
218 |
if ($this->getUseccv()) {
|
219 |
$xml->addChild('ewayCVN', $payment->getCcCid() );
|
app/code/community/Fontis/EwayAu/etc/config.xml
CHANGED
@@ -24,7 +24,7 @@
|
|
24 |
<config>
|
25 |
<modules>
|
26 |
<Fontis_EwayAu>
|
27 |
-
<version>1.2.
|
28 |
</Fontis_EwayAu>
|
29 |
</modules>
|
30 |
<global>
|
24 |
<config>
|
25 |
<modules>
|
26 |
<Fontis_EwayAu>
|
27 |
+
<version>1.2.5</version>
|
28 |
</Fontis_EwayAu>
|
29 |
</modules>
|
30 |
<global>
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Fontis_EwayAu</name>
|
4 |
-
<version>1.2.
|
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>
|
@@ -9,10 +9,10 @@
|
|
9 |
<summary>Adds support for eWAY Australia payment gateway.</summary>
|
10 |
<description>Adds support for eWAY Australia payment gateway.</description>
|
11 |
<notes>None.</notes>
|
12 |
-
<authors><author><name>Fontis</name><user>
|
13 |
-
<date>
|
14 |
-
<time>
|
15 |
-
<contents><target name="
|
16 |
<compatible/>
|
17 |
-
<dependencies
|
18 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Fontis_EwayAu</name>
|
4 |
+
<version>1.2.5</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>
|
9 |
<summary>Adds support for eWAY Australia payment gateway.</summary>
|
10 |
<description>Adds support for eWAY Australia payment gateway.</description>
|
11 |
<notes>None.</notes>
|
12 |
+
<authors><author><name>Fontis</name><user>fontis</user><email>magento@fontis.com.au</email></author></authors>
|
13 |
+
<date>2012-02-23</date>
|
14 |
+
<time>15:20:49</time>
|
15 |
+
<contents><target name="magecommunity"><dir name="Fontis"><dir name="EwayAu"><dir name="Block"><file name="Form.php" hash="133c34887c1fd3fde5f292da3fec0075"/><file name="Info.php" hash="921f99f190b16cd954ff8e50f2ec2abc"/><dir name="Secure"><file name="Failure.php" hash="81239ec03651c413019b74728015fdef"/><file name="Form.php" hash="03c69b7ae6b2de88c0e5614a8964b0e9"/><file name="Redirect.php" hash="cbf5d2ad7be4ca20c29f56bd4da5190f"/></dir><dir name="Shared"><file name="Failure.php" hash="90206554eee87c71a5efe4b00c14b1f8"/><file name="Form.php" hash="02b4b632a9063a71a9171575a368754f"/><file name="Redirect.php" hash="953202851c147cee5d5934d322588bd3"/></dir></dir><dir name="Controller"><file name="Abstract.php" hash="4c336733fb941594eab00ae00bca7487"/></dir><dir name="Helper"><file name="Data.php" hash="6ff5a560ca051ac3deb6ea9131932ced"/></dir><dir name="Model"><file name="Direct.php" hash="56e001a7b94d1f8728d77f8d7f408558"/><file name="Secure.php" hash="b14c8e1826f7b4b9134e75b8586260b0"/><file name="Shared.php" hash="928038070df5f17e1b9e0e5729925b61"/><dir name="Source"><file name="Cctype.php" hash="0b9e6f233db3e53312e148d3916cfdc8"/></dir></dir><dir name="controllers"><file name="SecureController.php" hash="ea61b5af1e0cbb6216443feabe6c156d"/><file name="SharedController.php" hash="2ad74a3707d4fef5b35493bf5f3f439b"/></dir><dir name="etc"><file name="config.xml" hash="a79c064474f8afffdbe8f8335c6e61b6"/><file name="system.xml" hash="30e1c5da0b0ca105c4a7a6f4fb7e21ac"/></dir><dir name="sql"><dir name="eway_setup"><file name="mysql4-install-0.1.0.php" hash="dde471943fc7320ab041f3e4f321aa8a"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Fontis_EwayAu.xml" hash="484ebceaa067cdfa240eeda9f675256d"/></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="fontis"><dir name="ewayau"><file name="form.phtml" hash="560fb4bde178d6071edb58ca8da7be61"/><file name="info.phtml" hash="70998eb775ca3db6848e71e44f9e3ccf"/><dir><dir name="pdf"><file name="info.phtml" hash="4af2178c2597fb9645442a3e25aaec0d"/></dir></dir></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="default"><dir name="default"><dir name="template"><dir name="fontis"><dir name="ewayau"><file name="form.phtml" hash="eacb3d88b9b23a153564938b5433ab30"/><file name="info.phtml" hash="62a92278d0b6f8428ce98bf7462b92d8"/><dir><dir name="secure"><file name="failure.phtml" hash="16b3993f65964ef354fa56b929fde8ff"/><file name="form.phtml" hash="4f7e50698632a9e851b5504d7a5293ab"/></dir><dir name="shared"><file name="failure.phtml" hash="16b3993f65964ef354fa56b929fde8ff"/><file name="form.phtml" hash="1edf93ecf67b311794a66436ec7fa405"/></dir></dir></dir></dir></dir><dir name="layout"><file name="fontis_ewayau.xml" hash="172b8e1cf5eb3c5fb76bee136c2532d3"/></dir></dir></dir></dir></target><target name="magelocale"><dir name="en_US"><file name="Fontis_EwayAu.csv" hash="608ddd72f698ac44afa8f3a0fc64d5e4"/></dir></target></contents>
|
16 |
<compatible/>
|
17 |
+
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
18 |
</package>
|