Auguria_DebitPayment - Version 0.0.3

Version Notes

Auguria_DebitPayment

Download this release

Release Info

Developer Auguria
Extension Auguria_DebitPayment
Version 0.0.3
Comparing to
See all releases


Code changes from version 0.0.2 to 0.0.3

app/code/community/Auguria/DebitPayment/Block/Form.php ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * @category Auguria
4
+ * @package Auguria_DebitPayment
5
+ * @copyright Auguria
6
+ * @license http://opensource.org/licenses/gpl-3.0.html GNU General Public License version 3 (GPLv3)
7
+ */
8
+
9
+ class Auguria_DebitPayment_Block_Form extends Mage_Payment_Block_Form
10
+ {
11
+ protected function _construct()
12
+ {
13
+ parent::_construct();
14
+ $this->setTemplate('auguria/debitpayment/form.phtml');
15
+ }
16
+
17
+ public function getCustomFormBlockType()
18
+ {
19
+ return $this->getMethod()->getConfigData('form_block_type');
20
+ }
21
+
22
+ public function getFormCmsUrl()
23
+ {
24
+ $pageUrl = null;
25
+ $pageCode = $this->getMethod()->getConfigData('form_cms_page');
26
+ if (!empty($pageCode)) {
27
+ if ($pageId = Mage::getModel('cms/page')->checkIdentifier($pageCode, Mage::app()->getStore()->getId())) {
28
+ $pageUrl = Mage::helper('cms/page')->getPageUrl($pageId);
29
+ }
30
+ }
31
+ return $pageUrl;
32
+ }
33
+
34
+ public function getInstruction()
35
+ {
36
+ return $this->getMethod()->getInstruction();
37
+ }
38
+ }
app/code/community/Auguria/DebitPayment/Block/Info.php ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * @category Auguria
4
+ * @package Auguria_DebitPayment
5
+ * @copyright Auguria
6
+ * @license http://opensource.org/licenses/gpl-3.0.html GNU General Public License version 3 (GPLv3)
7
+ */
8
+
9
+ class Auguria_DebitPayment_Block_Info extends Mage_Payment_Block_Info
10
+ {
11
+ protected function _construct()
12
+ {
13
+ parent::_construct();
14
+ $this->setTemplate('auguria/debitpayment/info.phtml');
15
+ }
16
+
17
+ public function getFormCmsUrl()
18
+ {
19
+ $pageUrl = null;
20
+ $pageCode = $this->getMethod()->getConfigData('form_cms_page');
21
+ if (!empty($pageCode)) {
22
+ if ($pageId = Mage::getModel('cms/page')->checkIdentifier($pageCode, Mage::app()->getStore()->getId())) {
23
+ $pageUrl = Mage::helper('cms/page')->getPageUrl($pageId);
24
+ }
25
+ }
26
+ return $pageUrl;
27
+ }
28
+
29
+ public function getInstruction()
30
+ {
31
+ return $this->getMethod()->getInstruction();
32
+ }
33
+ }
app/code/community/Auguria/DebitPayment/Helper/Data.php ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * @category Auguria
4
+ * @package Auguria_DebitPayment
5
+ * @copyright Auguria
6
+ * @license http://opensource.org/licenses/gpl-3.0.html GNU General Public License version 3 (GPLv3)
7
+ */
8
+
9
+ class Auguria_DebitPayment_Helper_Data extends Mage_Core_Helper_Abstract
10
+ {
11
+ public function getStateFromStatus($status)
12
+ {
13
+ $resource = Mage::getSingleton('core/resource');
14
+ $read= $resource->getConnection('core_read');
15
+ $userTable = $resource->getTableName('order_status_state');
16
+ $select = $read->select()
17
+ ->from($resource->getTableName('sales/order_status_state'), array('state'))
18
+ ->where('status=?', $status);
19
+ return $read->fetchOne($select);
20
+ }
21
+ }
app/code/community/Auguria/DebitPayment/Model/DebitPayment.php ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * @category Auguria
4
+ * @package Auguria_DebitPayment
5
+ * @copyright Auguria
6
+ * @license http://opensource.org/licenses/gpl-3.0.html GNU General Public License version 3 (GPLv3)
7
+ */
8
+
9
+ class Auguria_DebitPayment_Model_DebitPayment extends Mage_Payment_Model_Method_Abstract
10
+ {
11
+ protected $_code = 'auguria_debitpayment';
12
+
13
+ protected $_formBlockType = 'auguria_debitpayment/form';
14
+ protected $_infoBlockType = 'auguria_debitpayment/info';
15
+ protected $_customerValidated;
16
+
17
+ protected $_description;
18
+
19
+ protected $_order;
20
+
21
+ /**
22
+ * Get order model
23
+ *
24
+ * @return Mage_Sales_Model_Order
25
+ */
26
+ public function getOrder()
27
+ {
28
+ if (!$this->_order) {
29
+ $this->_order = $this->getInfoInstance()->getOrder();
30
+ }
31
+ return $this->_order;
32
+ }
33
+
34
+ protected function _isCustomerValidated()
35
+ {
36
+ if (!isset($this->_customerValidated)) {
37
+ $customer = Mage::getSingleton('customer/session')->getCustomer();
38
+ if ($customer->getAuguriaDebitpaymentValidated()==true) {
39
+ $this->_customerValidated = true;
40
+ }
41
+ else {
42
+ $this->_customerValidated = false;
43
+ }
44
+ }
45
+ return $this->_customerValidated;
46
+ }
47
+
48
+ public function getInstruction()
49
+ {
50
+ if (!isset($this->_description)) {
51
+ if ($this->_isCustomerValidated()==true) {
52
+ $this->_description = $this->getConfigData('instruction');
53
+ }
54
+ else {
55
+ $this->_description = $this->getConfigData('not_validated_customer_instruction');
56
+ }
57
+ }
58
+ return $this->_description;
59
+ }
60
+
61
+ public function getConfigData($field, $storeId = null)
62
+ {
63
+ if ($field == 'order_status') {
64
+ if ($this->getOrder()->getCustomerId()!=0) {
65
+ $customer = Mage::getModel('customer/customer')->load($this->getOrder()->getCustomerId());
66
+ if ($customer->getAuguriaDebitpaymentValidated()!=true) {
67
+ return parent::getConfigData('not_validated_customer_order_status', $storeId);
68
+ }
69
+ }
70
+ }
71
+ return parent::getConfigData($field, $storeId);
72
+ }
73
+ }
app/code/community/Auguria/DebitPayment/Model/Source/CmsPage.php ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * @category Auguria
4
+ * @package Auguria_DebitPayment
5
+ * @copyright Auguria
6
+ * @license http://opensource.org/licenses/gpl-3.0.html GNU General Public License version 3 (GPLv3)
7
+ */
8
+ class Auguria_DebitPayment_Model_Source_CmsPage extends Mage_Adminhtml_Model_System_Config_Source_Cms_Page
9
+ {
10
+ public function toOptionArray()
11
+ {
12
+ if (!$this->_options) {
13
+ parent::toOptionArray();
14
+ array_unshift($this->_options, array(
15
+ 'value' => '',
16
+ 'label' => Mage::helper('core')->__('-- Please Select --'))
17
+ );
18
+ }
19
+ return $this->_options;
20
+ }
21
+ }
app/code/community/Auguria/DebitPayment/Model/Source/Order/Status.php ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * @category Auguria
4
+ * @package Auguria_DebitPayment
5
+ * @copyright Auguria
6
+ * @license http://opensource.org/licenses/gpl-3.0.html GNU General Public License version 3 (GPLv3)
7
+ */
8
+
9
+ class Auguria_DebitPayment_Model_Source_Order_Status extends Mage_Adminhtml_Model_System_Config_Source_Order_Status
10
+ {
11
+ const STATE_PENDING_DEBIT_AUTHORIZATION = 'pending_debit_authorization';
12
+
13
+ public function __construct()
14
+ {
15
+ if (version_compare(Mage::getVersion(), '1.4.0', '>=')) {
16
+ $this->_stateStatuses[] = Mage_Sales_Model_Order::STATE_PENDING_PAYMENT;
17
+ }
18
+ return $this;
19
+ }
20
+
21
+ }
app/code/community/Auguria/DebitPayment/etc/config.xml ADDED
@@ -0,0 +1,91 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * @category Auguria
5
+ * @package Auguria_DebitPayment
6
+ * @copyright Auguria
7
+ * @license http://opensource.org/licenses/gpl-3.0.html GNU General Public License version 3 (GPLv3)
8
+ */
9
+ -->
10
+ <config>
11
+ <modules>
12
+ <Auguria_DebitPayment>
13
+ <version>0.0.3</version>
14
+ </Auguria_DebitPayment>
15
+ </modules>
16
+ <global>
17
+ <models>
18
+ <auguria_debitpayment>
19
+ <class>Auguria_DebitPayment_Model</class>
20
+ </auguria_debitpayment>
21
+ </models>
22
+ <resources>
23
+ <auguria_debitpayment_setup>
24
+ <setup>
25
+ <module>Auguria_DebitPayment</module>
26
+ <class>Mage_Eav_Model_Entity_Setup</class>
27
+ </setup>
28
+ <connection>
29
+ <use>core_setup</use>
30
+ </connection>
31
+ </auguria_debitpayment_setup>
32
+ <auguria_debitpayment_write>
33
+ <use>core_write</use>
34
+ </auguria_debitpayment_write>
35
+ <auguria_debitpayment_read>
36
+ <use>core_read</use>
37
+ </auguria_debitpayment_read>
38
+ </resources>
39
+ <blocks>
40
+ <auguria_debitpayment>
41
+ <class>Auguria_DebitPayment_Block</class>
42
+ </auguria_debitpayment>
43
+ </blocks>
44
+ <helpers>
45
+ <auguria_debitpayment>
46
+ <class>Auguria_DebitPayment_Helper</class>
47
+ </auguria_debitpayment>
48
+ </helpers>
49
+ </global>
50
+ <adminhtml>
51
+ <translate>
52
+ <modules>
53
+ <Auguria_DebitPayment>
54
+ <files>
55
+ <default>Auguria_DebitPayment.csv</default>
56
+ </files>
57
+ </Auguria_DebitPayment>
58
+ </modules>
59
+ </translate>
60
+ </adminhtml>
61
+ <frontend>
62
+ <translate>
63
+ <modules>
64
+ <Auguria_DebitPayment>
65
+ <files>
66
+ <default>Auguria_DebitPayment.csv</default>
67
+ </files>
68
+ </Auguria_DebitPayment>
69
+ </modules>
70
+ </translate>
71
+ </frontend>
72
+ <default>
73
+ <payment>
74
+ <auguria_debitpayment>
75
+ <active>1</active>
76
+ <title>Prélèvement automatique</title>
77
+ <model>auguria_debitpayment/debitPayment</model>
78
+ <order_status>pending_payment</order_status>
79
+ <not_validated_customer_order_status>pending_debit_authorization</not_validated_customer_order_status>
80
+ <sort_order></sort_order>
81
+ <allowspecific>0</allowspecific>
82
+ <specificcountry></specificcountry>
83
+ <min_order_total></min_order_total>
84
+ <max_order_total></max_order_total>
85
+ <instruction>Un prélèvement automatique sera effectué sur votre compte</instruction>
86
+ <not_validated_customer_instruction><![CDATA[Un prélèvement automatique sera effectué sur votre compte, après réception de <a target='_blank' href='http://dev.collection-gourmande.com/media/wysiwyg/documents/demande_prelevement.pdf'>l'autorisation de prélèvement</a>]]></not_validated_customer_instruction>
87
+ <form_cms_page></form_cms_page>
88
+ </auguria_debitpayment>
89
+ </payment>
90
+ </default>
91
+ </config>
app/code/community/Auguria/DebitPayment/etc/system.xml ADDED
@@ -0,0 +1,131 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * @category Auguria
5
+ * @package Auguria_DebitPayment
6
+ * @copyright Auguria
7
+ * @license http://opensource.org/licenses/gpl-3.0.html GNU General Public License version 3 (GPLv3)
8
+ */
9
+ -->
10
+ <config>
11
+ <sections>
12
+ <payment>
13
+ <groups>
14
+ <auguria_debitpayment translate="label" module="auguria_debitpayment">
15
+ <label>Debit Payment</label>
16
+ <frontend_type>text</frontend_type>
17
+ <sort_order>1</sort_order>
18
+ <show_in_default>1</show_in_default>
19
+ <show_in_website>1</show_in_website>
20
+ <show_in_store>1</show_in_store>
21
+ <fields>
22
+ <active translate="label">
23
+ <label>Enabled</label>
24
+ <frontend_type>select</frontend_type>
25
+ <source_model>adminhtml/system_config_source_yesno</source_model>
26
+ <sort_order>10</sort_order>
27
+ <show_in_default>1</show_in_default>
28
+ <show_in_website>1</show_in_website>
29
+ <show_in_store>1</show_in_store>
30
+ </active>
31
+ <title translate="label">
32
+ <label>Title</label>
33
+ <frontend_type>text</frontend_type>
34
+ <sort_order>20</sort_order>
35
+ <show_in_default>1</show_in_default>
36
+ <show_in_website>1</show_in_website>
37
+ <show_in_store>1</show_in_store>
38
+ </title>
39
+ <order_status translate="label">
40
+ <label>Order status for validated customers</label>
41
+ <frontend_type>select</frontend_type>
42
+ <source_model>auguria_debitpayment/source_order_status</source_model>
43
+ <sort_order>30</sort_order>
44
+ <show_in_default>1</show_in_default>
45
+ <show_in_website>1</show_in_website>
46
+ <show_in_store>1</show_in_store>
47
+ </order_status>
48
+ <not_validated_customer_order_status translate="label">
49
+ <label>Order status for not validated customers</label>
50
+ <frontend_type>select</frontend_type>
51
+ <source_model>auguria_debitpayment/source_order_status</source_model>
52
+ <sort_order>40</sort_order>
53
+ <show_in_default>1</show_in_default>
54
+ <show_in_website>1</show_in_website>
55
+ <show_in_store>1</show_in_store>
56
+ </not_validated_customer_order_status>
57
+ <sort_order translate="label">
58
+ <label>Sort order</label>
59
+ <frontend_type>text</frontend_type>
60
+ <sort_order>50</sort_order>
61
+ <show_in_default>1</show_in_default>
62
+ <show_in_website>1</show_in_website>
63
+ <show_in_store>1</show_in_store>
64
+ </sort_order>
65
+ <allowspecific translate="label">
66
+ <label>Payment from applicable countries</label>
67
+ <frontend_type>allowspecific</frontend_type>
68
+ <sort_order>60</sort_order>
69
+ <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
70
+ <show_in_default>1</show_in_default>
71
+ <show_in_website>1</show_in_website>
72
+ <show_in_store>1</show_in_store>
73
+ </allowspecific>
74
+ <specificcountry translate="label">
75
+ <label>Payment from Specific countries</label>
76
+ <frontend_type>multiselect</frontend_type>
77
+ <sort_order>70</sort_order>
78
+ <source_model>adminhtml/system_config_source_country</source_model>
79
+ <show_in_default>1</show_in_default>
80
+ <show_in_website>1</show_in_website>
81
+ <show_in_store>1</show_in_store>
82
+ </specificcountry>
83
+ <min_order_total>
84
+ <label>Minimum Order Total</label>
85
+ <frontend_type>text</frontend_type>
86
+ <sort_order>80</sort_order>
87
+ <show_in_default>1</show_in_default>
88
+ <show_in_website>1</show_in_website>
89
+ <show_in_store>1</show_in_store>
90
+ </min_order_total>
91
+ <max_order_total>
92
+ <label>Maximum Order Total</label>
93
+ <frontend_type>text</frontend_type>
94
+ <sort_order>90</sort_order>
95
+ <show_in_default>1</show_in_default>
96
+ <show_in_website>1</show_in_website>
97
+ <show_in_store>1</show_in_store>
98
+ </max_order_total>
99
+ <instruction translate="label">
100
+ <label>Instructions for validated customers</label>
101
+ <frontend_type>textarea</frontend_type>
102
+ <sort_order>100</sort_order>
103
+ <show_in_default>1</show_in_default>
104
+ <show_in_website>1</show_in_website>
105
+ <show_in_store>1</show_in_store>
106
+ </instruction>
107
+ <not_validated_customer_instruction translate="label">
108
+ <label>Instructions for not validated customers</label>
109
+ <frontend_type>textarea</frontend_type>
110
+ <sort_order>110</sort_order>
111
+ <show_in_default>1</show_in_default>
112
+ <show_in_website>1</show_in_website>
113
+ <show_in_store>1</show_in_store>
114
+ </not_validated_customer_instruction>
115
+ <form_cms_page translate="label,comment" module="auguria_debitpayment">
116
+ <label>Form CMS Page</label>
117
+ <frontend_type>select</frontend_type>
118
+ <source_model>auguria_debitpayment/source_cmsPage</source_model>
119
+ <sort_order>120</sort_order>
120
+ <show_in_default>1</show_in_default>
121
+ <show_in_website>1</show_in_website>
122
+ <show_in_store>1</show_in_store>
123
+ <can_be_empty>1</can_be_empty>
124
+ <comment>Add link to CMS page</comment>
125
+ </form_cms_page>
126
+ </fields>
127
+ </auguria_debitpayment>
128
+ </groups>
129
+ </payment>
130
+ </sections>
131
+ </config>
app/code/community/Auguria/DebitPayment/sql/auguria_debitpayment_setup/mysql4-install-0.0.1.php ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * @category Auguria
4
+ * @package Auguria_DebitPayment
5
+ * @copyright Auguria
6
+ * @license http://opensource.org/licenses/gpl-3.0.html GNU General Public License version 3 (GPLv3)
7
+ */
8
+
9
+ $installer = $this;
10
+ $installer->startSetup();
11
+
12
+ $statusTable = $installer->getTable('sales/order_status');
13
+ $statusStateTable = $installer->getTable('sales/order_status_state');
14
+
15
+ $data = array();
16
+ $data[] = array(
17
+ 'status' => Auguria_DebitPayment_Model_Source_Order_Status::STATE_PENDING_DEBIT_AUTHORIZATION,
18
+ 'label' => 'Pending debit authorization'
19
+ );
20
+ $installer->getConnection()->insertArray($statusTable, array('status', 'label'), $data);
21
+
22
+ $states = Mage::getConfig()->getNode('global/sales/order/states')->asArray();
23
+ $data = array();
24
+ $data[] = array(
25
+ 'status' => Auguria_DebitPayment_Model_Source_Order_Status::STATE_PENDING_DEBIT_AUTHORIZATION,
26
+ 'state' => Mage_Sales_Model_Order::STATE_PENDING_PAYMENT,
27
+ 'is_default'=> 0
28
+ );
29
+
30
+ $installer->getConnection()->insertArray(
31
+ $statusStateTable,
32
+ array('status', 'state', 'is_default'),
33
+ $data
34
+ );
35
+
36
+ $installer->endSetup();
app/code/community/Auguria/DebitPayment/sql/auguria_debitpayment_setup/mysql4-upgrade-0.0.1-0.0.2.php ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /**
4
+ * @category Auguria
5
+ * @package Auguria_DebitPayment
6
+ * @copyright Auguria
7
+ * @license http://opensource.org/licenses/gpl-3.0.html GNU General Public License version 3 (GPLv3)
8
+ */
9
+
10
+ $setup = $this;
11
+
12
+ $entityTypeId = $setup->getEntityTypeId('customer');
13
+ $attributeSetId = $setup->getDefaultAttributeSetId($entityTypeId);
14
+ $attributeGroupId = $setup->getDefaultAttributeGroupId($entityTypeId, $attributeSetId);
15
+
16
+ $setup->addAttribute('customer', 'auguria_debitpayment_validated', array(
17
+ 'type' => 'int',
18
+ 'label' => 'Prélèvement automatique validé',
19
+ 'input' => 'select',
20
+ 'source' => 'eav/entity_attribute_source_boolean',
21
+ 'visible' => true,
22
+ 'required' => false,
23
+ 'user_defined' => true,
24
+ ));
25
+
26
+ $setup->addAttributeToGroup(
27
+ $entityTypeId,
28
+ $attributeSetId,
29
+ $attributeGroupId,
30
+ 'auguria_debitpayment_validated',
31
+ '401'
32
+ );
33
+
34
+ $attribute = Mage::getSingleton('eav/config')->getAttribute('customer', 'auguria_debitpayment_validated');
35
+ $attribute->setData('used_in_forms', array('adminhtml_customer'));
36
+ $attribute->save();
37
+
38
+ $setup->endSetup();
app/design/adminhtml/default/default/template/auguria/debitpayment/form.phtml ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * @category Auguria
4
+ * @package Auguria_DebitPayment
5
+ * @copyright Auguria
6
+ * @license http://opensource.org/licenses/gpl-3.0.html GNU General Public License version 3 (GPLv3)
7
+ */
8
+ ?>
app/design/adminhtml/default/default/template/auguria/debitpayment/info.phtml ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * @category Auguria
4
+ * @package Auguria_DebitPayment
5
+ * @copyright Auguria
6
+ * @license http://opensource.org/licenses/gpl-3.0.html GNU General Public License version 3 (GPLv3)
7
+ */
8
+ ?>
9
+ <p>
10
+ <?php echo $this->getMethod()->getTitle(); ?>
11
+ </p>
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Auguria_DebitPayment</name>
4
- <version>0.0.2</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">OSL 3.0</license>
7
  <channel>community</channel>
@@ -10,9 +10,9 @@
10
  <description>Auguria_DebitPayment</description>
11
  <notes>Auguria_DebitPayment</notes>
12
  <authors><author><name>Auguria</name><user>Auguria</user><email>magento@auguria.net</email></author></authors>
13
- <date>2012-06-22</date>
14
- <time>15:39:35</time>
15
- <contents><target name="mageetc"><dir name="app"><dir name="etc"><dir name="modules"><file name="Auguria_DebitPayment.xml" hash=""/></dir></dir></dir></target><target name="magecommunity"><dir name="Auguria"><file name="DebitPayment" hash="d41d8cd98f00b204e9800998ecf8427e"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="auguria"><dir name="debitpayment"><file name="form.phtml" hash="9f3e76e5a1db2711e6bf45fb068177b0"/><file name="info.phtml" hash="0cd47b7241016b328fedf08e9fddd086"/></dir></dir></dir></dir></dir></dir></target><target name="magelocale"><dir name="fr_FR"><file name="Auguria_DebitPayment.csv" hash="e3f38b708268c3a78aabca983d902649"/></dir></target><target name="magemedia"><dir name="wysiwyg"><dir name="documents"><file name="demande_prelevement.pdf" hash="486fbed5b00e2a00230b2a806460d8ab"/></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.2.0</min><max>5.6.0</max></php><package><name>Mage_Payment</name><channel>core</channel><min></min><max></max></package></required></dependencies>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Auguria_DebitPayment</name>
4
+ <version>0.0.3</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">OSL 3.0</license>
7
  <channel>community</channel>
10
  <description>Auguria_DebitPayment</description>
11
  <notes>Auguria_DebitPayment</notes>
12
  <authors><author><name>Auguria</name><user>Auguria</user><email>magento@auguria.net</email></author></authors>
13
+ <date>2012-06-25</date>
14
+ <time>09:28:12</time>
15
+ <contents><target name="mageetc"><dir name="app"><dir name="etc"><dir name="modules"><file name="Auguria_DebitPayment.xml" hash=""/></dir></dir></dir></target><target name="magecommunity"><dir name="Auguria"><dir name="DebitPayment"><dir name="Block"><file name="Form.php" hash="1cf19e8ddc796b86b98269f2dc204f4c"/><file name="Info.php" hash="0eff44236dae92a43a86f49c2b12be15"/></dir><dir name="Helper"><file name="Data.php" hash="c1599f7a7dcca534376baa40233ce2db"/></dir><dir name="Model"><file name="DebitPayment.php" hash="27effe8bc4e6a6260da8e52cf6ce3d64"/><dir name="Source"><file name="CmsPage.php" hash="f50f52c49d79ec770c02b5ef4fe99d74"/><dir name="Order"><file name="Status.php" hash="8453f28e49ff70df346870e1cc4286ea"/></dir></dir></dir><dir name="etc"><file name="config.xml" hash="d47705d7a5a74057375343ca70db4da4"/><file name="system.xml" hash="78d8d63bb4fc95d906cadabeaeae60c2"/></dir><dir name="sql"><dir name="auguria_debitpayment_setup"><file name="mysql4-install-0.0.1.php" hash="3733b27160ae52cc50eec99b78c92df1"/><file name="mysql4-upgrade-0.0.1-0.0.2.php" hash="205b20468979250a72bc106fd5cd1a2d"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="auguria"><dir name="debitpayment"><file name="form.phtml" hash="9f3e76e5a1db2711e6bf45fb068177b0"/><file name="info.phtml" hash="0cd47b7241016b328fedf08e9fddd086"/></dir></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="auguria"><dir name="debitpayment"><file name="form.phtml" hash="2883dbf277b01b2839133e904f6c5a10"/><file name="info.phtml" hash="367e5ba6dd4406ecbe012ca8ae23cd76"/></dir></dir></dir></dir></dir></dir></target><target name="magelocale"><dir name="fr_FR"><file name="Auguria_DebitPayment.csv" hash="e3f38b708268c3a78aabca983d902649"/></dir></target><target name="magemedia"><dir name="wysiwyg"><dir name="documents"><file name="demande_prelevement.pdf" hash="486fbed5b00e2a00230b2a806460d8ab"/></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.2.0</min><max>5.6.0</max></php><package><name>Mage_Payment</name><channel>core</channel><min></min><max></max></package></required></dependencies>
18
  </package>