DebitPayment - Version 0.5.0

Version Notes

Changelog:
0.4.5
- Bestimmte Zeichen werden rausgefiltert um kryptische Zeichen zu vermeiden.
- Copyright aktualisiert
- Bugfixes

0.4.2
- Theme-Support für Magento 1.4
- Neue Bankleitzahlen-Datei der Bundesbank
- Bugfixes

0.4.1
- Fehlende "debit.xml" zum Paket hinzugefügt
- Bestellung auch ohne gültige BLZ möglich gemacht / Im Benutzerkonto kann man jedoch nur eine gültige BLZ angeben!
- Neue Bankleitzahlen-Datei
- Bugfixes

0.4
- Vollständiges Refactoring des Moduls
- AJAX-Abfrage des Kreditinstituts
- Caching der Bankinformationen zur Verbesserung der Performance
- Möglichkeit hinzugefügt, Kontodaten zu speichern und im Frontend und Backend zu bearbeiten
- Formularfelder im Checkout vorausgefüllt mit gespeicherten Bankdaten
- Encryption Bug behoben
- Erweiterung vollständig übersetzbar gemacht
- Erweiterung auch für StoreView konfigurierbar gemacht

0.3
- Anzeige der Bankdaten in der Rechnung
- Anlegen von Bestellungen im Backend nun mit dieser Zahlungsart möglich
- Bearbeiten von Bestellungen mit dieser Zahlungsart möglich
- Bugfixes

0.2.5.
- Der Shopbesitzer kann nun einstellen, ob die Bankdaten verschlüsselt oder unverschlüsselt zum Lastschriftverfahren per E-Mail mitgesendet werden sollen

0.2.1.
- Bugfix

0.2.0
- Verschlüsselung der Einträge in der Datenbank
- Überprüfung der BLZ im Backend und Anzeige, ob ein Fehler vorliegt oder nicht

0.1.0
- erste Veröffentlichung mit einer Grundfunktionalität

Download this release

Release Info

Developer Magento Core Team
Extension DebitPayment
Version 0.5.0
Comparing to
See all releases


Code changes from version 0.4.9 to 0.5.0

app/code/community/Mage/Debit/Model/Observer.php CHANGED
@@ -125,7 +125,7 @@ class Mage_Debit_Model_Observer
125
  return;
126
  }
127
  if ($customer = $this->_getOrderCustomer($order)) {
128
- $customer->setData('debit_payment_acount_data_update', now())
129
  ->setData('debit_payment_acount_name', $methodInstance->getAccountName())
130
  ->setData('debit_payment_acount_number', $methodInstance->getAccountNumber())
131
  ->setData('debit_payment_acount_blz', $methodInstance->getAccountBLZ())
125
  return;
126
  }
127
  if ($customer = $this->_getOrderCustomer($order)) {
128
+ $customer->setData('debit_payment_acount_update', now())
129
  ->setData('debit_payment_acount_name', $methodInstance->getAccountName())
130
  ->setData('debit_payment_acount_number', $methodInstance->getAccountNumber())
131
  ->setData('debit_payment_acount_blz', $methodInstance->getAccountBLZ())
app/code/community/Mage/Debit/controllers/AccountController.php CHANGED
@@ -88,7 +88,7 @@ class Mage_Debit_AccountController extends Mage_Core_Controller_Front_Action
88
  return;
89
  }
90
 
91
- $customer->setData('debit_payment_acount_data_update', now());
92
  $customer->setData('debit_payment_acount_name', $this->getRequest()->getPost('account_name'));
93
  $customer->setData('debit_payment_acount_number', $this->getRequest()->getPost('account_number'));
94
  $customer->setData('debit_payment_acount_blz', $this->getRequest()->getPost('account_blz'));
88
  return;
89
  }
90
 
91
+ $customer->setData('debit_payment_acount_update', now());
92
  $customer->setData('debit_payment_acount_name', $this->getRequest()->getPost('account_name'));
93
  $customer->setData('debit_payment_acount_number', $this->getRequest()->getPost('account_number'));
94
  $customer->setData('debit_payment_acount_blz', $this->getRequest()->getPost('account_blz'));
app/code/community/Mage/Debit/etc/config.xml CHANGED
@@ -24,7 +24,7 @@
24
  <config>
25
  <modules>
