Version Notes
[EN] - re-orders and trasactions is now avaiable
[PT] - novas funcionalidades : re-order e registo de transações
Download this release
Release Info
Developer | Eupago |
Extension | Eupago_MB |
Version | 1.1.4 |
Comparing to | |
See all releases |
Code changes from version 1.1.3 to 1.1.4
app/code/community/Eupago/Multibanco/Block/Info/Multibanco.php
CHANGED
@@ -21,11 +21,12 @@ class Eupago_Multibanco_Block_Info_Multibanco extends Mage_Payment_Block_Info
|
|
21 |
|
22 |
public function getMultibancoData(){
|
23 |
$info = $this->getData('info');
|
|
|
24 |
$multibanco_data = (Object)$info['additional_information'];
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
}
|
30 |
|
31 |
public function getMethod()
|
21 |
|
22 |
public function getMultibancoData(){
|
23 |
$info = $this->getData('info');
|
24 |
+
|
25 |
$multibanco_data = (Object)$info['additional_information'];
|
26 |
+
if(!isset($multibanco_data->referencia))
|
27 |
+
$multibanco_data = (Object)array("entidade" => $info['eupago_entidade'], "referencia" => str_pad($info['eupago_referencia'], 9, "0", STR_PAD_LEFT), "valor"=> $info['eupago_montante']);
|
28 |
+
|
29 |
+
return $multibanco_data;
|
30 |
}
|
31 |
|
32 |
public function getMethod()
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Eupago_MB</name>
|
4 |
-
<version>1.1.
|
5 |
<stability>stable</stability>
|
6 |
<license>GNU General Public License (GPL)</license>
|
7 |
<channel>community</channel>
|
@@ -12,8 +12,8 @@
|
|
12 |
[PT] - novas funcionalidades : re-order e registo de transações</notes>
|
13 |
<authors><author><name>Eupago</name><user>eupago</user><email>suporte@eupago.pt</email></author></authors>
|
14 |
<date>2016-12-05</date>
|
15 |
-
<time>
|
16 |
-
<contents><target name="magecommunity"><dir name="Eupago"><dir name="Multibanco"><dir name="Block"><dir name="Form"><file name="Multibanco.php" hash="a526f756cd407a159a5438efefa0d66f"/></dir><dir name="Info"><file name="Multibanco.php" hash="
|
17 |
<compatible/>
|
18 |
<dependencies><required><php><min>5.2.0</min><max>7.0.0</max></php></required></dependencies>
|
19 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Eupago_MB</name>
|
4 |
+
<version>1.1.4</version>
|
5 |
<stability>stable</stability>
|
6 |
<license>GNU General Public License (GPL)</license>
|
7 |
<channel>community</channel>
|
12 |
[PT] - novas funcionalidades : re-order e registo de transações</notes>
|
13 |
<authors><author><name>Eupago</name><user>eupago</user><email>suporte@eupago.pt</email></author></authors>
|
14 |
<date>2016-12-05</date>
|
15 |
+
<time>18:09:55</time>
|
16 |
+
<contents><target name="magecommunity"><dir name="Eupago"><dir name="Multibanco"><dir name="Block"><dir name="Form"><file name="Multibanco.php" hash="a526f756cd407a159a5438efefa0d66f"/></dir><dir name="Info"><file name="Multibanco.php" hash="d586d900b3dfc316db0d6015338c0b2f"/></dir><dir name="Onepage"><file name="Success.php" hash="9da0851f53a89abeb25602d3c94a2612"/></dir></dir><dir name="Model"><file name="Multibanco.php" hash="d9f2858be6fe35eeffd9eaa8f9a884f1"/><dir name="System"><dir name="Config"><file name="Template.php" hash="fd636ddfc0a57d9e904ceb913415398d"/></dir></dir></dir><dir name="controllers"><file name="CallbackController.php" hash="3fb7fad856b683a4ea0f2b3434edaac9"/></dir><dir name="etc"><file name="config.xml" hash="179d01bf0777fd0c2e4e49e86282abce"/><file name="system.xml" hash="f25b77b36ec9b9cddbbd4131b861bcd7"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Eupago_Multibanco.xml" hash="87ee673b7cd7ec1dbc44cf2a0ef0f0c3"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="eupago"><dir name="multibanco"><dir name="checkout"><file name="success.phtml" hash="65c0fbce628ecdb41855475826cbbc2b"/></dir><dir name="info"><file name="default.phtml" hash="a74d2e7e6bf4cc69995b6d513cd06859"/><file name="multibanco.phtml" hash="a502ada6767afe020486170e6243e086"/></dir></dir></dir></dir><dir name="layout"><file name="eupago_multibanco.xml" hash="e3fbf5f655164991b363b305e09b0953"/></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="eupago"><dir name="multibanco"><dir name="info"><file name="multibanco.phtml" hash="47d133c69fb6121b648037995c868740"/></dir></dir></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="images"><dir name="eupago"><dir name="multibanco"><file name="eupago_mb_p.png" hash="6db08f88f1f4770337db63105a4f0f08"/><file name="multibanco_icon.png" hash="87425d6e05c42ae6780b16ca8379d97a"/></dir></dir></dir></dir></dir></dir></target></contents>
|
17 |
<compatible/>
|
18 |
<dependencies><required><php><min>5.2.0</min><max>7.0.0</max></php></required></dependencies>
|
19 |
</package>
|