Version Notes
1. Fix: compatibility with magento security patch SUPEE-6788 provided
Download this release
Release Info
Developer | Anna Sadriu |
Extension | mPAY24 |
Version | 1.6.4 |
Comparing to | |
See all releases |
Code changes from version 1.6.3 to 1.6.4
app/code/community/Mpay24/Mpay24/Model/Api/MPay24MagentoShop.php
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
*/
|
8 |
|
9 |
include_once(Mage::getBaseDir('code')."/community/Mpay24/Mpay24/Model/Api/MPay24Shop.php");
|
10 |
-
define("MAGENTO_VERSION", "Magento v " . Mage::getVersion() . " Module v 1.6.
|
11 |
|
12 |
class MPay24MagentoShop extends MPay24Shop {
|
13 |
|
7 |
*/
|
8 |
|
9 |
include_once(Mage::getBaseDir('code')."/community/Mpay24/Mpay24/Model/Api/MPay24Shop.php");
|
10 |
+
define("MAGENTO_VERSION", "Magento v " . Mage::getVersion() . " Module v 1.6.4 ");
|
11 |
|
12 |
class MPay24MagentoShop extends MPay24Shop {
|
13 |
|
app/code/community/Mpay24/Mpay24/etc/config.xml
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
<config>
|
6 |
<modules>
|
7 |
<Mpay24_Mpay24>
|
8 |
-
<version>1.6.
|
9 |
</Mpay24_Mpay24>
|
10 |
</modules>
|
11 |
|
@@ -191,16 +191,16 @@
|
|
191 |
|
192 |
<admin>
|
193 |
<routers>
|
194 |
-
<
|
195 |
-
<use>admin</use>
|
196 |
<args>
|
197 |
-
<
|
198 |
-
|
|
|
199 |
</args>
|
200 |
-
</
|
201 |
</routers>
|
202 |
</admin>
|
203 |
-
|
204 |
<adminhtml>
|
205 |
<acl>
|
206 |
<resources>
|
5 |
<config>
|
6 |
<modules>
|
7 |
<Mpay24_Mpay24>
|
8 |
+
<version>1.6.4</version>
|
9 |
</Mpay24_Mpay24>
|
10 |
</modules>
|
11 |
|
191 |
|
192 |
<admin>
|
193 |
<routers>
|
194 |
+
<adminhtml>
|
|
|
195 |
<args>
|
196 |
+
<modules>
|
197 |
+
<mpay24 after="Mage_Adminhtml">Mpay24_Adminhtml</mpay24>
|
198 |
+
</modules>
|
199 |
</args>
|
200 |
+
</adminhtml>
|
201 |
</routers>
|
202 |
</admin>
|
203 |
+
|
204 |
<adminhtml>
|
205 |
<acl>
|
206 |
<resources>
|
app/code/community/Mpay24/Mpay24/sql/mpay24_setup/mysql4-install-1.6.4.php
ADDED
@@ -0,0 +1,53 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/osl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* @category Mpay24
|
16 |
+
* @package Mpay24_Mpay24
|
17 |
+
* @author Anna Sadriu (mPAY24 GmbH)
|
18 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
19 |
+
* @version $Id: mysql4-install-1.6.4.php 6404 2015-07-08 09:25:24Z anna $
|
20 |
+
*/
|
21 |
+
if(class_exists('Mage_Sales_Model_Resource_Setup'))
|
22 |
+
$install = new Mage_Sales_Model_Resource_Setup('sales_setup');
|
23 |
+
else
|
24 |
+
$install = $this;
|
25 |
+
|
26 |
+
$install->startSetup();
|
27 |
+
|
28 |
+
$install->run("DELETE FROM {$this->getTable('core_config_data')} WHERE `path` LIKE '%mpay%'");
|
29 |
+
|
30 |
+
$install->run("DROP TABLE if exists {$this->getTable('mpay24_debug')};");
|
31 |
+
|
32 |
+
$install->run("UPDATE {$this->getTable('sales_flat_quote_payment')} SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_%';");
|
33 |
+
|
34 |
+
$install->run("UPDATE {$this->getTable('sales_flat_order_payment')} SET `method` = 'mpay24' WHERE `method` LIKE 'mpay24_%';");
|
35 |
+
|
36 |
+
$install->addAttribute('quote_address', 'payment_charge_type', array('type' => 'varchar'));
|
37 |
+
$install->addAttribute('quote_address', 'payment_charge', array('type' => 'decimal'));
|
38 |
+
$install->addAttribute('quote_address', 'base_payment_charge', array('type' => 'decimal'));
|
39 |
+
|
40 |
+
$install->addAttribute('order', 'payment_charge_type', array('type' => 'varchar'));
|
41 |
+
$install->addAttribute('order', 'payment_charge', array('type' => 'decimal'));
|
42 |
+
$install->addAttribute('order', 'base_payment_charge', array('type' => 'decimal'));
|
43 |
+
|
44 |
+
$install->addAttribute('invoice', 'payment_charge_type', array('type' => 'varchar'));
|
45 |
+
$install->addAttribute('invoice', 'payment_charge', array('type' => 'decimal'));
|
46 |
+
$install->addAttribute('invoice', 'base_payment_charge', array('type' => 'decimal'));
|
47 |
+
|
48 |
+
$install->addAttribute('creditmemo', 'payment_charge_type', array('type' => 'varchar'));
|
49 |
+
$install->addAttribute('creditmemo', 'payment_charge', array('type' => 'decimal'));
|
50 |
+
$install->addAttribute('creditmemo', 'base_payment_charge', array('type' => 'decimal'));
|
51 |
+
|
52 |
+
$install->endSetup();
|
53 |
+
?>
|
app/etc/modules/Mpay24_Mpay24.xml
CHANGED
@@ -10,7 +10,7 @@
|
|
10 |
<depends>
|
11 |
<Mage_Payment />
|
12 |
</depends>
|
13 |
-
<version>1.6.
|
14 |
</Mpay24_Mpay24>
|
15 |
</modules>
|
16 |
</config>
|
10 |
<depends>
|
11 |
<Mage_Payment />
|
12 |
</depends>
|
13 |
+
<version>1.6.4</version>
|
14 |
</Mpay24_Mpay24>
|
15 |
</modules>
|
16 |
</config>
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>mPAY24</name>
|
4 |
-
<version>1.6.
|
5 |
<stability>stable</stability>
|
6 |
<license>Open Software License (OSL 3.0)</license>
|
7 |
<channel>community</channel>
|
@@ -26,12 +26,11 @@ Die Payment Lösung der mPAY24 GmbH unterstützt folgende Bezahlarten un
|
|
26 |

|
27 |

|
28 |
Weitere Informationen unter www.mPAY24.com</description>
|
29 |
-
<notes>1. Fix:
|
30 |
-
2. Fix: icons checkout view in case of forced preselection</notes>
|
31 |
<authors><author><name>Anna Sadriu</name><user>mPAY24</user><email>modules@mpay24.com</email></author></authors>
|
32 |
-
<date>2015-11-
|
33 |
-
<time>
|
34 |
-
<contents><target name="magelocale"><dir name="de_AT"><file name="Mpay24_Mpay24.csv" hash="b2e19c4b5634ee84ddfe4736aad7fba5"/></dir><dir name="de_DE"><file name="Mpay24_Mpay24.csv" hash="b2e19c4b5634ee84ddfe4736aad7fba5"/></dir><dir name="de_CH"><file name="Mpay24_Mpay24.csv" hash="b2e19c4b5634ee84ddfe4736aad7fba5"/></dir><dir name="en_US"><file name="Mpay24_Mpay24.csv" hash="3359dee12a89e6869e5f85aef7b26f50"/></dir></target><target name="mageetc"><dir name="modules"><file name="Mpay24_Mpay24.xml" hash="
|
35 |
<compatible/>
|
36 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
37 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>mPAY24</name>
|
4 |
+
<version>1.6.4</version>
|
5 |
<stability>stable</stability>
|
6 |
<license>Open Software License (OSL 3.0)</license>
|
7 |
<channel>community</channel>
|
26 |

|
27 |

|
28 |
Weitere Informationen unter www.mPAY24.com</description>
|
29 |
+
<notes>1. Fix: compatibility with magento security patch SUPEE-6788 provided</notes>
|
|
|
30 |
<authors><author><name>Anna Sadriu</name><user>mPAY24</user><email>modules@mpay24.com</email></author></authors>
|
31 |
+
<date>2015-11-13</date>
|
32 |
+
<time>14:50:18</time>
|
33 |
+
<contents><target name="magelocale"><dir name="de_AT"><file name="Mpay24_Mpay24.csv" hash="b2e19c4b5634ee84ddfe4736aad7fba5"/></dir><dir name="de_DE"><file name="Mpay24_Mpay24.csv" hash="b2e19c4b5634ee84ddfe4736aad7fba5"/></dir><dir name="de_CH"><file name="Mpay24_Mpay24.csv" hash="b2e19c4b5634ee84ddfe4736aad7fba5"/></dir><dir name="en_US"><file name="Mpay24_Mpay24.csv" hash="3359dee12a89e6869e5f85aef7b26f50"/></dir></target><target name="mageetc"><dir name="modules"><file name="Mpay24_Mpay24.xml" hash="fc57bb8774f2fd7d5a39f442ed985f0d"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="mpay24"><dir name="form"><file name="area.phtml" hash="d0cb8e9356f868a0c0dfffaeea7d4554"/><file name="dropDown.phtml" hash="892bac9682d9516b5187dbe90f9fc56d"/><file name="radio.phtml" hash="09205ea27f8531b1c566a241ff47f30e"/></dir><dir name="info"><file name="selectpayment.phtml" hash="0c34c3104166b4bc976de6af88d5e950"/></dir></dir></dir><dir name="layout"><file name="mpay24.xml" hash="c89c9614b3952f8238202f994032409d"/></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="mpay24"><dir name="info"><dir name="pdf"><file name="selectpayment.phtml" hash="3d2c2739e0ef05596ca60edba8bac8f6"/></dir><file name="selectpayment.phtml" hash="44a8e561d50bfe074b01b9f0f4ca4f78"/></dir></dir></dir></dir></dir></dir></target><target name="magecommunity"><dir name="Mpay24"><dir name="Mpay24"><dir name="Block"><dir name="Adminhtml"><dir name="Sales"><dir name="Order"><dir name="Creditmemo"><file name="Totals.php" hash="858b3c21a873f79fe6225c14f2eb79bd"/></dir><dir name="Invoice"><file name="Totals.php" hash="49b22a320c55911bbda580092bfc7594"/></dir><file name="Totals.php" hash="b55fca1ef8fc64674697c29a68253541"/></dir><file name="Totals.php" hash="6a60d9bffefccfa9ace5d3ee8eb10eba"/></dir><dir name="System"><dir name="Config"><dir name="Fieldset"><file name="Fieldset.php" hash="159b15b356009155fdd1a023b107c484"/></dir></dir></dir></dir><dir name="Form"><file name="Selectpayment.php" hash="abb875f42800573589619bce4bb485ef"/></dir><file name="Form.php" hash="57aecb5aa4756ac2097410aaabe2d527"/><dir name="Info"><file name="Selectpayment.php" hash="7b4b737862ad124b73ba7c357184d838"/></dir><file name="Mpay24.php" hash="5189a49bc763bfa0b7d6e683da3e0c54"/><file name="ParentRedirect.php" hash="4d7dbbee705cc04172c0ce980720327c"/><dir name="Sales"><dir name="Order"><dir name="Creditmemo"><file name="Totals.php" hash="b8dda48dc36d26e9ad5c5869045cda39"/></dir><dir name="Invoice"><file name="Totals.php" hash="f00705c4a31d100c9433fedaf4c83a2f"/></dir><file name="Totals.php" hash="af1c20cd43def7669ae22e0fced7660d"/></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="8dd5de8e06853908c0af5689d619405f"/></dir><dir name="Model"><dir name="Api"><file name="MDXI.xsd" hash="a76b18809aee2b2ff879cc4f7641c682"/><file name="MPay24Api.php" hash="9de780410405aeba4fb8f1db79f8dcc5"/><file name="MPay24MagentoShop.php" hash="09893b615df0ce4ff7a45e3e097853a8"/><file name="MPay24Shop.php" hash="7c9cda9037d6771950aed259830da52c"/><file name="cacert.pem" hash="d4dbe330c1629261efdeac206ecf73e5"/><file name="curllog.log" hash="d41d8cd98f00b204e9800998ecf8427e"/><file name="orderXML.php" hash="5eeee4f6d4ed0e0e2e36929c2c14c9e0"/><dir name="xmls"><file name="145000006.xml" hash="a96955aaccb909174e1ed22f99bda941"/><file name="145000007.xml" hash="8fe5479fad630a4fe600c10771d4698a"/><file name="145000008.xml" hash="5eb646e523c4970fe93954a9c5840a9b"/><file name="145000009.xml" hash="4192879c818aa6624df98535bc5073fc"/><file name="145000010.xml" hash="a1307d076d989953e1952c4cb4c9c390"/><file name="Example_MDXI.xml" hash="dddd02e4cdc0905792c1a2a9f3681bfd"/><file name=".gitignore" hash="a11c3d8fc9f5b0b2bda39c4691777698"/></dir><file name=".gitignore" hash="bbb0dcf6f5f6f4c43539774615a27ba7"/></dir><file name="Config.php" hash="843f9a22c4c624bca04d9ed7efe83bb9"/><dir name="Entity"><file name="Setup.php" hash="89719712defb6f542c6b107b53ec0337"/></dir><dir name="Method"><file name="Abstract.php" hash="c2e0bfe3b0dec8965dde0069473efc41"/><file name="Selectpayment.php" hash="1dab880679345e6f6283a48374d3eee2"/></dir><dir name="Mpay24"><file name="Debug.php" hash="6f777ec3f5f993da68068debdf317678"/></dir><dir name="Mysql4"><dir name="Mpay24"><dir name="Debug"><file name="Collection.php" hash="0587f1af86c0d72aec586af5c6be0977"/></dir><file name="Debug.php" hash="bb91b154c60be7db1ff571c78382b3af"/></dir><file name="Setup.php" hash="ac5414ad9fddeb8005fd7953877cb5aa"/></dir><file name="Observer.php" hash="417cf2484d15da2dcc32c3f582078916"/><dir name="Sales"><dir name="Order"><dir name="Creditmemo"><dir name="Total"><file name="Paymentcharge.php" hash="af5c31bcef53696207e2c19b934ca42a"/></dir></dir><dir name="Invoice"><dir name="Total"><file name="Paymentcharge.php" hash="6f34f11c18a75d1a39bd26d890e7f706"/></dir></dir></dir><dir name="Quote"><dir name="Address"><dir name="Total"><file name="Paymentcharge.php" hash="159fe1fbf65fbbd053da24e4e194a4f0"/></dir></dir></dir></dir><file name="Selectpayment.php" hash="a7e41be7005f2797acc40fa2683c83b3"/><file name="Session.php" hash="268a9b9737dcc4eadf40634c16991270"/><dir name="Source"><file name="AllowedIPs.php" hash="2bbd8f58ea976506c417d8f893318378"/><file name="BillAddr.php" hash="2c5454e3182f1346b51b631ca3d6bcbb"/><file name="ClearingAction.php" hash="a8354348de59296cad357e544586dad8"/><file name="FormTemplate.php" hash="2bc01719f389e2064e90932a0eb99f93"/><file name="PaidOrder.php" hash="3c240e18bafd57d718e035a55a858d8b"/><file name="PaymentCharge.php" hash="4b2a69b104bc278760cbf4466988ec27"/><file name="PaymentsActive.php" hash="4cca6cc364249692a35219c9690832b2"/><file name="Request.php" hash="06dc5c0a1b7698e8ee3792a17cb85623"/><file name="Result.php" hash="755477cf005ef91a5e506859381d9ad2"/><file name="ShoppingCartRowsAction.php" hash="562284cb6fdb0d5926bc0150e41b4a31"/><file name="System.php" hash="8423fb3053afd56825967d95d1f063e3"/></dir><dir name="System"><dir name="Config"><dir name="Backend"><file name="Encrypted.php" hash="643cd91d632e5d5d3a3a18695c99d615"/></dir></dir></dir></dir><dir name="controllers"><file name="IndexController.php" hash="86701b373ac7d09985fc68710caa45bc"/><file name="PaymentController.php" hash="a79fea0b9e71fb300a48bbe9c464f872"/></dir><dir name="etc"><file name="config.xml" hash="8ec702d2bad23eead8d79e82804e9036"/><file name="system.xml" hash="a92fce0219aea7291457c556bd44a496"/></dir><dir name="sql"><dir name="mpay24_setup"><file name="mysql4-install-1.6.0.php" hash="dc4049cf80fd85595f9498dbf451c175"/><file name="mysql4-install-1.6.1.php" hash="0864a3df9ded045efab6439f929ec8fb"/><file name="mysql4-install-1.6.2.php" hash="99ccd96fa238cde7cc6074d1331ff02a"/><file name="mysql4-install-1.6.3.php" hash="db6c579764df6335caf11c95f1c8cbda"/><file name="mysql4-install-1.6.4.php" hash="9d41522d17423c065d30ee7e17d04f30"/></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><dir name="Mpay24"><dir name="Mpay24"><file name="mpay24.css" hash="438f1e67fb76b15eb521580141da4aff"/></dir></dir></dir><dir name="js"><dir name="Mpay24"><dir name="Mpay24"><file name="mpay24.js" hash="c8b9d797f95b7b1c1dcf67b45f17bf98"/></dir></dir></dir></dir></dir></dir></target></contents>
|
34 |
<compatible/>
|
35 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
36 |
</package>
|