Ltc_Komfortkasse - Version 1.4.3

Version Notes

Improved calculation of due date for payment by invoice

Download this release

Release Info

Developer Komfortkasse
Extension Ltc_Komfortkasse
Version 1.4.3
Comparing to
See all releases


Code changes from version 1.4.0.2 to 1.4.3

app/code/community/Ltc/Komfortkasse/Helper/Komfortkasse.php CHANGED
@@ -8,7 +8,7 @@ require_once 'Komfortkasse_Order.php';
8
  */
9
  class Komfortkasse
10
  {
11
- const PLUGIN_VER = '1.4.0.2';
12
  const MAXLEN_SSL = 117;
13
  const LEN_MCRYPT = 16;
14
 
@@ -391,7 +391,6 @@ class Komfortkasse
391
 
392
  // Development: http://localhost:8080/kkos01/api...
393
  $result = @file_get_contents('http://api.komfortkasse.eu/api/shop/neworder.jsf', false, $context);
394
-
395
  }
396
 
397
  // end notifyorder()
@@ -832,9 +831,12 @@ class Komfortkasse
832
  return;
833
  }
834
 
835
- $param = Komfortkasse_Config::getRequestParameter('o');
836
- $param = Komfortkasse::kkdecrypt($param);
 
 
837
 
838
- return Komfortkasse_Order::getInvoicePdf($param);
 
839
  }
840
  }
8
  */
9
  class Komfortkasse
10
  {
11
+ const PLUGIN_VER = '1.4.3';
12
  const MAXLEN_SSL = 117;
13
  const LEN_MCRYPT = 16;
14
 
391
 
392
  // Development: http://localhost:8080/kkos01/api...
393
  $result = @file_get_contents('http://api.komfortkasse.eu/api/shop/neworder.jsf', false, $context);
 
394
  }
395
 
396
  // end notifyorder()
831
  return;
832
  }
833
 
834
+ $invoiceNumber = Komfortkasse_Config::getRequestParameter('o');
835
+ $invoiceNumber = Komfortkasse::kkdecrypt($invoiceNumber);
836
+ $orderNumber = Komfortkasse_Config::getRequestParameter('order_id');
837
+ $orderNumber = Komfortkasse::kkdecrypt($orderNumber);
838
 
839
+ return Komfortkasse_Order::getInvoicePdf($invoiceNumber, $orderNumber);
840
+
841
  }
842
  }
app/code/community/Ltc/Komfortkasse/Helper/Komfortkasse_Order.php CHANGED
@@ -8,7 +8,7 @@
8
  * status: data type according to the shop system
9
  * delivery_ and billing_: _firstname, _lastname, _company, _street, _postcode, _city, _countrycode
10
  * products: an Array of item numbers
11
- * @version 1.4.0.1-Magento
12
  */
13
  $path = Mage::getModuleDir('', 'Ltc_Komfortkasse');
14
  $order_extension = false;
@@ -219,11 +219,15 @@ class Komfortkasse_Order
219
  $ret ['currency_code'] = $order->getOrderCurrencyCode();
220
  $ret ['exchange_rate'] = $order->getBaseToOrderRate();
221
 
222
- // Rechnungsnummer
223
  $invoiceColl = $order->getInvoiceCollection();
224
  if ($invoiceColl->getSize() > 0) {
225
  foreach ($order->getInvoiceCollection() as $invoice) {
226
  $ret ['invoice_number'] [] = $invoice->getIncrementId();
 
 
 
 
227
  }
228
  }
229
 
8
  * status: data type according to the shop system
9
  * delivery_ and billing_: _firstname, _lastname, _company, _street, _postcode, _city, _countrycode
10
  * products: an Array of item numbers
11
+ * @version 1.4.3-Magento1
12
  */
13
  $path = Mage::getModuleDir('', 'Ltc_Komfortkasse');
14
  $order_extension = false;
219
  $ret ['currency_code'] = $order->getOrderCurrencyCode();
220
  $ret ['exchange_rate'] = $order->getBaseToOrderRate();
221
 
222
+ // Rechnungsnummer und -datum
223
  $invoiceColl = $order->getInvoiceCollection();