26
  <Mage_Debit>
27
- <version>0.4.9</version>
28
  </Mage_Debit>
29
  </modules>
30
 
24
  <config>
25
  <modules>
26
  <Mage_Debit>
27
+ <version>0.5.0</version>
28
  </Mage_Debit>
29
  </modules>
30
 
app/code/community/Mage/Debit/sql/debit_setup/mysql4-install-0.4.0.php CHANGED
@@ -86,7 +86,7 @@ $installer = $this;
86
  $installer->startSetup();
87
 
88
  $setup = new Mage_Eav_Model_Entity_Setup('core_setup');
89
- $setup->addAttribute($customer_type_id, 'debit_payment_acount_data_update', $attr_date);
90
  $setup->addAttribute($customer_type_id, 'debit_payment_acount_name', $attr_name);
91
  $setup->addAttribute($customer_type_id, 'debit_payment_acount_number', $attr_number);
92
  $setup->addAttribute($customer_type_id, 'debit_payment_acount_blz', $attr_blz);
@@ -94,7 +94,7 @@ $setup->addAttribute($customer_type_id, 'debit_payment_acount_blz', $attr_blz);
94
  // Since 1.4.2.0 this is necessary!
95
  $eavConfig = Mage::getSingleton('eav/config');
96
 
97
- $attribute = $eavConfig->getAttribute($customer_type_id, 'debit_payment_acount_data_update');
98
  $attribute->setData('used_in_forms', array('customer_account_edit', 'customer_account_create', 'adminhtml_customer'));
99
  $attribute->save();
100
 
86
  $installer->startSetup();
87
 
88
  $setup = new Mage_Eav_Model_Entity_Setup('core_setup');
89
+ $setup->addAttribute($customer_type_id, 'debit_payment_acount_update', $attr_date);
90
  $setup->addAttribute($customer_type_id, 'debit_payment_acount_name', $attr_name);
91
  $setup->addAttribute($customer_type_id, 'debit_payment_acount_number', $attr_number);
92
  $setup->addAttribute($customer_type_id, 'debit_payment_acount_blz', $attr_blz);
94
  // Since 1.4.2.0 this is necessary!
95
  $eavConfig = Mage::getSingleton('eav/config');
96
 
97
+ $attribute = $eavConfig->getAttribute($customer_type_id, 'debit_payment_acount_update');
98
  $attribute->setData('used_in_forms', array('customer_account_edit', 'customer_account_create', 'adminhtml_customer'));
99
  $attribute->save();
100
 
