Version Notes
Fixed backwards compatibility issues.
Download this release
Release Info
Developer | iPay International S.A. |
Extension | myPOS_Virtual |
Version | 1.0.4 |
Comparing to | |
See all releases |
Code changes from version 1.0.3 to 1.0.4
app/code/community/Mypos/Virtual/Helper/Data.php
CHANGED
@@ -12,7 +12,7 @@ class Mypos_Virtual_Helper_Data extends Mage_Core_Helper_Abstract
|
|
12 |
|
13 |
public function __construct()
|
14 |
{
|
15 |
-
$this->isTest =
|
16 |
$this->ipcVersion = '1.0';
|
17 |
|
18 |
if ($this->isTest)
|
@@ -24,7 +24,7 @@ class Mypos_Virtual_Helper_Data extends Mage_Core_Helper_Abstract
|
|
24 |
$this->formUrl = Mage::getStoreConfig('payment/mypos_virtual/developer_url');
|
25 |
$this->privateKey = Mage::getStoreConfig('payment/mypos_virtual/developer_store_private_key');
|
26 |
$this->publicKey = Mage::getStoreConfig('payment/mypos_virtual/developer_ipc_public_certificate');
|
27 |
-
$this->keyindex
|
28 |
}
|
29 |
else
|
30 |
{
|
@@ -35,7 +35,7 @@ class Mypos_Virtual_Helper_Data extends Mage_Core_Helper_Abstract
|
|
35 |
$this->formUrl = Mage::getStoreConfig('payment/mypos_virtual/production_url');
|
36 |
$this->privateKey = Mage::getStoreConfig('payment/mypos_virtual/production_store_private_key');
|
37 |
$this->publicKey = Mage::getStoreConfig('payment/mypos_virtual/production_ipc_public_certificate');
|
38 |
-
$this->keyindex
|
39 |
}
|
40 |
}
|
41 |
|
@@ -92,6 +92,7 @@ class Mypos_Virtual_Helper_Data extends Mage_Core_Helper_Abstract
|
|
92 |
$post['CartItems'] = $_order->getTotalItemCount();
|
93 |
|
94 |
$index = 1;
|
|
|
95 |
/**
|
96 |
* @var Mage_Sales_Model_Order_Item $item
|
97 |
*/
|
@@ -203,6 +204,9 @@ class Mypos_Virtual_Helper_Data extends Mage_Core_Helper_Abstract
|
|
203 |
|
204 |
$post = array();
|
205 |
|
|
|
|
|
|
|
206 |
foreach ($xml->children() as $child)
|
207 |
{
|
208 |
$post[$child->getName()] = (string) $child;
|
12 |
|
13 |
public function __construct()
|
14 |
{
|
15 |
+
$this->isTest = (bool) Mage::getStoreConfig('payment/mypos_virtual/test');
|
16 |
$this->ipcVersion = '1.0';
|
17 |
|
18 |
if ($this->isTest)
|
24 |
$this->formUrl = Mage::getStoreConfig('payment/mypos_virtual/developer_url');
|
25 |
$this->privateKey = Mage::getStoreConfig('payment/mypos_virtual/developer_store_private_key');
|
26 |
$this->publicKey = Mage::getStoreConfig('payment/mypos_virtual/developer_ipc_public_certificate');
|
27 |
+
$this->keyindex = Mage::getStoreConfig('payment/mypos_virtual/developer_keyindex');
|
28 |
}
|
29 |
else
|
30 |
{
|
35 |
$this->formUrl = Mage::getStoreConfig('payment/mypos_virtual/production_url');
|
36 |
$this->privateKey = Mage::getStoreConfig('payment/mypos_virtual/production_store_private_key');
|
37 |
$this->publicKey = Mage::getStoreConfig('payment/mypos_virtual/production_ipc_public_certificate');
|
38 |
+
$this->keyindex = Mage::getStoreConfig('payment/mypos_virtual/production_keyindex');
|
39 |
}
|
40 |
}
|
41 |
|
92 |
$post['CartItems'] = $_order->getTotalItemCount();
|
93 |
|
94 |
$index = 1;
|
95 |
+
|
96 |
/**
|
97 |
* @var Mage_Sales_Model_Order_Item $item
|
98 |
*/
|
204 |
|
205 |
$post = array();
|
206 |
|
207 |
+
/**
|
208 |
+
* @var \SimpleXMLElement $child
|
209 |
+
*/
|
210 |
foreach ($xml->children() as $child)
|
211 |
{
|
212 |
$post[$child->getName()] = (string) $child;
|
app/etc/modules/Mypos_Virtual.xml
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<config>
|
3 |
+
<modules>
|
4 |
+
<Mypos_Virtual>
|
5 |
+
<active>true</active>
|
6 |
+
<codePool>community</codePool>
|
7 |
+
</Mypos_Virtual>
|
8 |
+
</modules>
|
9 |
+
</config>
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
-
<name>
|
4 |
-
<version>1.0.
|
5 |
<stability>stable</stability>
|
6 |
<license>GNU General Public License (GPL)</license>
|
7 |
<channel>community</channel>
|
@@ -10,12 +10,11 @@
|
|
10 |
<description>myPOS Virtual is an extension especially designed for European-based merchants who need a simple and secure complete checkout solution. Start accepting credit and debit card payments at your online store in few easy steps.
|
11 |

|
12 |
By using myPOS Virtual you enjoy a checkout extension backed-up by a comprehensive free merchant account with multiple currencies and an IBAN in Luxembourg.</description>
|
13 |
-
<notes>Fixed
|
14 |
-
Changed fields info text in the administration.</notes>
|
15 |
<authors><author><name>iPay International S.A.</name><user>ipay_developer</user><email>mvp@ipay.eu</email></author></authors>
|
16 |
-
<date>2016-
|
17 |
-
<time>
|
18 |
-
<contents><target name="magecommunity"><dir name="Mypos"><dir name="Virtual"><dir name="Helper"><file name="Data.php" hash="
|
19 |
<compatible/>
|
20 |
-
<dependencies><required><php><min>5.
|
21 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
+
<name>mypos_virtual</name>
|
4 |
+
<version>1.0.4</version>
|
5 |
<stability>stable</stability>
|
6 |
<license>GNU General Public License (GPL)</license>
|
7 |
<channel>community</channel>
|
10 |
<description>myPOS Virtual is an extension especially designed for European-based merchants who need a simple and secure complete checkout solution. Start accepting credit and debit card payments at your online store in few easy steps.
|
11 |

|
12 |
By using myPOS Virtual you enjoy a checkout extension backed-up by a comprehensive free merchant account with multiple currencies and an IBAN in Luxembourg.</description>
|
13 |
+
<notes>Fixed backwards compatibility issues.</notes>
|
|
|
14 |
<authors><author><name>iPay International S.A.</name><user>ipay_developer</user><email>mvp@ipay.eu</email></author></authors>
|
15 |
+
<date>2016-11-28</date>
|
16 |
+
<time>11:27:34</time>
|
17 |
+
<contents><target name="magecommunity"><dir name="Mypos"><dir name="Virtual"><dir name="Helper"><file name="Data.php" hash="64a3fbb38d56020b2d74ca187f9ff19e"/></dir><dir name="Model"><file name="Standard.php" hash="9c304393adbff742cbfec7af6a37bea7"/></dir><dir name="controllers"><file name="PaymentController.php" hash="725bd38de841efc89f205af4615d3349"/></dir><dir name="etc"><file name="config.xml" hash="51643300f013179eac57d538544420c1"/><file name="system.xml" hash="3458b199bca9db609bc90231a53c7614"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="mypos_virtual"><file name="redirect.phtml" hash="32904da0aa80adf0e0bc8b9c03c4f89e"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Mypos_Virtual.xml" hash="5c659a5b593e77f6e396d7cb6c04a202"/></dir></target></contents>
|
18 |
<compatible/>
|
19 |
+
<dependencies><required><php><min>5.4.8</min><max>7.9.9</max></php></required></dependencies>
|
20 |
</package>
|