Version Notes
None.
Download this release
Release Info
Developer | Magento Core Team |
Extension | Fontis_EwayAu |
Version | 1.2.1 |
Comparing to | |
See all releases |
Code changes from version 1.2.0 to 1.2.1
app/code/community/Fontis/EwayAu/Model/Direct.php
CHANGED
@@ -65,11 +65,11 @@ class Fontis_EwayAu_Model_Direct extends Mage_Payment_Model_Method_Cc
|
|
65 |
*/
|
66 |
public function getApiGatewayUrl()
|
67 |
{
|
68 |
-
|
69 |
-
|
|
|
70 |
return 'https://www.eway.com.au/gateway/xmlpayment.asp';
|
71 |
}
|
72 |
-
return $value;
|
73 |
}
|
74 |
|
75 |
/**
|
65 |
*/
|
66 |
public function getApiGatewayUrl()
|
67 |
{
|
68 |
+
if(Mage::getStoreConfig('payment/ewayau_direct/test_gateway')) {
|
69 |
+
return 'https://www.eway.com.au/gateway/xmltest/testpage.asp';
|
70 |
+
} else {
|
71 |
return 'https://www.eway.com.au/gateway/xmlpayment.asp';
|
72 |
}
|
|
|
73 |
}
|
74 |
|
75 |
/**
|
app/code/community/Fontis/EwayAu/Model/Shared.php
CHANGED
@@ -136,8 +136,9 @@ class Fontis_EwayAu_Model_Shared extends Mage_Payment_Model_Method_Abstract
|
|
136 |
$fieldsArr['ewayCustomerInvoiceDescription'] = $invoiceDesc;
|
137 |
$fieldsArr['ewaySiteTitle'] = Mage::app()->getStore()->getName();
|
138 |
$fieldsArr['ewayAutoRedirect'] = 1;
|
139 |
-
$fieldsArr['ewayURL'] = Mage::getUrl('
|
140 |
$fieldsArr['ewayCustomerInvoiceRef'] = $paymentInfo->getOrder()->getRealOrderId();
|
|
|
141 |
$fieldsArr['ewayOption1'] = '';
|
142 |
$fieldsArr['ewayOption2'] = Mage::helper('core')->encrypt($paymentInfo->getOrder()->getRealOrderId());
|
143 |
$fieldsArr['ewayOption3'] = '';
|
136 |
$fieldsArr['ewayCustomerInvoiceDescription'] = $invoiceDesc;
|
137 |
$fieldsArr['ewaySiteTitle'] = Mage::app()->getStore()->getName();
|
138 |
$fieldsArr['ewayAutoRedirect'] = 1;
|
139 |
+
$fieldsArr['ewayURL'] = Mage::getUrl('ewayau/' . $this->_paymentMethod . '/success', array('_secure' => true));
|
140 |
$fieldsArr['ewayCustomerInvoiceRef'] = $paymentInfo->getOrder()->getRealOrderId();
|
141 |
+
$fieldsArr['ewayTrxnNumber'] = $paymentInfo->getOrder()->getRealOrderId();
|
142 |
$fieldsArr['ewayOption1'] = '';
|
143 |
$fieldsArr['ewayOption2'] = Mage::helper('core')->encrypt($paymentInfo->getOrder()->getRealOrderId());
|
144 |
$fieldsArr['ewayOption3'] = '';
|
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>
|
@@ -139,6 +139,7 @@
|
|
139 |
<order_status>processing</order_status>
|
140 |
<cctypes>AE,VI,MC,DICL,JCB</cctypes>
|
141 |
<allowspecific>0</allowspecific>
|
|
|
142 |
</ewayau_direct>
|
143 |
<ewayau_shared>
|
144 |
<customer_id backend_model="adminhtml/system_config_backend_encrypted"/>
|
24 |
<config>
|
25 |
<modules>
|
26 |
<Fontis_EwayAu>
|
27 |
+
<version>1.2.1</version>
|
28 |
</Fontis_EwayAu>
|
29 |
</modules>
|
30 |
<global>
|
139 |
<order_status>processing</order_status>
|
140 |
<cctypes>AE,VI,MC,DICL,JCB</cctypes>
|
141 |
<allowspecific>0</allowspecific>
|
142 |
+
<test_gateway>0</test_gateway>
|
143 |
</ewayau_direct>
|
144 |
<ewayau_shared>
|
145 |
<customer_id backend_model="adminhtml/system_config_backend_encrypted"/>
|
app/code/community/Fontis/EwayAu/etc/system.xml
CHANGED
@@ -94,6 +94,15 @@
|
|
94 |
<show_in_website>1</show_in_website>
|
95 |
<show_in_store>0</show_in_store>
|
96 |
</debug_flag>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
97 |
<order_status translate="label">
|
98 |
<label>New order status</label>
|
99 |
<frontend_type>select</frontend_type>
|
94 |
<show_in_website>1</show_in_website>
|
95 |
<show_in_store>0</show_in_store>
|
96 |
</debug_flag>
|
97 |
+
<test_gateway translate="label">
|
98 |
+
<label>Use test gateway</label>
|
99 |
+
<frontend_type>select</frontend_type>
|
100 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
101 |
+
<sort_order>71</sort_order>
|
102 |
+
<show_in_default>1</show_in_default>
|
103 |
+
<show_in_website>1</show_in_website>
|
104 |
+
<show_in_store>0</show_in_store>
|
105 |
+
</test_gateway>
|
106 |
<order_status translate="label">
|
107 |
<label>New order status</label>
|
108 |
<frontend_type>select</frontend_type>
|
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>
|
@@ -10,9 +10,9 @@
|
|
10 |
<description>Adds support for eWAY Australia 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>2010-08-
|
14 |
-
<time>
|
15 |
-
<contents><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="fontis"><dir name="ewayau"><dir name="pdf"><file name="info.phtml" hash="4af2178c2597fb9645442a3e25aaec0d"/></dir><file name="form.phtml" hash="560fb4bde178d6071edb58ca8da7be61"/><file name="info.phtml" hash="70998eb775ca3db6848e71e44f9e3ccf"/></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="fontis_ewayau.xml" hash="172b8e1cf5eb3c5fb76bee136c2532d3"/></dir><dir name="template"><dir name="fontis"><dir name="ewayau"><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><file name="form.phtml" hash="eacb3d88b9b23a153564938b5433ab30"/><file name="info.phtml" hash="62a92278d0b6f8428ce98bf7462b92d8"/></dir></dir></dir></dir></dir></dir></target><target name="magelocale"><dir name="en_US"><file name="Fontis_EwayAu.csv" hash="608ddd72f698ac44afa8f3a0fc64d5e4"/></dir></target><target name="magecommunity"><dir name="Fontis"><dir name="EwayAu"><dir name="Block"><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><file name="Form.php" hash="133c34887c1fd3fde5f292da3fec0075"/><file name="Info.php" hash="921f99f190b16cd954ff8e50f2ec2abc"/></dir><dir name="Controller"><file name="Abstract.php" hash="4c336733fb941594eab00ae00bca7487"/></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="
|
16 |
<compatible/>
|
17 |
<dependencies/>
|
18 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Fontis_EwayAu</name>
|
4 |
+
<version>1.2.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 Australia 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>2010-08-12</date>
|
14 |
+
<time>04:39:07</time>
|
15 |
+
<contents><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="fontis"><dir name="ewayau"><dir name="pdf"><file name="info.phtml" hash="4af2178c2597fb9645442a3e25aaec0d"/></dir><file name="form.phtml" hash="560fb4bde178d6071edb58ca8da7be61"/><file name="info.phtml" hash="70998eb775ca3db6848e71e44f9e3ccf"/></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="fontis_ewayau.xml" hash="172b8e1cf5eb3c5fb76bee136c2532d3"/></dir><dir name="template"><dir name="fontis"><dir name="ewayau"><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><file name="form.phtml" hash="eacb3d88b9b23a153564938b5433ab30"/><file name="info.phtml" hash="62a92278d0b6f8428ce98bf7462b92d8"/></dir></dir></dir></dir></dir></dir></target><target name="magelocale"><dir name="en_US"><file name="Fontis_EwayAu.csv" hash="608ddd72f698ac44afa8f3a0fc64d5e4"/></dir></target><target name="magecommunity"><dir name="Fontis"><dir name="EwayAu"><dir name="Block"><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><file name="Form.php" hash="133c34887c1fd3fde5f292da3fec0075"/><file name="Info.php" hash="921f99f190b16cd954ff8e50f2ec2abc"/></dir><dir name="Controller"><file name="Abstract.php" hash="4c336733fb941594eab00ae00bca7487"/></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="0179635a0dd3bfdc695597133669e2c4"/><file name="system.xml" hash="3bf6c1caff740b880c24c9363b574d76"/></dir><dir name="Helper"><file name="Data.php" hash="6ff5a560ca051ac3deb6ea9131932ced"/></dir><dir name="Model"><dir name="Api"><file name="Debug.php" hash="143fc4b1591c973dc419958445dc225a"/></dir><dir name="Mysql4"><dir name="Api"><dir name="Debug"><file name="Collection.php" hash="59e4d78d2af03c3f3d92bd7bcf0b753a"/></dir><file name="Debug.php" hash="cff6b00cbcbe47917c6f1956765b5795"/></dir><file name="Setup.php" hash="08053b999f75fecfd3e27db40a60f29b"/></dir><dir name="Source"><file name="Cctype.php" hash="0b9e6f233db3e53312e148d3916cfdc8"/></dir><file name="Direct.php" hash="564829ff298161d930e7b3d0de326ecc"/><file name="Secure.php" hash="b14c8e1826f7b4b9134e75b8586260b0"/><file name="Shared.php" hash="76e4ccf14b7613a98e15cf1cf9a567c8"/></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></contents>
|
16 |
<compatible/>
|
17 |
<dependencies/>
|
18 |
</package>
|