app/code/community/Mage/Debit/sql/debit_setup/mysql4-upgrade-0.4.9-0.5.0.php ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * This file is part of the Mage_Debit module.
4
+ *
5
+ * PHP version 5
6
+ *
7
+ * NOTICE OF LICENSE
8
+ *
9
+ * This source file is subject to the Open Software License (OSL 3.0)
10
+ * that is bundled with this package in the file LICENSE.txt.
11
+ * It is also available through the world-wide-web at this URL:
12
+ * http://opensource.org/licenses/osl-3.0.php
13
+ * If you did not receive a copy of the license and are unable to
14
+ * obtain it through the world-wide-web, please send an email
15
+ * to license@magentocommerce.com so we can send you a copy immediately.
16
+ *
17
+ * @category Mage
18
+ * @package Mage_Debit
19
+ * @author Rouven Alexander Rieker <rouven.rieker@itabs.de>
20
+ * @copyright 2011 ITABS GmbH / Rouven Alexander Rieker (http://www.itabs.de)
21
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
22
+ * @link http://www.magentocommerce.com/extension/676/
23
+ */
24
+ /**
25
+ * Setup script
26
+ *
27
+ * @category Mage
28
+ * @package Mage_Debit
29
+ * @author Rouven Alexander Rieker <rouven.rieker@itabs.de>
30
+ * @copyright 2011 ITABS GmbH / Rouven Alexander Rieker (http://www.itabs.de)
31
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
32
+ * @link http://www.magentocommerce.com/extension/676/
33
+ */
34
+
35
+ $write = Mage::getSingleton('core/resource')->getConnection('core_write');
36
+ $write->query('SET FOREIGN_KEY_CHECKS=0;');
37
+ $write->query('UPDATE eav_attribute SET attribute_code = "debit_payment_acount_update" WHERE attribute_code = "debit_payment_acount_data_update";');
38
+ $write->query('SET FOREIGN_KEY_CHECKS=1;');
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>DebitPayment</name>
4
- <version>0.4.9</version>
5
  <stability>stable</stability>
6
  <license>OSL v3.0</license>
7
  <channel>community</channel>
@@ -54,9 +54,9 @@
54
  0.1.0
55
  - erste Ver&#xF6;ffentlichung mit einer Grundfunktionalit&#xE4;t</notes>
56
  <authors><author><name>ITABS GmbH - Rouven Alexander Rieker</name><user>auto-converted</user><email>rouven.rieker@itabs.de</email></author></authors>
57
- <date>2011-07-19</date>
58
- <time>09:28:47</time>
59
- <contents><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="debit"><file name="debit.phtml" hash="668381d2a305c522b46470c6b56ba836"/><file name="form.phtml" hash="c309248ba984f388593fdedf05bb844d"/><file name="info.phtml" hash="df0d0b2353b4b18f6489e6d822acdcb3"/></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="debit.xml" hash="7073be54bb35f85fe37d6bb3cf0c51c7"/></dir><dir name="template"><dir name="debit"><dir name="account"><file name="data.phtml" hash="39bd5d531b9e20124d1ac4874a9ca8c1"/></dir><file name="form.phtml" hash="b18f8d37dc7f3189f823592e44fe3df5"/><file name="info.phtml" hash="659a419f57de40e9d2cedbd819002813"/></dir></dir></dir></dir></dir></target><target name="mage"><dir name="app"><dir name="code"><dir name="local"><dir name="Mage"><dir name="Customer"><dir name="Model"><dir name="Attribute"><dir name="Data"><file name="Label.php" hash="89b809662cd9dc3c7a26f99c494597f4"/></dir></dir></dir></dir></dir></dir></dir></dir><dir name="js"><dir name="mage"><dir name="debit"><file name="blzcheck.js" hash="99c6d2638404860043105207f616d7db"/></dir></dir></dir></target><target name="magelocale"><dir name="de_DE"><file name="Mage_Debit.csv" hash="953e30bcb8c07623773fb0be42120335"/></dir><dir name="en_US"><file name="Mage_Debit.csv" hash="1e7a6bf76f185a89dca643e63d95dbff"/></dir></target><target name="magecommunity"><dir name="Mage"><dir name="Debit"><dir name="Block"><dir name="Account"><file name="Data.php" hash="00caa8c5b2900eaf8601672fc9a989c0"/></dir><file name="Form.php" hash="5c8a3ad068cf18788ec0a70339edbf50"/><file name="Info.php" hash="0bc4694dce19f8f859126e01acc643af"/></dir><dir name="controllers"><file name="AccountController.php" hash="aaeefa718ddd5681a22a494535ad89b8"/><file name="AjaxController.php" hash="65bfdaf619caa811707140691b110424"/></dir><dir name="etc"><file name="bankleitzahlen.csv" hash="2efa8e81a1a8abe640045982fff78b70"/><file name="config.xml" hash="450adc7120463853edac670a52c3e85d"/><file name="system.xml" hash="4b84c5ddae5b672f229f8ab346095b76"/></dir><dir name="Helper"><file name="Data.php" hash="5339ea3c22eed7385baf7de661647b33"/></dir><dir name="Model"><dir name="Entity"><dir name="Customer"><dir name="Attribute"><dir name="Backend"><file name="Encrypted.php" hash="73407cb3592b42b9813b8b8a85a32b1b"/></dir></dir></dir></dir><dir name="System"><dir name="Config"><dir name="Source"><dir name="Customer"><file name="Group.php" hash="c46060c44860e7021aac664af577a8cf"/></dir></dir></dir></dir><file name="Debit.php" hash="9db05346ed8270d24d5b9001f17caaa9"/><file name="Observer.php" hash="1f53f2328777ed233819eeaa77834f5f"/></dir><dir name="sql"><dir name="debit_setup"><file name="mysql4-install-0.4.0.php" hash="7ca6cbfb5a5f9dc4c76e2247fb7dc7a0"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Mage_Debit.xml" hash="3a07e78ad3de76f12d3db7b88cefda1a"/></dir></target></contents>
60
  <compatible/>
61
  <dependencies/>
62
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>DebitPayment</name>
4
+ <version>0.5.0</version>
5
  <stability>stable</stability>
6
  <license>OSL v3.0</license>
7
  <channel>community</channel>
54
  0.1.0
55
  - erste Ver&#xF6;ffentlichung mit einer Grundfunktionalit&#xE4;t</notes>
56
  <authors><author><name>ITABS GmbH - Rouven Alexander Rieker</name><user>auto-converted</user><email>rouven.rieker@itabs.de</email></author></authors>
57
+ <date>2011-08-22</date>
58
+ <time>18:52:19</time>
59
+ <contents><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="debit"><file name="debit.phtml" hash="668381d2a305c522b46470c6b56ba836"/><file name="form.phtml" hash="c309248ba984f388593fdedf05bb844d"/><file name="info.phtml" hash="df0d0b2353b4b18f6489e6d822acdcb3"/></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="debit.xml" hash="7073be54bb35f85fe37d6bb3cf0c51c7"/></dir><dir name="template"><dir name="debit"><dir name="account"><file name="data.phtml" hash="39bd5d531b9e20124d1ac4874a9ca8c1"/></dir><file name="form.phtml" hash="b18f8d37dc7f3189f823592e44fe3df5"/><file name="info.phtml" hash="659a419f57de40e9d2cedbd819002813"/></dir></dir></dir></dir></dir></target><target name="mage"><dir name="app"><dir name="code"><dir name="local"><dir name="Mage"><dir name="Customer"><dir name="Model"><dir name="Attribute"><dir name="Data"><file name="Label.php" hash="89b809662cd9dc3c7a26f99c494597f4"/></dir></dir></dir></dir></dir></dir></dir></dir><dir name="js"><dir name="mage"><dir name="debit"><file name="blzcheck.js" hash="99c6d2638404860043105207f616d7db"/></dir></dir></dir></target><target name="magelocale"><dir name="de_DE"><file name="Mage_Debit.csv" hash="953e30bcb8c07623773fb0be42120335"/></dir><dir name="en_US"><file name="Mage_Debit.csv" hash="1e7a6bf76f185a89dca643e63d95dbff"/></dir></target><target name="magecommunity"><dir name="Mage"><dir name="Debit"><dir name="Block"><dir name="Account"><file name="Data.php" hash="00caa8c5b2900eaf8601672fc9a989c0"/></dir><file name="Form.php" hash="5c8a3ad068cf18788ec0a70339edbf50"/><file name="Info.php" hash="0bc4694dce19f8f859126e01acc643af"/></dir><dir name="controllers"><file name="AccountController.php" hash="2f9817db29947ac1542fb6626c24e313"/><file name="AjaxController.php" hash="65bfdaf619caa811707140691b110424"/></dir><dir name="etc"><file name="bankleitzahlen.csv" hash="2efa8e81a1a8abe640045982fff78b70"/><file name="config.xml" hash="9dfcc462c57a18e9be4dee8259525415"/><file name="system.xml" hash="4b84c5ddae5b672f229f8ab346095b76"/></dir><dir name="Helper"><file name="Data.php" hash="5339ea3c22eed7385baf7de661647b33"/></dir><dir name="Model"><dir name="Entity"><dir name="Customer"><dir name="Attribute"><dir name="Backend"><file name="Encrypted.php" hash="73407cb3592b42b9813b8b8a85a32b1b"/></dir></dir></dir></dir><dir name="System"><dir name="Config"><dir name="Source"><dir name="Customer"><file name="Group.php" hash="c46060c44860e7021aac664af577a8cf"/></dir></dir></dir></dir><file name="Debit.php" hash="9db05346ed8270d24d5b9001f17caaa9"/><file name="Observer.php" hash="a10e97ef5627331d59922dc22ddc7cce"/></dir><dir name="sql"><dir name="debit_setup"><file name="mysql4-install-0.4.0.php" hash="94d7b8b8e0541d707c2fb365c7f8bce6"/><file name="mysql4-upgrade-0.4.9-0.5.0.php" hash="1cfdba10cab25db78704295ad90fe729"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Mage_Debit.xml" hash="3a07e78ad3de76f12d3db7b88cefda1a"/></dir></target></contents>
60
  <compatible/>
61
  <dependencies/>
62
  </package>