224
  if ($invoiceColl->getSize() > 0) {
225
  foreach ($order->getInvoiceCollection() as $invoice) {
226
  $ret ['invoice_number'] [] = $invoice->getIncrementId();
227
+ $invoiceDate = date('d.m.Y', strtotime($invoice->getCreatedAt()));
228
+ if ($ret['invoice_date'] == null || strtotime($ret['invoice_date']) < strtotime($invoiceDate)) {
229
+ $ret['invoice_date'] = $invoiceDate;
230
+ }
231
  }
232
  }
233
 
app/code/community/Ltc/Komfortkasse/Model/Observer.php CHANGED
@@ -2,21 +2,13 @@
2
 
3
  /**
4
  * Komfortkasse
5
- * Magento Plugin - Observer Class
6
  *
7
- * @version 1.2.1.8-Magento */
8
  class Ltc_Komfortkasse_Model_Observer
9
  {
10
 
11
-
12
- /**
13
- * getRegName
14
- *
15
- * @param Varien_Event_Observer $observer Observer
16
- *
17
- * @return string
18
- */
19
- private function getRegName(Varien_Event_Observer $observer)
20
  {
21
  $id = $observer->getOrder()->getIncrementId();
22
  if ($id) {
@@ -27,14 +19,7 @@ class Ltc_Komfortkasse_Model_Observer
27
  }//end getRegName()
28
 
29
 
30
- /**
31
- * noteNewOrder
32
- *
33
- * @param Varien_Event_Observer $observer Observer
34
- *
35
- * @return void
36
- */
37
- public function noteNewOrder(Varien_Event_Observer $observer)
38
  {
39
  $regName = self::getRegName($observer);
40
  if ($regName) {
@@ -44,14 +29,8 @@ class Ltc_Komfortkasse_Model_Observer
44
  }//end noteNewOrder()
45
 
46
 
47
- /**
48
- * noteOrderStatus
49
- *
50
- * @param Varien_Event_Observer $observer Observer
51
- *
52
- * @return void
53
- */
54
- public function noteOrderStatus(Varien_Event_Observer $observer)
55
  {
56
  $regName = self::getRegName($observer);
57
  if ($regName && !Mage::registry($regName)) {
@@ -61,14 +40,7 @@ class Ltc_Komfortkasse_Model_Observer
61
  }//end noteOrderStatus()
62
 
63
 
64
- /**
65
- * checkOrderStatus
66
- *
67
- * @param Varien_Event_Observer $observer Observer
68
- *
69
- * @return void
70
- */
71
- public function checkOrderStatus(Varien_Event_Observer $observer)
72
  {
73
  $regName = self::getRegName($observer);
74
  $orderStatus = Mage::registry($regName);
2
 
3
  /**
4
  * Komfortkasse
5
+ * Magento2 Plugin - Observer Class
6
  *
7
+ * @version 1.4.0.1-Magento2 */
8
  class Ltc_Komfortkasse_Model_Observer
9
  {
10
 
11
+ private function getRegName(\Magento\Framework\Event\Observer $observer)
 
 
 
 
 
 
 
 
12
  {
13
  $id = $observer->getOrder()->getIncrementId();
14
  if ($id) {
19
  }//end getRegName()
20
 
21
 
22
+ public function noteNewOrder(\Magento\Framework\Event\Observer $observer)
 
 
 
 
 
 
 
23
  {
24
  $regName = self::getRegName($observer);
25
  if ($regName) {
29
  }//end noteNewOrder()
30
 
31
 
32
+
33
+ public function noteOrderStatus(\Magento\Framework\Event\Observer $observer)
 
 
 
 
 
 
34
  {
35
  $regName = self::getRegName($observer);
36
  if ($regName && !Mage::registry($regName)) {
40
  }//end noteOrderStatus()
41
 
42
 
43
+ public function checkOrderStatus(\Magento\Framework\Event\Observer $observer)
 
 
 
 
 
 
 
44
  {
45
  $regName = self::getRegName($observer);
46
  $orderStatus = Mage::registry($regName);
app/code/community/Ltc/Komfortkasse/etc/config.xml CHANGED
@@ -3,7 +3,7 @@
3
  <config>
4
  <modules>
5
  <Ltc_Komfortkasse>
6
- <version>1.4.0.2</version>
7
  </Ltc_Komfortkasse>
8
  </modules>
9
  <global>
3
  <config>
4
  <modules>
5
  <Ltc_Komfortkasse>
6
+ <version>1.4.3</version>
7
  </Ltc_Komfortkasse>
8
  </modules>
9
  <global>
app/code/community/Ltc/Komfortkasse/etc/system.xml CHANGED
@@ -1,240 +1,240 @@
1
- <?xml version="1.0"?>
2
- <!--
3
- Komfortkasse
4
- Magento Plugin - system.xml
5
- @version 1.3.0.1-Magento */ -->
6
- <config>
7
- <sections>
8
- <payment>
9
- <groups>
10
- <komfortkasse translate="label">
11
- <label>Komfortkasse</label>
12
- <frontend_type>text</frontend_type>
13
- <sort_order>900</sort_order>
14
- <show_in_default>1</show_in_default>
15
- <show_in_website>1</show_in_website>
16
- <show_in_store>1</show_in_store>
17
- <fields>
18
- <activate_export translate="label">
19
- <label>Export Orders</label>
20
- <frontend_type>select</frontend_type>
21
- <source_model>adminhtml/system_config_source_enabledisable
22
- </source_model>
23
- <sort_order>10</sort_order>
24
- <show_in_default>1</show_in_default>
25
- <show_in_website>1</show_in_website>
26
- <show_in_store>1</show_in_store>
27
- <comment>Activate export of orders</comment>
28
- </activate_export>
29
- <activate_update translate="label">
30
- <label>Update Orders</label>
31
- <frontend_type>select</frontend_type>
32
- <source_model>adminhtml/system_config_source_enabledisable
33
- </source_model>
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
- <comment>Activate update of orders</comment>
39
- </activate_update>
40
- <payment_methods translate="label">
41
- <label>Prepayment: Payment Methods</label>
42
- <frontend_type>multiselect</frontend_type>
43
- <source_model>adminhtml/system_config_source_payment_allmethods
44
- </source_model>
45
- <sort_order>30</sort_order>
46
- <show_in_default>1</show_in_default>
47
- <show_in_website>1</show_in_website>
48
- <show_in_store>1</show_in_store>
49
- <comment>All payment methods that should be exported for prepayment orders.
50
- </comment>
51
- </payment_methods>
52
- <status_open translate="label">
53
- <label>Prepayment: Statuses Open</label>
54
- <frontend_type>multiselect</frontend_type>
55
- <source_model>adminhtml/system_config_source_order_status
56
- </source_model>
57
- <sort_order>40</sort_order>
58
- <show_in_default>1</show_in_default>
59
- <show_in_website>1</show_in_website>
60
- <show_in_store>1</show_in_store>
61
- <comment>Order statuses that should be exported for prepayment orders (open orders)
62
- </comment>
63
- </status_open>
64
- <status_paid translate="label">
65
- <label>Prepayment: Status Paid</label>
66
- <frontend_type>select</frontend_type>
67
- <source_model>adminhtml/system_config_source_order_status
68
- </source_model>
69
- <sort_order>50</sort_order>
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
- <comment>Order state that should be set when a payment has been received for a prepayment order.
74
- </comment>
75
- </status_paid>
76
- <status_cancelled translate="label">
77
- <label>Prepayment: Status Cancelled</label>
78
- <frontend_type>select</frontend_type>
79
- <source_model>adminhtml/system_config_source_order_status
80
- </source_model>
81
- <sort_order>55</sort_order>
82
- <show_in_default>1</show_in_default>
83
- <show_in_website>1</show_in_website>
84
- <show_in_store>1</show_in_store>
85
- <comment>Order state that should be set when a prepayment order has been cancelled.
86
- </comment>
87
- </status_cancelled>
88
- <payment_methods_invoice translate="label">
89
- <label>Invoice: Payment Methods</label>
90
- <frontend_type>multiselect</frontend_type>
91
- <source_model>adminhtml/system_config_source_payment_allmethods
92
- </source_model>
93
- <sort_order>60</sort_order>
94
- <show_in_default>1</show_in_default>
95
- <show_in_website>1</show_in_website>
96
- <show_in_store>1</show_in_store>
97
- <comment>All payment methods that should be exported for invoice orders.
98
- </comment>
99
- </payment_methods_invoice>
100
- <status_open_invoice translate="label">
101
- <label>Invoice: Statuses Open</label>
102
- <frontend_type>multiselect</frontend_type>
103
- <source_model>adminhtml/system_config_source_order_status
104
- </source_model>
105
- <sort_order>70</sort_order>
106
- <show_in_default>1</show_in_default>
107
- <show_in_website>1</show_in_website>
108
- <show_in_store>1</show_in_store>
109
- <comment>Order statuses that should be exported for invoice orders (open/unpaid invoices)
110
- </comment>
111
- </status_open_invoice>
112
- <status_paid_invoice translate="label">
113
- <label>Invoice: Status Paid</label>
114
- <frontend_type>select</frontend_type>
115
- <source_model>adminhtml/system_config_source_order_status
116
- </source_model>
117
- <sort_order>80</sort_order>
118
- <show_in_default>1</show_in_default>
119
- <show_in_website>1</show_in_website>
120
- <show_in_store>1</show_in_store>
121
- <comment>Order state that should be set an invoice has been paid.
122
- </comment>
123
- </status_paid_invoice>
124
- <status_cancelled_invoice translate="label">
125
- <label>Invoice: Status no payment/debt collection</label>
126
- <frontend_type>select</frontend_type>
127
- <source_model>adminhtml/system_config_source_order_status
128
- </source_model>
129
- <sort_order>90</sort_order>
130
- <show_in_default>1</show_in_default>
131
- <show_in_website>1</show_in_website>
132
- <show_in_store>1</show_in_store>
133
- <comment>Order state that should be set when an invoice has not been paid.
134
- </comment>
135
- </status_cancelled_invoice>
136
-
137
-
138
-
139
- <payment_methods_cod translate="label">
140
- <label>COD: Payment Methods</label>
141
- <frontend_type>multiselect</frontend_type>
142
- <source_model>adminhtml/system_config_source_payment_allmethods
143
- </source_model>
144
- <sort_order>100</sort_order>
145
- <show_in_default>1</show_in_default>
146
- <show_in_website>1</show_in_website>
147
- <show_in_store>1</show_in_store>
148
- <comment>All payment methods that should be exported for COD (cash on delivery) orders.
149
- </comment>
150
- </payment_methods_cod>
151
- <status_open_cod translate="label">
152
- <label>COD: Statuses Open</label>
153
- <frontend_type>multiselect</frontend_type>
154
- <source_model>adminhtml/system_config_source_order_status
155
- </source_model>
156
- <sort_order>110</sort_order>
157
- <show_in_default>1</show_in_default>
158
- <show_in_website>1</show_in_website>
159
- <show_in_store>1</show_in_store>
160
- <comment>Order statuses that should be exported for COD orders (dispatched COD parcel)
161
- </comment>
162
- </status_open_cod>
163
- <status_paid_cod translate="label">
164
- <label>COD: Status Paid</label>
165
- <frontend_type>select</frontend_type>
166
- <source_model>adminhtml/system_config_source_order_status
167
- </source_model>
168
- <sort_order>120</sort_order>
169
- <show_in_default>1</show_in_default>
170
- <show_in_website>1</show_in_website>
171
- <show_in_store>1</show_in_store>
172
- <comment>Order state that should be set when a COD order has been paid.
173
- </comment>
174
- </status_paid_cod>
175
- <status_cancelled_cod translate="label">
176
- <label>COD: Status Payment unresolved</label>
177
- <frontend_type>select</frontend_type>
178
- <source_model>adminhtml/system_config_source_order_status
179
- </source_model>
180
- <sort_order>130</sort_order>
181
- <show_in_default>1</show_in_default>
182
- <show_in_website>1</show_in_website>
183
- <show_in_store>1</show_in_store>
184
- <comment>Order state that should be set when a COD order was not paid.
185
- </comment>
186
- </status_cancelled_cod>
187
- <encryption translate="label">
188
- <label>Encryption</label>
189
- <frontend_type>select</frontend_type>
190
- <source_model>adminhtml/system_config_source_KomfortkasseEncryptionOptions
191
- </source_model>
192
- <sort_order>1000</sort_order>
193
- <show_in_default>1</show_in_default>
194
- <show_in_website>1</show_in_website>
195
- <show_in_store>1</show_in_store>
196
- <comment>Encryption technology. Do not change!</comment>
197
- </encryption>
198
- <accesscode translate="label">
199
- <label>Access code</label>
200
- <frontend_type>text</frontend_type>
201
- <sort_order>1010</sort_order>
202
- <show_in_default>1</show_in_default>
203
- <show_in_website>1</show_in_website>
204
- <show_in_store>1</show_in_store>
205
- <comment>Encrypted access code. Do not change!</comment>
206
- </accesscode>
207
- <apikey translate="label">
208
- <label>API key</label>
209
- <frontend_type>text</frontend_type>
210
- <sort_order>1020</sort_order>
211
- <show_in_default>1</show_in_default>
212
- <show_in_website>1</show_in_website>
213
- <show_in_store>1</show_in_store>
214
- <comment>API key. Do not change!</comment>
215
- </apikey>
216
- <publickey translate="label">
217
- <label>Secret Key 1</label>
218
- <frontend_type>text</frontend_type>
219
- <sort_order>1030</sort_order>
220
- <show_in_default>1</show_in_default>
221
- <show_in_website>1</show_in_website>
222
- <show_in_store>1</show_in_store>
223
- <comment>Key for encrypting/decrypting data. Do not change!</comment>
224
- </publickey>
225
- <privatekey translate="label">
226
- <label>Secret Key 2</label>
227
- <frontend_type>text</frontend_type>
228
- <sort_order>1040</sort_order>
229
- <show_in_default>1</show_in_default>
230
- <show_in_website>1</show_in_website>
231
- <show_in_store>1</show_in_store>
232
- <comment>Key for encrypting/decrypting data. Do not change!</comment>
233
- <disabled>true</disabled>
234
- </privatekey>
235
- </fields>
236
- </komfortkasse>
237
- </groups>
238
- </payment>
239
- </sections>
240
- </config>
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ Komfortkasse
4
+ Magento Plugin - system.xml
5
+ @version 1.3.0.1-Magento */ -->
6
+ <config>
7
+ <sections>
8
+ <payment>
9
+ <groups>
10
+ <komfortkasse translate="label">
11
+ <label>Komfortkasse</label>
12
+ <frontend_type>text</frontend_type>
13
+ <sort_order>900</sort_order>
14
+ <show_in_default>1</show_in_default>
15
+ <show_in_website>1</show_in_website>
16
+ <show_in_store>1</show_in_store>
17
+ <fields>
18
+ <activate_export translate="label">
19
+ <label>Export Orders</label>
20
+ <frontend_type>select</frontend_type>
21
+ <source_model>adminhtml/system_config_source_enabledisable
22
+ </source_model>
23
+ <sort_order>10</sort_order>
24
+ <show_in_default>1</show_in_default>
25
+ <show_in_website>1</show_in_website>
26
+ <show_in_store>1</show_in_store>
27
+ <comment>Activate export of orders</comment>
28
+ </activate_export>
29
+ <activate_update translate="label">
30
+ <label>Update Orders</label>
31
+ <frontend_type>select</frontend_type>
32
+ <source_model>adminhtml/system_config_source_enabledisable
33
+ </source_model>
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
+ <comment>Activate update of orders</comment>
39
+ </activate_update>
40
+ <payment_methods translate="label">
41
+ <label>Prepayment: Payment Methods</label>
42
+ <frontend_type>multiselect</frontend_type>
43
+ <source_model>adminhtml/system_config_source_payment_allmethods
44
+ </source_model>
45
+ <sort_order>30</sort_order>
46
+ <show_in_default>1</show_in_default>
47
+ <show_in_website>1</show_in_website>
48
+ <show_in_store>1</show_in_store>
49
+ <comment>All payment methods that should be exported for prepayment orders.
50
+ </comment>
51
+ </payment_methods>
52
+ <status_open translate="label">
53
+ <label>Prepayment: Statuses Open</label>
54
+ <frontend_type>multiselect</frontend_type>
55
+ <source_model>adminhtml/system_config_source_order_status
56
+ </source_model>
57
+ <sort_order>40</sort_order>
58
+ <show_in_default>1</show_in_default>
59
+ <show_in_website>1</show_in_website>
60
+ <show_in_store>1</show_in_store>
61
+ <comment>Order statuses that should be exported for prepayment orders (open orders)
62
+ </comment>
63
+ </status_open>
64
+ <status_paid translate="label">
65
+ <label>Prepayment: Status Paid</label>
66
+ <frontend_type>select</frontend_type>
67
+ <source_model>adminhtml/system_config_source_order_status
68
+ </source_model>
69
+ <sort_order>50</sort_order>
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
+ <comment>Order state that should be set when a payment has been received for a prepayment order.
74
+ </comment>
75
+ </status_paid>
76
+ <status_cancelled translate="label">
77
+ <label>Prepayment: Status Cancelled</label>
78
+ <frontend_type>select</frontend_type>
79
+ <source_model>adminhtml/system_config_source_order_status
80
+ </source_model>
81
+ <sort_order>55</sort_order>
82
+ <show_in_default>1</show_in_default>
83
+ <show_in_website>1</show_in_website>
84
+ <show_in_store>1</show_in_store>
85
+ <comment>Order state that should be set when a prepayment order has been cancelled.
86
+ </comment>
87
+ </status_cancelled>
88
+ <payment_methods_invoice translate="label">
89
+ <label>Invoice: Payment Methods</label>
90
+ <frontend_type>multiselect</frontend_type>
91
+ <source_model>adminhtml/system_config_source_payment_allmethods
92
+ </source_model>
93
+ <sort_order>60</sort_order>
94
+ <show_in_default>1</show_in_default>
95
+ <show_in_website>1</show_in_website>
96
+ <show_in_store>1</show_in_store>
97
+ <comment>All payment methods that should be exported for invoice orders.
98
+ </comment>
99
+ </payment_methods_invoice>
100
+ <status_open_invoice translate="label">
101
+ <label>Invoice: Statuses Open</label>
102
+ <frontend_type>multiselect</frontend_type>
103
+ <source_model>adminhtml/system_config_source_order_status
104
+ </source_model>
105
+ <sort_order>70</sort_order>
106
+ <show_in_default>1</show_in_default>
107
+ <show_in_website>1</show_in_website>
108
+ <show_in_store>1</show_in_store>
109
+ <comment>Order statuses that should be exported for invoice orders (open/unpaid invoices)
110
+ </comment>
111
+ </status_open_invoice>
112
+ <status_paid_invoice translate="label">
113
+ <label>Invoice: Status Paid</label>
114
+ <frontend_type>select</frontend_type>
115
+ <source_model>adminhtml/system_config_source_order_status
116
+ </source_model>
117
+ <sort_order>80</sort_order>
118
+ <show_in_default>1</show_in_default>
119
+ <show_in_website>1</show_in_website>
120
+ <show_in_store>1</show_in_store>
121
+ <comment>Order state that should be set an invoice has been paid.
122
+ </comment>
123
+ </status_paid_invoice>
124
+ <status_cancelled_invoice translate="label">
125
+ <label>Invoice: Status no payment/debt collection</label>
126
+ <frontend_type>select</frontend_type>
127
+ <source_model>adminhtml/system_config_source_order_status
128
+ </source_model>
129
+ <sort_order>90</sort_order>
130
+ <show_in_default>1</show_in_default>
131
+ <show_in_website>1</show_in_website>
132
+ <show_in_store>1</show_in_store>
133
+ <comment>Order state that should be set when an invoice has not been paid.
134
+ </comment>
135
+ </status_cancelled_invoice>
136
+
137
+
138
+
139
+ <payment_methods_cod translate="label">
140
+ <label>COD: Payment Methods</label>
141
+ <frontend_type>multiselect</frontend_type>
142
+ <source_model>adminhtml/system_config_source_payment_allmethods
143
+ </source_model>
144
+ <sort_order>100</sort_order>
145
+ <show_in_default>1</show_in_default>
146
+ <show_in_website>1</show_in_website>
147
+ <show_in_store>1</show_in_store>
148
+ <comment>All payment methods that should be exported for COD (cash on delivery) orders.
149
+ </comment>
150
+ </payment_methods_cod>
151
+ <status_open_cod translate="label">
152
+ <label>COD: Statuses Open</label>
153
+ <frontend_type>multiselect</frontend_type>
154
+ <source_model>adminhtml/system_config_source_order_status
155
+ </source_model>
156
+ <sort_order>110</sort_order>
157
+ <show_in_default>1</show_in_default>
158
+ <show_in_website>1</show_in_website>
159
+ <show_in_store>1</show_in_store>
160
+ <comment>Order statuses that should be exported for COD orders (dispatched COD parcel)
161
+ </comment>
162
+ </status_open_cod>
163
+ <status_paid_cod translate="label">
164
+ <label>COD: Status Paid</label>
165
+ <frontend_type>select</frontend_type>
166
+ <source_model>adminhtml/system_config_source_order_status
167
+ </source_model>
168
+ <sort_order>120</sort_order>
169
+ <show_in_default>1</show_in_default>
170
+ <show_in_website>1</show_in_website>
171
+ <show_in_store>1</show_in_store>
172
+ <comment>Order state that should be set when a COD order has been paid.
173
+ </comment>
174
+ </status_paid_cod>
175
+ <status_cancelled_cod translate="label">
176
+ <label>COD: Status Payment unresolved</label>
177
+ <frontend_type>select</frontend_type>
178
+ <source_model>adminhtml/system_config_source_order_status
179
+ </source_model>
180
+ <sort_order>130</sort_order>
181
+ <show_in_default>1</show_in_default>
182
+ <show_in_website>1</show_in_website>
183
+ <show_in_store>1</show_in_store>
184
+ <comment>Order state that should be set when a COD order was not paid.
185
+ </comment>
186
+ </status_cancelled_cod>
187
+ <encryption translate="label">
188
+ <label>Encryption</label>
189
+ <frontend_type>select</frontend_type>
190
+ <source_model>adminhtml/system_config_source_KomfortkasseEncryptionOptions
191
+ </source_model>
192
+ <sort_order>1000</sort_order>
193
+ <show_in_default>1</show_in_default>
194
+ <show_in_website>1</show_in_website>
195
+ <show_in_store>1</show_in_store>
196
+ <comment>Encryption technology. Do not change!</comment>
197
+ </encryption>
198
+ <accesscode translate="label">
199
+ <label>Access code</label>
200
+ <frontend_type>text</frontend_type>
201
+ <sort_order>1010</sort_order>
202
+ <show_in_default>1</show_in_default>
203
+ <show_in_website>1</show_in_website>
204
+ <show_in_store>1</show_in_store>
205
+ <comment>Encrypted access code. Do not change!</comment>
206
+ </accesscode>
207
+ <apikey translate="label">
208
+ <label>API key</label>
209
+ <frontend_type>text</frontend_type>
210
+ <sort_order>1020</sort_order>
211
+ <show_in_default>1</show_in_default>
212
+ <show_in_website>1</show_in_website>
213
+ <show_in_store>1</show_in_store>
214
+ <comment>API key. Do not change!</comment>
215
+ </apikey>
216
+ <publickey translate="label">
217
+ <label>Secret Key 1</label>
218
+ <frontend_type>text</frontend_type>
219
+ <sort_order>1030</sort_order>
220
+ <show_in_default>1</show_in_default>
221
+ <show_in_website>1</show_in_website>
222
+ <show_in_store>1</show_in_store>
223
+ <comment>Key for encrypting/decrypting data. Do not change!</comment>
224
+ </publickey>
225
+ <privatekey translate="label">
226
+ <label>Secret Key 2</label>
227
+ <frontend_type>text</frontend_type>
228
+ <sort_order>1040</sort_order>
229
+ <show_in_default>1</show_in_default>
230
+ <show_in_website>1</show_in_website>
231
+ <show_in_store>1</show_in_store>
232
+ <comment>Key for encrypting/decrypting data. Do not change!</comment>
233
+ <disabled>true</disabled>
234
+ </privatekey>
235
+ </fields>
236
+ </komfortkasse>
237
+ </groups>
238
+ </payment>
239
+ </sections>
240
+ </config>
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Ltc_Komfortkasse</name>
4
- <version>1.4.0.2</version>
5
  <stability>stable</stability>
6
  <license uri="http://creativecommons.org/licenses/by-nd/4.0/">CC BY-ND 4.0</license>
7
  <channel>community</channel>
@@ -13,11 +13,11 @@ Zus&#xE4;tzlich k&#xF6;nnen automatische Zahlungserinnerungen versendet werden u
13
  &#xD;
14
  Es ist eine Anmeldung auf www.komfortkasse.eu erforderlich (kostenloses Paket verf&#xFC;gbar).&#xD;
15
  </description>
16
- <notes>Improved stability for updating orders</notes>
17
  <authors><author><name>Komfortkasse</name><user>komfortkasse</user><email>integration@komfortkasse.eu</email></author></authors>
18
- <date>2015-07-07</date>
19
- <time>13:32:08</time>
20
- <contents><target name="magecommunity"><dir name="Ltc"><dir name="Komfortkasse"><dir name="Helper"><file name="Data.php" hash="ec7f9f8fb6ea400a740ed2c127eb71bc"/><file name="Komfortkasse.php" hash="7df692ad563e08ae923dba4ac0a09f1b"/><file name="Komfortkasse_Config.php" hash="44cf103f0ddef60890cd6c221262b7e5"/><file name="Komfortkasse_Order.php" hash="398246addce9c0d0283f685b71eea8d2"/></dir><dir name="Model"><file name="Observer.php" hash="5b616b6d3651df44f8297c732dc478bb"/></dir><dir name="controllers"><file name="MainController.php" hash="b983fe60b2bbfa3aa1d57850cc6c045b"/></dir><dir name="etc"><file name="config.xml" hash="c6d9356201bf1e7e920b41ec909f26ab"/><file name="system.xml" hash="0902280bcdd963008b48e633677c953d"/></dir></dir></dir><dir name="Mage"><dir name="Adminhtml"><dir name="Model"><dir name="System"><dir name="Config"><dir name="Source"><file name="KomfortkasseEncryptionOptions.php" hash="fea880dd3e60c13ede05be53511a6d93"/></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Ltc_Komfortkasse.xml" hash="433066ef75047d9468dcea87888283d2"/></dir></target></contents>
21
  <compatible/>
22
  <dependencies><required><php><min>5.0.0</min><max>6.0.0</max></php></required></dependencies>
23
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Ltc_Komfortkasse</name>
4
+ <version>1.4.3</version>
5
  <stability>stable</stability>
6
  <license uri="http://creativecommons.org/licenses/by-nd/4.0/">CC BY-ND 4.0</license>
7
  <channel>community</channel>
13
  &#xD;
14
  Es ist eine Anmeldung auf www.komfortkasse.eu erforderlich (kostenloses Paket verf&#xFC;gbar).&#xD;
15
  </description>
16
+ <notes>Improved calculation of due date for payment by invoice</notes>
17
  <authors><author><name>Komfortkasse</name><user>komfortkasse</user><email>integration@komfortkasse.eu</email></author></authors>
18
+ <date>2016-01-18</date>
19
+ <time>06:21:00</time>
20
+ <contents><target name="magecommunity"><dir name="Ltc"><dir name="Komfortkasse"><dir name="Helper"><file name="Data.php" hash="ec7f9f8fb6ea400a740ed2c127eb71bc"/><file name="Komfortkasse.php" hash="d3d748358e8c11cfa8e01fae56a66497"/><file name="Komfortkasse_Config.php" hash="44cf103f0ddef60890cd6c221262b7e5"/><file name="Komfortkasse_Order.php" hash="61f498878a1a84cf5ac87673db06a5a3"/></dir><dir name="Model"><file name="Observer.php" hash="2c12ce2b930cf734d8574e69156c7da8"/></dir><dir name="controllers"><file name="MainController.php" hash="b983fe60b2bbfa3aa1d57850cc6c045b"/></dir><dir name="etc"><file name="config.xml" hash="f90dd389f25824d5fec70787371d8fd8"/><file name="system.xml" hash="c069f07b4f846e62bc5dd922c81e375b"/></dir></dir></dir><dir name="Mage"><dir name="Adminhtml"><dir name="Model"><dir name="System"><dir name="Config"><dir name="Source"><file name="KomfortkasseEncryptionOptions.php" hash="fea880dd3e60c13ede05be53511a6d93"/></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Ltc_Komfortkasse.xml" hash="433066ef75047d9468dcea87888283d2"/></dir></target></contents>
21
  <compatible/>
22
  <dependencies><required><php><min>5.0.0</min><max>6.0.0</max></php></required></dependencies>
23
  </package>