MultiSafepay_Msp - Version 2.2.1

Version Notes

Tested by MultiSafepay

Download this release

Release Info

Developer MultiSafepay
Extension MultiSafepay_Msp
Version 2.2.1
Comparing to
See all releases


Code changes from version 2.2.0 to 2.2.1

Files changed (24) hide show
  1. app/code/community/MultiSafepay/Msp/Block/Adminhtml/Adminblock.php +0 -0
  2. app/code/community/MultiSafepay/Msp/Block/Adminhtml/Servicecost/Totals/Creditmemo.php +5 -4
  3. app/code/community/MultiSafepay/Msp/Block/Gateways.php +0 -22
  4. app/code/community/MultiSafepay/Msp/Helper/Data.php +2 -2
  5. app/code/community/MultiSafepay/Msp/Model/Api/Creditmemo.php +0 -401
  6. app/code/community/MultiSafepay/Msp/Model/Config/Sources/Order/Currency.php +10 -4
  7. app/code/community/MultiSafepay/Msp/Model/Gateway/Abstract.php +11 -2
  8. app/code/community/MultiSafepay/Msp/Model/Observer/Creditmemo.php +0 -153
  9. app/code/community/MultiSafepay/Msp/Model/Observer/Shipment.php +105 -103
  10. app/code/community/MultiSafepay/Msp/Model/Payment.php +26 -9
  11. app/code/community/MultiSafepay/Msp/Model/Servicecost/Observer.php +48 -2
  12. app/code/community/MultiSafepay/Msp/controllers/StandardController.php +1 -1
  13. app/code/community/MultiSafepay/Msp/etc/config.xml +11 -1
  14. app/code/community/MultiSafepay/Msp/etc/system.xml +306 -1
  15. app/code/community/MultiSafepay/Msp/sql/msp_setup/mysql4-upgrade-1.3.3-1.4.0.php +0 -67
  16. app/code/community/MultiSafepay/Msp/sql/msp_setup/{mysql4-upgrade-1.3.3-2.1.0.php → mysql4-upgrade-1.3.3-2.2.0.php} +27 -3
  17. app/design/adminhtml/default/default/layout/msp.xml +22 -0
  18. app/design/adminhtml/default/default/template/msp/servicecost/order/creditmemo/create/totals/adjustments.phtml +79 -0
  19. app/design/frontend/base/default/template/msp/default.phtml +115 -115
  20. app/design/frontend/base/default/template/msp/gateways.phtml +0 -31
  21. app/design/frontend/base/default/template/msp/idealissuers.phtml +30 -30
  22. app/design/frontend/base/default/template/msp/klarna.phtml +6 -6
  23. app/locale/de_DE/MultiSafepay_Msp.csv +2 -1
  24. package.xml +4 -4
app/code/community/MultiSafepay/Msp/Block/Adminhtml/Adminblock.php DELETED
File without changes
app/code/community/MultiSafepay/Msp/Block/Adminhtml/Servicecost/Totals/Creditmemo.php CHANGED
@@ -5,7 +5,7 @@ class MultiSafepay_Msp_Block_Adminhtml_Servicecost_Totals_Creditmemo extends Mag
5
  protected function _initTotals() {
6
  parent::_initTotals();
7
  $order = $this->getSource()->getOrder();
8
- $amount = $order->getServicecostPdf();
9
  $tax = $order->getServicecostTax();
10
 
11
  $code = $order->getPayment()->getMethod();
@@ -22,11 +22,12 @@ class MultiSafepay_Msp_Block_Adminhtml_Servicecost_Totals_Creditmemo extends Mag
22
  );
23
 
24
 
25
- $creditmemo = $this->getCreditMemo();
26
  $creditmemo->setBaseTaxAmount($creditmemo->getBaseTaxAmount() + $tax);
27
  $creditmemo->setTaxAmount($creditmemo->getTaxAmount() + $tax);
28
- $creditmemo->setBaseGrandTotal($creditmemo->getBaseGrandTotal() + $amount + $tax);
29
- $creditmemo->setGrandTotal($creditmemo->getGrandTotal() + $amount + $tax);
 
30
  }
31
  return $this;
32
  }
5
  protected function _initTotals() {
6
  parent::_initTotals();
7
  $order = $this->getSource()->getOrder();
8
+ $amount = /*$order->getServicecostPdf() -*/ $order->getServicecostRefunded();
9
  $tax = $order->getServicecostTax();
10
 
11
  $code = $order->getPayment()->getMethod();
22
  );
23
 
24
 
25
+ /* $creditmemo = $this->getCreditMemo();
26
  $creditmemo->setBaseTaxAmount($creditmemo->getBaseTaxAmount() + $tax);
27
  $creditmemo->setTaxAmount($creditmemo->getTaxAmount() + $tax);
28
+ $creditmemo->setBaseGrandTotal($order->getBaseTotalRefunded());
29
+ $creditmemo->setGrandTotal($order->getTotalRefunded());
30
+ $creditmemo->save();*/
31
  }
32
  return $this;
33
  }
app/code/community/MultiSafepay/Msp/Block/Gateways.php DELETED
@@ -1,22 +0,0 @@
1
- <?php
2
- /**
3
- *
4
- * @category MultiSafepay
5
- * @package MultiSafepay_Msp
6
- * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
7
- */
8
-
9
- class MultiSafepay_Msp_Block_Gateways extends Mage_Payment_Block_Form
10
- {
11
- /**
12
- * Construct
13
- */
14
- protected function _construct()
15
- {
16
- $gateway_select = Mage::getStoreConfig("payment/msp/gateway_select");
17
- if ($gateway_select) {
18
- parent::_construct();
19
- $this->setTemplate('msp/gateways.phtml');
20
- }
21
- }
22
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/MultiSafepay/Msp/Helper/Data.php CHANGED
@@ -38,7 +38,7 @@ class MultiSafepay_Msp_Helper_Data extends Mage_Core_Helper_Abstract {
38
  if ($return == '') {
39
  //$return = $paymentTitle;
40
  }
41
- echo $return;
42
  //return $return;
43
  }
44
 
@@ -48,7 +48,7 @@ class MultiSafepay_Msp_Helper_Data extends Mage_Core_Helper_Abstract {
48
  * @return string
49
  */
50
  public function getFeeLabel($code) {
51
- $feeDescription = Mage::getStoreConfig('msp/' . $code . '/fee_description');
52
 
53
  return $feeDescription ? $feeDescription : $this->__('MultiSafepay servicekosten');
54
  }
38
  if ($return == '') {
39
  //$return = $paymentTitle;
40
  }
41
+ echo $return;
42
  //return $return;
43
  }
44
 
48
  * @return string
49
  */
50
  public function getFeeLabel($code) {
51
+ $feeDescription = Mage::getStoreConfig('msp_gateways/' . $code . '/fee_description');
52
 
53
  return $feeDescription ? $feeDescription : $this->__('MultiSafepay servicekosten');
54
  }
app/code/community/MultiSafepay/Msp/Model/Api/Creditmemo.php DELETED
@@ -1,401 +0,0 @@
1
- <?php
2
- /**
3
- *
4
- * @category MultiSafepay
5
- * @package MultiSafepay_Msp
6
- * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
7
- */
8
-
9
- require_once(Mage::getBaseDir('lib').DS.'multisafepay'.DS.'MultiSafepay.combined.php');
10
-
11
- class MultiSafepay_Msp_Model_Api_Creditmemo
12
- {
13
- public $test = false;
14
- public $custom_api;
15
- public $extrapublics = '';
16
- public $use_shipping_xml;
17
-
18
- public $use_shipping_notification = false;
19
-
20
- // merchant data
21
- public $merchant = array(
22
- 'account_id' => '',
23
- 'site_id' => '',
24
- 'api_key' => '',
25
- 'security_code' => '',
26
- );
27
-
28
- // transaction data
29
- public $transaction = array(
30
- 'id' => '',
31
- 'currency' => '',
32
- 'amount' => '',
33
- );
34
-
35
- public $signature;
36
-
37
- public $api_url;
38
- public $request_xml;
39
- public $reply_xml;
40
- public $payment_url;
41
- public $status;
42
- public $error_code;
43
- public $error;
44
-
45
- public $debug;
46
-
47
- public $parsed_xml;
48
- public $parsed_root;
49
-
50
- protected $_logFileName = 'msp_refung.log';
51
-
52
- /**
53
- * Starts a transaction and returns the payment url
54
- *
55
- * @return string
56
- */
57
- public function startTransaction()
58
- {
59
- $this->log('Start Refund');
60
-
61
- $this->checkSettings();
62
-
63
- $this->createSignature();
64
-
65
- // create request
66
- $this->request_xml = $this->createTransactionRequest();
67
-
68
- // post request and get reply
69
- $this->api_url = $this->getApiUrl();
70
- $this->reply_xml = $this->xmlPost($this->api_url, $this->request_xml);
71
-
72
- $this->log($this->api_url);
73
- $this->log($this->request_xml);
74
- $this->log($this->reply_xml);
75
-
76
- // communication error
77
- if (!$this->reply_xml) {
78
- return array(
79
- 'error' => true,
80
- 'code' => $this->error_code,
81
- 'description' => $this->error
82
- );
83
- }
84
-
85
- // parse xml
86
- $rootNode = $this->parseXmlResponse($this->reply_xml);
87
-
88
- if ($this->error) {
89
- $this->log("Error %s: %s", $this->error_code, $this->error);
90
- }
91
-
92
- if (!$rootNode) {
93
- return array(
94
- 'error' => true,
95
- 'code' => $this->error_code,
96
- 'description' => $this->error
97
- );
98
- }
99
-
100
- return array('error' => false);
101
- }
102
-
103
- /**
104
- * Check the settings before using them
105
- *
106
- * @return void
107
- */
108
- public function checkSettings()
109
- {
110
- $this->merchant['account_id'] = trim($this->merchant['account_id']);
111
- $this->merchant['site_id'] = trim($this->merchant['site_id']);
112
- $this->merchant['api_key'] = trim($this->merchant['api_key']);
113
- $this->merchant['security_code'] = trim($this->merchant['security_code']);
114
- }
115
-
116
- /**
117
- * Creates the signature
118
- *
119
- * @return void
120
- */
121
- public function createSignature()
122
- {
123
- $this->signature = sha1(
124
- $this->merchant['site_id'] .
125
- $this->merchant['security_code'] .
126
- $this->transaction['id']
127
- );
128
- }
129
-
130
- /**
131
- * Returns the api url
132
- *
133
- * @return string
134
- */
135
- public function getApiUrl()
136
- {
137
- if ($this->custom_api) {
138
- return $this->custom_api;
139
- }
140
-
141
- if ($this->test) {
142
- return "https://testapi.multisafepay.com/ewx/";
143
- } else {
144
- return "https://api.multisafepay.com/ewx/";
145
- }
146
- }
147
-
148
- /**
149
- * Create the transaction request xml
150
- *
151
- * @return string
152
- */
153
- public function createTransactionRequest()
154
- {
155
- $request = '<?xml version="1.0" encoding="UTF-8"?>
156
- <refundtransaction ua="refund">
157
- <merchant>
158
- <account>' . $this->xmlEscape($this->merchant['account_id']) . '</account>
159
- <site_id>' . $this->xmlEscape($this->merchant['site_id']) . '</site_id>
160
- <api_key>' . $this->xmlEscape($this->merchant['api_key']) . '</api_key>
161
- <signature>' . $this->xmlEscape($this->signature) . '</signature>
162
- </merchant>
163
- <transaction>
164
- <id>' . $this->xmlEscape($this->transaction['id']) . '</id>
165
- <amount>' . $this->xmlEscape($this->transaction['amount']) . '</amount>
166
- <currency>' . $this->xmlEscape($this->transaction['currency']) . '</currency>
167
- </transaction>
168
- </refundtransaction>';
169
-
170
- return $request;
171
- }
172
-
173
- /**
174
- * Post the supplied XML data and return the reply
175
- *
176
- * @param $url
177
- * @param $request_xml
178
- * @param bool $verify_peer
179
- * @return bool|string
180
- */
181
- public function xmlPost($url, $request_xml, $verify_peer = false)
182
- {
183
- $curl_available = extension_loaded("curl");
184
-
185
- // generate request
186
- $header = array();
187
-
188
- if (!$curl_available) {
189
- $url = parse_url($url);
190
-
191
- if (empty($url['port'])) {
192
- $url['port'] = $url['scheme'] == "https" ? 443 : 80;
193
- }
194
-
195
- $header[] = "POST " . $url['path'] . "?" . $url['query'] . " HTTP/1.1";
196
- $header[] = "Host: " . $url['host'] . ":" . $url['port'];
197
- $header[] = "Content-Length: " . strlen($request_xml);
198
- }
199
-
200
- $header[] = "Content-Type: text/xml";
201
- $header[] = "Connection: close";
202
-
203
- // issue request
204
- if ($curl_available) {
205
- $ch = curl_init($url);
206
- curl_setopt($ch, CURLOPT_POST, true);
207
- curl_setopt($ch, CURLOPT_HTTPHEADER, $header);
208
- curl_setopt($ch, CURLOPT_POSTFIELDS, $request_xml);
209
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
210
- curl_setopt($ch, CURLOPT_TIMEOUT, 120);
211
- curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, $verify_peer);
212
- curl_setopt($ch, CURLOPT_FOLLOWLOCATION, false);
213
- curl_setopt($ch, CURLOPT_MAXREDIRS, 5);
214
- curl_setopt($ch, CURLOPT_HEADER, true);
215
- //curl_setopt($ch, CURLOPT_HEADER_OUT, true);
216
-
217
- $reply_data = curl_exec($ch);
218
- } else {
219
- $request_data = implode("\r\n", $header);
220
- $request_data .= "\r\n\r\n";
221
- $request_data .= $request_xml;
222
- $reply_data = "";
223
-
224
- $errno = 0;
225
- $errstr = "";
226
-
227
- $fp = fsockopen(($url['scheme'] == "https" ? "ssl://" : "") . $url['host'], $url['port'], $errno, $errstr, 30);
228
-
229
- if ($fp) {
230
- if (function_exists("stream_context_set_params")) {
231
- stream_context_set_params($fp, array(
232
- 'ssl' => array(
233
- 'verify_peer' => $verify_peer,
234
- 'allow_self_signed' => $verify_peer
235
- )
236
- ));
237
- }
238
-
239
- fwrite($fp, $request_data);
240
- fflush($fp);
241
-
242
- while (!feof($fp)) {
243
- $reply_data .= fread($fp, 1024);
244
- }
245
-
246
- fclose($fp);
247
- }
248
- }
249
-
250
- // check response
251
- if ($curl_available) {
252
- if (curl_errno($ch)) {
253
- $this->error_code = -1;
254
- $this->error = "curl error: " . curl_errno($ch);
255
- return false;
256
- }
257
-
258
- $reply_info = curl_getinfo($ch);
259
- curl_close($ch);
260
- } else {
261
- if ($errno) {
262
- $this->error_code = -1;
263
- $this->error = "connection error: " . $errno;
264
- return false;
265
- }
266
-
267
- $header_size = strpos($reply_data, "\r\n\r\n");
268
- $header_data = substr($reply_data, 0, $header_size);
269
- $header = explode("\r\n", $header_data);
270
- $status_line = explode(" ", $header[0]);
271
- $content_type = "application/octet-stream";
272
-
273
- foreach ($header as $header_line) {
274
- $header_parts = explode(":", $header_line);
275
-
276
- if (strtolower($header_parts[0]) == "content-type") {
277
- $content_type = trim($header_parts[1]);
278
- break;
279
- }
280
- }
281
-
282
- $reply_info = array(
283
- 'http_code' => (int) $status_line[1],
284
- 'content_type' => $content_type,
285
- 'header_size' => $header_size + 4
286
- );
287
- }
288
-
289
- if ($reply_info['http_code'] != 200) {
290
- $this->error_code = -1;
291
- $this->error = "http error: " . $reply_info['http_code'];
292
- return false;
293
- }
294
-
295
- if (strstr($reply_info['content_type'], "/xml") === false) {
296
- $this->error_code = -1;
297
- $this->error = "content type error: " . $reply_info['content_type'];
298
- return false;
299
- }
300
-
301
- // split header and body
302
- $reply_header = substr($reply_data, 0, $reply_info['header_size'] - 4);
303
- $reply_xml = substr($reply_data, $reply_info['header_size']);
304
-
305
- if (empty($reply_xml)){
306
- $this->error_code = -1;
307
- $this->error = "received empty response";
308
- return false;
309
- }
310
-
311
- return $reply_xml;
312
- }
313
-
314
- /**
315
- * Parse an xml response
316
- *
317
- * @param $response
318
- * @return bool
319
- */
320
- public function parseXmlResponse($response)
321
- {
322
- // strip xml line
323
- $response = preg_replace('#</\?xml[^>]*>#is', '', $response);
324
-
325
- // parse
326
- $parser = new msp_gc_xmlparser($response);
327
- $this->parsed_xml = $parser->GetData();
328
- $this->parsed_root = $parser->GetRoot();
329
- $rootNode = $this->parsed_xml[$this->parsed_root];
330
-
331
- // check if valid response?
332
-
333
- // check for error
334
- $result = $this->parsed_xml[$this->parsed_root]['result'];
335
- if ($result != "ok") {
336
- $this->error_code = $rootNode['error']['code']['VALUE'];
337
- $this->error = $rootNode['error']['description']['VALUE'];
338
-
339
- return false;
340
- }
341
-
342
- return $rootNode;
343
- }
344
-
345
- /**
346
- * Returns the string escaped for use in XML documents
347
- *
348
- * @param $str string
349
- * @return string
350
- */
351
- public function xmlEscape($str)
352
- {
353
- return htmlspecialchars($str,ENT_COMPAT, "UTF-8");
354
- }
355
-
356
- /**
357
- * Returns the string with all XML escaping removed
358
- *
359
- * @param $str string
360
- * @return string
361
- */
362
- public function xmlUnescape($str)
363
- {
364
- return html_entity_decode($str,ENT_COMPAT, "UTF-8");
365
- }
366
-
367
- /**
368
- * Logging functions
369
- *
370
- * @return mixed
371
- */
372
- public function isDebug()
373
- {
374
- return $this->getConfigData('debug');
375
- }
376
-
377
- /**
378
- * @return void
379
- */
380
- public function log()
381
- {
382
- $argv = func_get_args();
383
- $data = array_shift($argv);
384
-
385
- if (is_string($data)) {
386
- $logData = @vsprintf($data, $argv);
387
-
388
- // if vsprintf failed, just use the data
389
- if (!$logData) {
390
- $logData = $data;
391
- }
392
- } else {
393
- $logData = $data;
394
- }
395
-
396
- if ($this->debug) {
397
- Mage::log($logData, null, $this->_logFileName);
398
- }
399
- }
400
-
401
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/MultiSafepay/Msp/Model/Config/Sources/Order/Currency.php CHANGED
@@ -12,14 +12,20 @@ class MultiSafepay_Msp_Model_Config_Sources_Order_Currency {
12
  */
13
  public function toOptionArray() {
14
  $currencies = array();
15
- $codes = Mage::app()->getStore()->getAvailableCurrencyCodes(true);
16
- foreach($codes as $code){
17
- $currencies[] = array(
 
 
 
 
 
 
18
  "value" => $code,
19
  "label" => Mage::helper("msp")->__($code),
20
  );
21
  }
22
- return $currencies;
23
  }
24
 
25
  }
12
  */
13
  public function toOptionArray() {
14
  $currencies = array();
15
+ //$storeId = Mage::app()->getRequest()->getParam('store', 0);
16
+ //$codes = Mage::app()->getStore($storeId)->getAvailableCurrencyCodes(true);
17
+ //$codes = Mage::app()->getStore()->getAvailableCurrencyCodes(true);
18
+
19
+ $currencyModel = Mage::getModel('directory/currency');
20
+ $currencies = $currencyModel->getConfigAllowCurrencies();
21
+
22
+ foreach($currencies as $code){
23
+ $currencies2[] = array(
24
  "value" => $code,
25
  "label" => Mage::helper("msp")->__($code),
26
  );
27
  }
28
+ return $currencies2;
29
  }
30
 
31
  }
app/code/community/MultiSafepay/Msp/Model/Gateway/Abstract.php CHANGED
@@ -127,7 +127,8 @@ abstract class MultiSafepay_Msp_Model_Gateway_Abstract extends Mage_Payment_Mode
127
  }
128
  }
129
  } else {
130
-
 
131
  if(in_array($this->_code, $this->gateways)){
132
  $this->_configCode = 'msp_gateways';
133
  $this->_module = 'msp_gateways';
@@ -369,7 +370,15 @@ abstract class MultiSafepay_Msp_Model_Gateway_Abstract extends Mage_Payment_Mode
369
  public function refund(Varien_Object $payment, $amount) {
370
  $order = $payment->getOrder();
371
  $payment = $order->getPayment()->getMethodInstance();
372
-
 
 
 
 
 
 
 
 
373
  switch ($payment->getCode()) {
374
  // MSP - Fast Checkout
375
  case self::MSP_FASTCHECKOUT_CODE:
127
  }
128
  }
129
  } else {
130
+ $isAllowConvert = false;
131
+ $currencies = array();
132
  if(in_array($this->_code, $this->gateways)){
133
  $this->_configCode = 'msp_gateways';
134
  $this->_module = 'msp_gateways';
370
  public function refund(Varien_Object $payment, $amount) {
371
  $order = $payment->getOrder();
372
  $payment = $order->getPayment()->getMethodInstance();
373
+ $data = Mage::app()->getRequest()->getPost('creditmemo');
374
+ $refunded_servicecost = $data['servicecost'];
375
+
376
+
377
+ if($refunded_servicecost != $order->getServicecost()){
378
+ $amount = $amount - $order->getServicecost() + $refunded_servicecost;
379
+ }
380
+
381
+
382
  switch ($payment->getCode()) {
383
  // MSP - Fast Checkout
384
  case self::MSP_FASTCHECKOUT_CODE:
app/code/community/MultiSafepay/Msp/Model/Observer/Creditmemo.php DELETED
@@ -1,153 +0,0 @@
1
- <?php
2
- /**
3
- *
4
- * @category MultiSafepay
5
- * @package MultiSafepay_Msp
6
- * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
7
- */
8
-
9
- class MultiSafepay_Msp_Model_Observer_Creditmemo extends MultiSafepay_Msp_Model_Observer_Abstract
10
- {
11
- const MSP_GENERAL_CODE = 'msp';
12
- const MSP_FASTCHECKOUT_CODE = 'mspcheckout';
13
- const MSP_GENERAL_PAD_CODE = 'msp_payafter';
14
- const MSP_GATEWAYS_CODE_PREFIX = 'msp_';
15
-
16
- public $availablePaymentMethodCodes = array(
17
- 'msp',
18
- 'mspcheckout',
19
- 'msp_ideal',
20
- 'msp_payafter',
21
- 'msp_mistercash',
22
- 'msp_visa',
23
- 'msp_mastercard',
24
- 'msp_banktransfer',
25
- 'msp_maestro',
26
- 'msp_paypal',
27
- 'msp_webgift',
28
- 'msp_ebon',
29
- 'msp_babygiftcard',
30
- 'msp_boekenbon',
31
- 'msp_erotiekbon',
32
- 'msp_fijncadeau',
33
- 'msp_parfumnl',
34
- 'msp_parfumcadeaukaart',
35
- 'msp_degrotespeelgoedwinkel',
36
- 'msp_giropay',
37
- 'msp_multisafepay',
38
- 'msp_directebanking',
39
- 'msp_directdebit',
40
- 'msp_fastcheckout',
41
- 'msp_amex',
42
- );
43
-
44
- public function sales_order_creditmemo_save_after(Varien_Event_Observer $observer)
45
- {
46
- /** @var $event Varien_Event */
47
- $event = $observer->getEvent();
48
-
49
- $orderId = $event->getDataObject('order_id');
50
-
51
- /** @var $order Mage_Sales_Model_Order */
52
- $order = Mage::getModel('sales/order')->load($orderId);
53
-
54
- /** @var $payment Mage_Payment_Model_Method_Abstract */
55
- $payment = $order->getPayment()->getMethodInstance();
56
-
57
- switch ($payment->getCode()) {
58
- // MSP - Fast Checkout
59
- case self::MSP_FASTCHECKOUT_CODE:
60
- $settingsPathPrefix = 'mspcheckout/settings';
61
- break;
62
-
63
- // General (Main settings in the 'Payment Methods' tab
64
- case self::MSP_GENERAL_CODE:
65
- $settingsPathPrefix = 'payment/msp';
66
- break;
67
-
68
- // MSP - Gateways (Pay After Delivery)
69
- case self::MSP_GENERAL_PAD_CODE:
70
- $settingsPathPrefix = 'msp/' . self::MSP_GENERAL_PAD_CODE;
71
- break;
72
-
73
- // MSP - Gateways
74
- default:
75
- $settingsPathPrefix = 'msp/settings';
76
- break;
77
- }
78
-
79
- // use refund by Credit Memo is enabled
80
- $pathCreditMemoIsEnabled = ($payment->getCode() == self::MSP_GENERAL_PAD_CODE) ? 'msp/settings' : $settingsPathPrefix;
81
- if (!Mage::getStoreConfigFlag($pathCreditMemoIsEnabled . '/use_refund_credit_memo', $order->getStoreId())) {
82
- return $this;
83
- }
84
-
85
- // check payment method is from MultiSafepayment
86
- if (!in_array($payment->getCode(), $this->availablePaymentMethodCodes)) {
87
- return $this;
88
- }
89
-
90
- // check order's payment method is enabled now
91
- if (!in_array($payment->getCode(), $this->_getAllActivePaymentMethods($order->getStoreId()))) {
92
- return $this;
93
- }
94
-
95
- $baseGrandTotal = floatval($order->getBaseGrandTotal());
96
-
97
- // check is payment method PAD
98
- if ($payment->getCode() == self::MSP_GENERAL_PAD_CODE &&
99
- $event->getDataObject('grand_total') != $baseGrandTotal) {
100
-
101
- Mage::getSingleton('adminhtml/session')->addNotice(Mage::helper('msp')->__('Impossible to do partial refund for orders that were paid by "Pay After Delivery". You can do partial refund from your MultiSafepay account by using the checkout editor'));
102
- return $this;
103
- }
104
-
105
- $config = Mage::getStoreConfig($settingsPathPrefix, $order->getStoreId());
106
-
107
- /** @var $api MultiSafepay_Msp_Model_Api_Creditmemo */
108
- $api = Mage::getModel('msp/api_creditmemo');
109
-
110
- if ($payment->getCode() == self::MSP_GENERAL_PAD_CODE) {
111
- $configMain = Mage::getStoreConfig('msp/settings', $order->getStoreId());
112
- $api->test = ($config['test_api_pad'] == 'test');
113
- $suffix = '';
114
-
115
- if ($api->test) {
116
- $suffix = '_test';
117
- }
118
-
119
- $api->merchant['account_id'] = $config['account_id_pad' . $suffix];
120
- $api->merchant['site_id'] = $config['site_id_pad' . $suffix];
121
- $api->merchant['security_code'] = $config['secure_code_pad' . $suffix];
122
- $api->merchant['api_key'] = $configMain['api_key'];
123
- $api->debug = $configMain['debug'];
124
- }
125
- else {
126
- $api->test = ($config['test_api'] == 'test');
127
- $api->merchant['account_id'] = $config['account_id'];
128
- $api->merchant['site_id'] = $config['site_id'];
129
- $api->merchant['security_code'] = $config['secure_code'];
130
- $api->merchant['api_key'] = $config['api_key'];
131
- $api->debug = $config['debug'];
132
- }
133
-
134
- if ($payment->getCode() == self::MSP_FASTCHECKOUT_CODE) {
135
- $api->transaction['id'] = $order->getQuoteId();
136
- } else {
137
- $api->transaction['id'] = $order->getIncrementId();
138
- }
139
-
140
- $api->transaction['amount'] = intval($event->getDataObject('grand_total') * 100);
141
- $api->transaction['currency'] = $event->getDataObject('order_currency_code');
142
-
143
- $response = $api->startTransaction();
144
-
145
- if ($response['error']) {
146
- Mage::getSingleton('adminhtml/session')->addError($response['code'] . ' - ' . $response['description']);
147
- } else {
148
- Mage::getSingleton('adminhtml/session')->addNotice(Mage::helper('msp')->__('Refund request has been sent successfully to MultiSafepay, your transaction has been refunded.'));
149
- }
150
-
151
- return $this;
152
- }
153
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/MultiSafepay/Msp/Model/Observer/Shipment.php CHANGED
@@ -1,103 +1,105 @@
1
- <?php
2
-
3
- /**
4
- *
5
- * @category MultiSafepay
6
- * @package MultiSafepay_Msp
7
- */
8
- class MultiSafepay_Msp_Model_Observer_Shipment extends MultiSafepay_Msp_Model_Observer_Abstract {
9
-
10
- public $availablePaymentMethodCodes = array(
11
- 'msp_payafter',
12
- 'msp_klarna',
13
- );
14
-
15
- public function sales_order_shipment_save_after(Varien_Event_Observer $observer) {
16
- /** @var $event Varien_Event */
17
- $event = $observer->getEvent();
18
-
19
- /** @var $shipment Mage_Sales_Model_Order_Shipment */
20
- $shipment = $event->getShipment();
21
-
22
- /** @var $order Mage_Sales_Model_Order */
23
- $order = $shipment->getOrder();
24
-
25
- // use send request if enabled
26
- if (!Mage::getStoreConfigFlag('msp/'.$order->getPayment()->getMethodInstance()->getCode().'/send_request_after_shipping', $order->getStoreId())) {
27
- return $this;
28
- }
29
-
30
- /** @var $payment Mage_Payment_Model_Method_Abstract */
31
- $payment = $order->getPayment()->getMethodInstance();
32
-
33
- // check payment method is from MultiSafepayment
34
- if (!in_array($payment->getCode(), $this->availablePaymentMethodCodes)) {
35
- return $this;
36
- }
37
-
38
- // check order's payment method is enabled now
39
- if (!in_array($payment->getCode(), $this->_getAllActivePaymentMethods($order->getStoreId()))) {
40
- return $this;
41
- }
42
-
43
- $invoiceId = $order->getInvoiceCollection()->getFirstItem()->getId();
44
-
45
- /** @var $checkout MultiSafepay_Msp_Model_Checkout */
46
- $checkout = Mage::getModel('msp/checkout');
47
-
48
- /** @var $base MultiSafepay_Msp_Model_Base */
49
- $base = $checkout->getBase($order->getId());
50
-
51
- $configPayAfter = Mage::getStoreConfig('msp/'.$order->getPayment()->getMethodInstance()->getCode(), $order->getStoreId());
52
- $configGateway = Mage::getStoreConfig('msp/settings', $order->getStoreId());
53
-
54
- /** @var $api MultiSafepay_Msp_Model_Api_Shipment */
55
- $api = Mage::getSingleton('msp/api_shipment');
56
-
57
- $suffix = '';
58
- if ($configPayAfter['test_api_pad'] == 'test') {
59
- $suffix = '_test';
60
- }
61
-
62
- $api->test = ($configPayAfter['test_api_pad'] == 'test');
63
- $api->debug = $configGateway['debug'];
64
-
65
- $api->merchant['account_id'] = $configPayAfter['account_id_pad' . $suffix];
66
- $api->merchant['site_id'] = $configPayAfter['site_id_pad' . $suffix];
67
- $api->merchant['site_code'] = $configPayAfter['secure_code_pad' . $suffix];
68
-
69
- $api->transaction['id'] = $order->getIncrementId();
70
- $api->transaction['invoice_id'] = $invoiceId;
71
- $api->transaction['shipdate'] = date('Y-m-d H:i:s');
72
- $api->transaction['carrier'] = $order->getShippingDescription();
73
-
74
- if ($trackings = Mage::app()->getRequest()->getParam('tracking')) {
75
- $trackingNumbers = '';
76
- foreach ($trackings as $tracking) {
77
- $trackingNumbers .= $tracking['title'] . '|' . $tracking['number'] . ';';
78
- }
79
- $api->transaction['shipper_trace_code'] = trim($trackingNumbers, ';');
80
- } else {
81
- $api->transaction['shipper_trace_code'] = '';
82
- }
83
-
84
- $base->log("Invoice id: $invoiceId, Order id: {$order->getId()}, Transaction id: {$order->getIncrementId()}");
85
-
86
- // Send update XML
87
- $result = $api->updateTransaction();
88
-
89
- // Check error code
90
- if ($api->error) {
91
- $base->log("Error " . $api->error_code . ": " . $api->error);
92
- }
93
-
94
- if ($result) {
95
- Mage::getSingleton('adminhtml/session')->addNotice(Mage::helper('msp')->__('The order has been successfully set to shipped within your MultiSafepay transaction, the Pay After Delivery process continues.'));
96
- } else {
97
- Mage::getSingleton('adminhtml/session')->addError($api->error_code . ' - ' . $api->error);
98
- }
99
-
100
- return $this;
101
- }
102
-
103
- }
 
 
1
+ <?php
2
+
3
+ /**
4
+ *
5
+ * @category MultiSafepay
6
+ * @package MultiSafepay_Msp
7
+ */
8
+ class MultiSafepay_Msp_Model_Observer_Shipment extends MultiSafepay_Msp_Model_Observer_Abstract {
9
+
10
+ public $availablePaymentMethodCodes = array(
11
+ 'msp_payafter',
12
+ 'msp_klarna',
13
+ );
14
+
15
+ public function sales_order_shipment_save_after(Varien_Event_Observer $observer) {
16
+ /** @var $event Varien_Event */
17
+ $event = $observer->getEvent();
18
+
19
+ /** @var $shipment Mage_Sales_Model_Order_Shipment */
20
+ $shipment = $event->getShipment();
21
+
22
+ /** @var $order Mage_Sales_Model_Order */
23
+ $order = $shipment->getOrder();
24
+
25
+ // use send request if enabled
26
+ if (!Mage::getStoreConfigFlag('msp_gateways/'.$order->getPayment()->getMethodInstance()->getCode().'/send_request_after_shipping', $order->getStoreId())) {
27
+ return $this;
28
+ }
29
+
30
+
31
+
32
+ /** @var $payment Mage_Payment_Model_Method_Abstract */
33
+ $payment = $order->getPayment()->getMethodInstance();
34
+
35
+ // check payment method is from MultiSafepayment
36
+ if (!in_array($payment->getCode(), $this->availablePaymentMethodCodes)) {
37
+ return $this;
38
+ }
39
+
40
+ // check order's payment method is enabled now
41
+ if (!in_array($payment->getCode(), $this->_getAllActivePaymentMethods($order->getStoreId()))) {
42
+ return $this;
43
+ }
44
+
45
+ $invoiceId = $order->getInvoiceCollection()->getFirstItem()->getId();
46
+
47
+ /** @var $checkout MultiSafepay_Msp_Model_Checkout */
48
+ $checkout = Mage::getModel('msp/checkout');
49
+
50
+ /** @var $base MultiSafepay_Msp_Model_Base */
51
+ $base = $checkout->getBase($order->getId());
52
+
53
+ $configPayAfter = Mage::getStoreConfig('msp_gateways/'.$order->getPayment()->getMethodInstance()->getCode(), $order->getStoreId());
54
+ $configGateway = Mage::getStoreConfig('msp/settings', $order->getStoreId());
55
+
56
+ /** @var $api MultiSafepay_Msp_Model_Api_Shipment */
57
+ $api = Mage::getSingleton('msp/api_shipment');
58
+
59
+ $suffix = '';
60
+ if ($configPayAfter['test_api_pad'] == 'test') {
61
+ $suffix = '_test';
62
+ }
63
+
64
+ $api->test = ($configPayAfter['test_api_pad'] == 'test');
65
+ $api->debug = $configGateway['debug'];
66
+
67
+ $api->merchant['account_id'] = $configPayAfter['account_id_pad' . $suffix];
68
+ $api->merchant['site_id'] = $configPayAfter['site_id_pad' . $suffix];
69
+ $api->merchant['site_code'] = $configPayAfter['secure_code_pad' . $suffix];
70
+
71
+ $api->transaction['id'] = $order->getIncrementId();
72
+ $api->transaction['invoice_id'] = $invoiceId;
73
+ $api->transaction['shipdate'] = date('Y-m-d H:i:s');
74
+ $api->transaction['carrier'] = $order->getShippingDescription();
75
+
76
+ if ($trackings = Mage::app()->getRequest()->getParam('tracking')) {
77
+ $trackingNumbers = '';
78
+ foreach ($trackings as $tracking) {
79
+ $trackingNumbers .= $tracking['title'] . '|' . $tracking['number'] . ';';
80
+ }
81
+ $api->transaction['shipper_trace_code'] = trim($trackingNumbers, ';');
82
+ } else {
83
+ $api->transaction['shipper_trace_code'] = '';
84
+ }
85
+
86
+ $base->log("Invoice id: $invoiceId, Order id: {$order->getId()}, Transaction id: {$order->getIncrementId()}");
87
+
88
+ // Send update XML
89
+ $result = $api->updateTransaction();
90
+
91
+ // Check error code
92
+ if ($api->error) {
93
+ $base->log("Error " . $api->error_code . ": " . $api->error);
94
+ }
95
+
96
+ if ($result) {
97
+ Mage::getSingleton('adminhtml/session')->addNotice(Mage::helper('msp')->__('The order has been successfully set to shipped within your MultiSafepay transaction, the process continues.'));
98
+ } else {
99
+ Mage::getSingleton('adminhtml/session')->addError($api->error_code . ' - ' . $api->error);
100
+ }
101
+
102
+ return $this;
103
+ }
104
+
105
+ }
app/code/community/MultiSafepay/Msp/Model/Payment.php CHANGED
@@ -466,13 +466,13 @@ class MultiSafepay_Msp_Model_Payment extends Varien_Object {
466
  $total_fee += $fixed_fee;
467
  $fee = $total_fee;
468
  $tax = ($fee / $bigRate) * $rate;
469
- $fee = $fee - $tax;
470
 
471
 
472
  //add pay after delivery fee if enabled
473
- if (Mage::getStoreConfig('msp/msp_' . strtolower($this->_gateway) . '/fee')) {
474
  $c_item = new MspItem('Fee', 'Fee', 1, $fee, 'KG', 0); // Todo adjust the amount to cents, and round it up.
475
- $c_item->SetMerchantItemId('msp-fee');
476
  $c_item->SetTaxTableSelector('FEE');
477
  $this->api->cart->AddItem($c_item);
478
  }
@@ -487,8 +487,17 @@ class MultiSafepay_Msp_Model_Payment extends Varien_Object {
487
 
488
  //Add shipping line item
489
  $title = $this->getOrder()->getShippingDescription();
490
- $price = number_format($this->_convertCurrency($this->getOrder()->getShippingAmount(), $currentCurrencyCode, $currencyCode), 4, '.', '');
491
- //$price = (float) Mage::helper('tax')->getShippingPrice($price, false, false);
 
 
 
 
 
 
 
 
 
492
 
493
  $shipping_tax_id = 'none';
494
 
@@ -506,7 +515,7 @@ class MultiSafepay_Msp_Model_Payment extends Varien_Object {
506
  }
507
 
508
  $c_item = new MspItem($title, 'Shipping', 1, $price, 'KG', 0);
509
- $c_item->SetMerchantItemId('shipping');
510
  $c_item->SetTaxTableSelector($shipping_tax_id); //TODO Validate this one.
511
  $this->api->cart->AddItem($c_item);
512
  //End shipping line item
@@ -554,7 +563,7 @@ class MultiSafepay_Msp_Model_Payment extends Varien_Object {
554
  Mage::app()->getFrontController()->getResponse()->setRedirect(Mage::getUrl('checkout/cart'));
555
  Mage::app()->getResponse()->sendResponse();
556
  $newState = Mage_Sales_Model_Order::STATE_CANCELED;
557
- $statusMessage = Mage::helper("msp")->__("Canceleld because of transaction request error");
558
  $newStatus = $this->getConfigData("void_status");
559
 
560
  $order->cancel(); // this trigers stock updates
@@ -779,6 +788,13 @@ class MultiSafepay_Msp_Model_Payment extends Varien_Object {
779
  //$quantity = round($item->getQtyOrdered(), 2);
780
 
781
  $ndata = $item->getData();
 
 
 
 
 
 
 
782
 
783
  if ($ndata['price'] != 0) {
784
  //Test-> Magento rounds at 2 decimals so the recalculation goes wrong with large quantities.
@@ -788,7 +804,7 @@ class MultiSafepay_Msp_Model_Payment extends Varien_Object {
788
  $price_without_tax = $price_with_tax / $divided_value;
789
  $price = round($price_without_tax, 4); */
790
 
791
- $price = number_format($this->_convertCurrency($ndata['price'], $currentCurrencyCode, $targetCurrencyCode), 4, '.', '');
792
 
793
  $tierprices = $proddata->getTierPrice();
794
  if (count($tierprices) > 0) {
@@ -808,13 +824,14 @@ class MultiSafepay_Msp_Model_Payment extends Varien_Object {
808
  $price = $value->price;
809
  }
810
 
811
- $price = number_format($this->_convertCurrency($price, $currentCurrencyCode, $targetCurrencyCode), 4, '.', '');
812
  }
813
  }
814
 
815
  // Fix for 1027 with catalog prices including tax
816
  if (Mage::getStoreConfig('tax/calculation/price_includes_tax')) {
817
  $price = ($item->getRowTotalInclTax() / $item->getQtyOrdered() / (1 + ($item->getTaxPercent() / 100)));
 
818
  }
819
 
820
 
466
  $total_fee += $fixed_fee;
467
  $fee = $total_fee;
468
  $tax = ($fee / $bigRate) * $rate;
469
+ $fee = $fee - $tax;
470
 
471
 
472
  //add pay after delivery fee if enabled
473
+ if (Mage::getStoreConfig('msp_gateways/msp_' . strtolower($this->_gateway) . '/fee')) {
474
  $c_item = new MspItem('Fee', 'Fee', 1, $fee, 'KG', 0); // Todo adjust the amount to cents, and round it up.
475
+ $c_item->SetMerchantItemId('payment-fee');
476
  $c_item->SetTaxTableSelector('FEE');
477
  $this->api->cart->AddItem($c_item);
478
  }
487
 
488
  //Add shipping line item
489
  $title = $this->getOrder()->getShippingDescription();
490
+
491
+ //Code blow added to recalculate excluding tax for the shipping cost. Older Magento installations round differently, causing a 1 cent mismatch. This is why we recalculate it.
492
+ $diff= $this->getOrder()->getShippingInclTax()- $this->getOrder()->getShippingAmount();
493
+ $test = ($diff/$this->getOrder()->getShippingAmount())*100;
494
+ $shipping_percentage = 1 + round($test, 0)/100;
495
+ $shippin_exc_tac_calculated = $this->getOrder()->getShippingInclTax()/$shipping_percentage;
496
+
497
+ $price = number_format($this->_convertCurrency($shippin_exc_tac_calculated, $currentCurrencyCode, $currencyCode), 10, '.', '');
498
+ /*End code */
499
+
500
+ //$price = number_format($this->_convertCurrency($this->getOrder()->getShippingAmount(), $currentCurrencyCode, $currencyCode), 10, '.', '');
501
 
502
  $shipping_tax_id = 'none';
503
 
515
  }
516
 
517
  $c_item = new MspItem($title, 'Shipping', 1, $price, 'KG', 0);
518
+ $c_item->SetMerchantItemId('msp-shipping');
519
  $c_item->SetTaxTableSelector($shipping_tax_id); //TODO Validate this one.
520
  $this->api->cart->AddItem($c_item);
521
  //End shipping line item
563
  Mage::app()->getFrontController()->getResponse()->setRedirect(Mage::getUrl('checkout/cart'));
564
  Mage::app()->getResponse()->sendResponse();
565
  $newState = Mage_Sales_Model_Order::STATE_CANCELED;
566
+ $statusMessage = Mage::helper("msp")->__("Canceled because of transaction request error");
567
  $newStatus = $this->getConfigData("void_status");
568
 
569
  $order->cancel(); // this trigers stock updates
788
  //$quantity = round($item->getQtyOrdered(), 2);
789
 
790
  $ndata = $item->getData();
791
+
792
+
793
+ if($this->api->transaction['gateway'] == 'KLARNA'){
794
+ $rounding = 10;
795
+ }else{
796
+ $rounding = 10;
797
+ }
798
 
799
  if ($ndata['price'] != 0) {
800
  //Test-> Magento rounds at 2 decimals so the recalculation goes wrong with large quantities.
804
  $price_without_tax = $price_with_tax / $divided_value;
805
  $price = round($price_without_tax, 4); */
806
 
807
+ $price = number_format($this->_convertCurrency($ndata['price'], $currentCurrencyCode, $targetCurrencyCode), $rounding, '.', '');
808
 
809
  $tierprices = $proddata->getTierPrice();
810
  if (count($tierprices) > 0) {
824
  $price = $value->price;
825
  }
826
 
827
+ $price = number_format($this->_convertCurrency($price, $currentCurrencyCode, $targetCurrencyCode), $rounding, '.', '');
828
  }
829
  }
830
 
831
  // Fix for 1027 with catalog prices including tax
832
  if (Mage::getStoreConfig('tax/calculation/price_includes_tax')) {
833
  $price = ($item->getRowTotalInclTax() / $item->getQtyOrdered() / (1 + ($item->getTaxPercent() / 100)));
834
+ $price = round($price, $rounding);
835
  }
836
 
837
 
app/code/community/MultiSafepay/Msp/Model/Servicecost/Observer.php CHANGED
@@ -15,15 +15,61 @@ class MultiSafepay_Msp_Model_Servicecost_Observer {
15
  }
16
 
17
  public function creditmemoSaveAfter(Varien_Event_Observer $observer) {
 
 
 
 
 
 
18
  $creditmemo = $observer->getEvent()->getCreditmemo();
19
- if ($creditmemo->getServicecost()) {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
20
  $order = $creditmemo->getOrder();
21
  $order->setServicecostRefunded($creditmemo->getServicecost());
22
  $order->setBaseServicecostRefunded($creditmemo->getBaseServicecost());
23
  $order->setServicecostTaxRefunded($creditmemo->getServicecostTax());
24
  $order->setBaseServicecostTaxRefunded($creditmemo->getBaseServicecostTax());
25
- }
26
  return $this;
27
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
28
 
29
  }
15
  }
16
 
17
  public function creditmemoSaveAfter(Varien_Event_Observer $observer) {
18
+
19
+ $data = Mage::app()->getRequest()->getPost('creditmemo');
20
+
21
+ $refunded_servicecost = $data['servicecost'];
22
+
23
+ // print_r($data);exit;
24
  $creditmemo = $observer->getEvent()->getCreditmemo();
25
+
26
+ if ($refunded_servicecost != '0') {
27
+ $order = $creditmemo->getOrder();
28
+ $order->setServicecostRefunded($refunded_servicecost);
29
+ $order->setBaseServicecostRefunded($refunded_servicecost);
30
+
31
+ if($order->getTotalOfflineRefunded() !=null){
32
+ $order->setTotalOfflineRefunded($order->getTotalOfflineRefunded() - $creditmemo->getServicecost() + $refunded_servicecost);
33
+ $order->setBaseTotalOfflineRefunded($order->getBaseTotalOfflineRefunded()-$creditmemo->getServicecost() +$refunded_servicecost);
34
+ }else{
35
+ $order->setTotalOnlineRefunded($order->getTotalOnlineRefunded()-$creditmemo->getServicecost() +$refunded_servicecost);
36
+ $order->setBaseTotalOnlineRefunded($order->getBaseTotalOnlineRefunded()-$creditmemo->getServicecost() +$refunded_servicecost);
37
+ }
38
+ $order->setBaseTotalRefunded($order->getBaseTotalRefunded()-$creditmemo->getServicecost() +$refunded_servicecost);
39
+ $order->setTotalRefunded($order->getTotalRefunded()-$creditmemo->getServicecost() +$refunded_servicecost);
40
+
41
+ //$order->setServicecostTaxRefunded($creditmemo->getServicecostTax());
42
+ //$order->setBaseServicecostTaxRefunded($creditmemo->getBaseServicecostTax());
43
+
44
+ }
45
+ //$creditmemo->setGrandTotal(5);
46
+ /*if ($creditmemo->getServicecost()) {
47
  $order = $creditmemo->getOrder();
48
  $order->setServicecostRefunded($creditmemo->getServicecost());
49
  $order->setBaseServicecostRefunded($creditmemo->getBaseServicecost());
50
  $order->setServicecostTaxRefunded($creditmemo->getServicecostTax());
51
  $order->setBaseServicecostTaxRefunded($creditmemo->getBaseServicecostTax());
52
+ }*/
53
  return $this;
54
  }
55
+
56
+ public function creditmemoRefund(Varien_Event_Observer $observer)
57
+ {
58
+ $creditmemo = $observer->getEvent()->getCreditmemo();
59
+ $data = Mage::app()->getRequest()->getPost('creditmemo');
60
+ $order = $creditmemo->getOrder();
61
+
62
+ $refunded_servicecost = $data['servicecost'];
63
+
64
+ $base_credit= $order->getBaseSubtotalInvoiced()+ $data['servicecost']+$data['shipping_amount']+$data['adjustment_positive']-$data['adjustment_negative'];
65
+ $credit= $order->getSubtotalInvoiced()+ $data['servicecost']+$data['shipping_amount']+$data['adjustment_positive']-$data['adjustment_negative'];
66
+
67
+
68
+
69
+ $creditmemo->setGrandTotal($credit);
70
+ $creditmemo->setBaseGrandTotal($base_credit);
71
+
72
+
73
+ }
74
 
75
  }
app/code/community/MultiSafepay/Msp/controllers/StandardController.php CHANGED
@@ -217,7 +217,7 @@ class MultiSafepay_Msp_StandardController extends Mage_Core_Controller_Front_Act
217
  $storeId = Mage::app()->getStore()->getStoreId();
218
  $config = Mage::getStoreConfig('mspcheckout' . "/settings", $storeId);
219
 
220
- if (isset($config["account_id"])) {
221
  $msp = new MultiSafepay();
222
  $msp->test = ($config["test_api"] == 'test');
223
  $msp->merchant['account_id'] = $config["account_id"];
217
  $storeId = Mage::app()->getStore()->getStoreId();
218
  $config = Mage::getStoreConfig('mspcheckout' . "/settings", $storeId);
219
 
220
+ if ($config["active"]) {//if (isset($config["account_id"])) {
221
  $msp = new MultiSafepay();
222
  $msp->test = ($config["test_api"] == 'test');
223
  $msp->merchant['account_id'] = $config["account_id"];
app/code/community/MultiSafepay/Msp/etc/config.xml CHANGED
@@ -9,7 +9,7 @@
9
  <config>
10
  <modules>
11
  <MultiSafepay_Msp>
12
- <version>2.2.0</version>
13
  </MultiSafepay_Msp>
14
  </modules>
15
  <global>
@@ -163,6 +163,16 @@
163
  </sales_order_creditmemo_save_after>
164
  </observers>
165
  </sales_order_creditmemo_save_after>
 
 
 
 
 
 
 
 
 
 
166
  </events>
167
  </global>
168
  <adminhtml>
9
  <config>
10
  <modules>
11
  <MultiSafepay_Msp>
12
+ <version>2.2.1</version>
13
  </MultiSafepay_Msp>
14
  </modules>
15
  <global>
163
  </sales_order_creditmemo_save_after>
164
  </observers>
165
  </sales_order_creditmemo_save_after>
166
+ <sales_order_creditmemo_refund> <!-- identifier of the event we want to catch -->
167
+ <observers>
168
+ <sales_order_creditmemo_refund_handler> <!-- identifier of the event handler -->
169
+ <type>model</type> <!-- class method call type; valid are model, object and singleton -->
170
+ <class>msp/servicecost_observer</class> <!-- observers class alias -->
171
+ <method>creditmemoRefund</method> <!-- observer's method to be called -->
172
+ <args></args> <!-- additional arguments passed to observer -->
173
+ </sales_order_creditmemo_refund_handler>
174
+ </observers>
175
+ </sales_order_creditmemo_refund>
176
  </events>
177
  </global>
178
  <adminhtml>
app/code/community/MultiSafepay/Msp/etc/system.xml CHANGED
@@ -9,7 +9,7 @@
9
  <config>
10
  <tabs>
11
  <ms translate="label">
12
- <label><![CDATA[<div style="display:inline-block;color:#00adee;text-transform: capitalize;font-size: 120%;font-weight:900;font-family:Tahoma, Geneva, sans-serif;">Multi</div><div style="display:inline-block;color:black;text-transform: capitalize;font-size: 120%;font-weight:900;font-family:Tahoma, Geneva, sans-serif;">Safepay</div><div style="display: inline-block;vertical-align: middle;border: 3px dotted #666;width:8px;height:8px;border-radius:8px;margin-bottom:3px;margin-left:3px;"></div>&nbsp;&nbsp;]]> (2.2.0)</label>
13
  <sort_order>301</sort_order>
14
  <!--<class>admin-system-config-msp</class>-->
15
  </ms>
@@ -1089,6 +1089,14 @@
1089
  <show_in_website>1</show_in_website>
1090
  <show_in_store>1</show_in_store>
1091
  </instructions>
 
 
 
 
 
 
 
 
1092
  <max_order_total translate="label">
1093
  <label>Maximum Order Total</label>
1094
  <frontend_type>text</frontend_type>
@@ -1220,6 +1228,14 @@
1220
  <show_in_website>1</show_in_website>
1221
  <show_in_store>1</show_in_store>
1222
  </instructions>
 
 
 
 
 
 
 
 
1223
  <max_order_total translate="label">
1224
  <label>Maximum Order Total</label>
1225
  <frontend_type>text</frontend_type>
@@ -1352,6 +1368,14 @@
1352
  <show_in_website>1</show_in_website>
1353
  <show_in_store>1</show_in_store>
1354
  </instructions>
 
 
 
 
 
 
 
 
1355
  <max_order_total translate="label">
1356
  <label>Maximum Order Total</label>
1357
  <frontend_type>text</frontend_type>
@@ -1483,6 +1507,14 @@
1483
  <show_in_website>1</show_in_website>
1484
  <show_in_store>1</show_in_store>
1485
  </instructions>
 
 
 
 
 
 
 
 
1486
  <max_order_total translate="label">
1487
  <label>Maximum Order Total</label>
1488
  <frontend_type>text</frontend_type>
@@ -1623,6 +1655,14 @@
1623
  <show_in_website>1</show_in_website>
1624
  <show_in_store>1</show_in_store>
1625
  </instructions>
 
 
 
 
 
 
 
 
1626
  <max_order_total translate="label">
1627
  <label>Maximum Order Total</label>
1628
  <frontend_type>text</frontend_type>
@@ -1754,6 +1794,14 @@
1754
  <show_in_website>1</show_in_website>
1755
  <show_in_store>1</show_in_store>
1756
  </instructions>
 
 
 
 
 
 
 
 
1757
  <max_order_total translate="label">
1758
  <label>Maximum Order Total</label>
1759
  <frontend_type>text</frontend_type>
@@ -1885,6 +1933,14 @@
1885
  <show_in_website>1</show_in_website>
1886
  <show_in_store>1</show_in_store>
1887
  </instructions>
 
 
 
 
 
 
 
 
1888
  <max_order_total translate="label">
1889
  <label>Maximum Order Total</label>
1890
  <frontend_type>text</frontend_type>
@@ -2017,6 +2073,14 @@
2017
  <show_in_website>1</show_in_website>
2018
  <show_in_store>1</show_in_store>
2019
  </instructions>
 
 
 
 
 
 
 
 
2020
  <max_order_total translate="label">
2021
  <label>Maximum Order Total</label>
2022
  <frontend_type>text</frontend_type>
@@ -2148,6 +2212,22 @@
2148
  <show_in_website>1</show_in_website>
2149
  <show_in_store>1</show_in_store>
2150
  </instructions>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2151
  <fee translate="label">
2152
  <label>Enable fee (inc. Tax)</label>
2153
  <frontend_type>select</frontend_type>
@@ -2271,6 +2351,15 @@
2271
  <show_in_website>1</show_in_website>
2272
  <show_in_store>1</show_in_store>
2273
  </instructions>
 
 
 
 
 
 
 
 
 
2274
  <max_order_total translate="label">
2275
  <label>Maximum Order Total</label>
2276
  <frontend_type>text</frontend_type>
@@ -2402,6 +2491,14 @@
2402
  <show_in_website>1</show_in_website>
2403
  <show_in_store>1</show_in_store>
2404
  </instructions>
 
 
 
 
 
 
 
 
2405
  <max_order_total translate="label">
2406
  <label>Maximum Order Total</label>
2407
  <frontend_type>text</frontend_type>
@@ -2617,6 +2714,22 @@
2617
  <show_in_website>1</show_in_website>
2618
  <show_in_store>1</show_in_store>
2619
  </instructions>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2620
  <fee translate="label">
2621
  <label>Enable fee (inc. Tax)</label>
2622
  <frontend_type>select</frontend_type>
@@ -3010,6 +3123,22 @@
3010
  <show_in_website>1</show_in_website>
3011
  <show_in_store>1</show_in_store>
3012
  </instructions>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3013
  <fee translate="label">
3014
  <label>Enable fee (inc. Tax)</label>
3015
  <frontend_type>select</frontend_type>
@@ -3207,6 +3336,22 @@
3207
  <show_in_website>1</show_in_website>
3208
  <show_in_store>1</show_in_store>
3209
  </instructions>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3210
  <fee translate="label">
3211
  <label>Enable fee (inc. Tax)</label>
3212
  <frontend_type>select</frontend_type>
@@ -3404,6 +3549,22 @@
3404
  <show_in_website>1</show_in_website>
3405
  <show_in_store>1</show_in_store>
3406
  </instructions>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3407
  <fee translate="label">
3408
  <label>Enable fee (inc. Tax)</label>
3409
  <frontend_type>select</frontend_type>
@@ -3601,6 +3762,22 @@
3601
  <show_in_website>1</show_in_website>
3602
  <show_in_store>1</show_in_store>
3603
  </instructions>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3604
  <fee translate="label">
3605
  <label>Enable fee (inc. Tax)</label>
3606
  <frontend_type>select</frontend_type>
@@ -3995,6 +4172,22 @@
3995
  <show_in_website>1</show_in_website>
3996
  <show_in_store>1</show_in_store>
3997
  </instructions>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3998
  <fee translate="label">
3999
  <label>Enable fee (inc. Tax)</label>
4000
  <frontend_type>select</frontend_type>
@@ -4192,6 +4385,22 @@
4192
  <show_in_website>1</show_in_website>
4193
  <show_in_store>1</show_in_store>
4194
  </instructions>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4195
  <fee translate="label">
4196
  <label>Enable fee (inc. Tax)</label>
4197
  <frontend_type>select</frontend_type>
@@ -4586,6 +4795,22 @@
4586
  <show_in_website>1</show_in_website>
4587
  <show_in_store>1</show_in_store>
4588
  </instructions>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4589
  <fee translate="label">
4590
  <label>Enable fee (inc. Tax)</label>
4591
  <frontend_type>select</frontend_type>
@@ -4783,6 +5008,22 @@
4783
  <show_in_website>1</show_in_website>
4784
  <show_in_store>1</show_in_store>
4785
  </instructions>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4786
  <fee translate="label">
4787
  <label>Enable fee (inc. Tax)</label>
4788
  <frontend_type>select</frontend_type>
@@ -5177,6 +5418,22 @@
5177
  <show_in_website>1</show_in_website>
5178
  <show_in_store>1</show_in_store>
5179
  </instructions>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5180
  <fee translate="label">
5181
  <label>Enable fee (inc. Tax)</label>
5182
  <frontend_type>select</frontend_type>
@@ -5374,6 +5631,22 @@
5374
  <show_in_website>1</show_in_website>
5375
  <show_in_store>1</show_in_store>
5376
  </instructions>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5377
  <fee translate="label">
5378
  <label>Enable fee (inc. Tax)</label>
5379
  <frontend_type>select</frontend_type>
@@ -5571,6 +5844,22 @@
5571
  <show_in_website>1</show_in_website>
5572
  <show_in_store>1</show_in_store>
5573
  </instructions>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5574
  <fee translate="label">
5575
  <label>Enable fee (inc. Tax)</label>
5576
  <frontend_type>select</frontend_type>
@@ -5768,6 +6057,22 @@
5768
  <show_in_website>1</show_in_website>
5769
  <show_in_store>1</show_in_store>
5770
  </instructions>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5771
  <fee translate="label">
5772
  <label>Enable fee (inc. Tax)</label>
5773
  <frontend_type>select</frontend_type>
9
  <config>
10
  <tabs>
11
  <ms translate="label">
12
+ <label><![CDATA[<div style="display:inline-block;color:#00adee;text-transform: capitalize;font-size: 120%;font-weight:900;font-family:Tahoma, Geneva, sans-serif;">Multi</div><div style="display:inline-block;color:black;text-transform: capitalize;font-size: 120%;font-weight:900;font-family:Tahoma, Geneva, sans-serif;">Safepay</div><div style="display: inline-block;vertical-align: middle;border: 3px dotted #666;width:8px;height:8px;border-radius:8px;margin-bottom:3px;margin-left:3px;"></div>&nbsp;&nbsp;]]> (2.2.1)</label>
13
  <sort_order>301</sort_order>
14
  <!--<class>admin-system-config-msp</class>-->
15
  </ms>
1089
  <show_in_website>1</show_in_website>
1090
  <show_in_store>1</show_in_store>
1091
  </instructions>
1092
+ <min_order_total translate="label">
1093
+ <label>Minimum Order Total</label>
1094
+ <frontend_type>text</frontend_type>
1095
+ <sort_order>63</sort_order>
1096
+ <show_in_default>1</show_in_default>
1097
+ <show_in_website>1</show_in_website>
1098
+ <show_in_store>4</show_in_store>
1099
+ </min_order_total>
1100
  <max_order_total translate="label">
1101
  <label>Maximum Order Total</label>
1102
  <frontend_type>text</frontend_type>
1228
  <show_in_website>1</show_in_website>
1229
  <show_in_store>1</show_in_store>
1230
  </instructions>
1231
+ <min_order_total translate="label">
1232
+ <label>Minimum Order Total</label>
1233
+ <frontend_type>text</frontend_type>
1234
+ <sort_order>63</sort_order>
1235
+ <show_in_default>1</show_in_default>
1236
+ <show_in_website>1</show_in_website>
1237
+ <show_in_store>4</show_in_store>
1238
+ </min_order_total>
1239
  <max_order_total translate="label">
1240
  <label>Maximum Order Total</label>
1241
  <frontend_type>text</frontend_type>
1368
  <show_in_website>1</show_in_website>
1369
  <show_in_store>1</show_in_store>
1370
  </instructions>
1371
+ <min_order_total translate="label">
1372
+ <label>Minimum Order Total</label>
1373
+ <frontend_type>text</frontend_type>
1374
+ <sort_order>63</sort_order>
1375
+ <show_in_default>1</show_in_default>
1376
+ <show_in_website>1</show_in_website>
1377
+ <show_in_store>4</show_in_store>
1378
+ </min_order_total>
1379
  <max_order_total translate="label">
1380
  <label>Maximum Order Total</label>
1381
  <frontend_type>text</frontend_type>
1507
  <show_in_website>1</show_in_website>
1508
  <show_in_store>1</show_in_store>
1509
  </instructions>
1510
+ <min_order_total translate="label">
1511
+ <label>Minimum Order Total</label>
1512
+ <frontend_type>text</frontend_type>
1513
+ <sort_order>63</sort_order>
1514
+ <show_in_default>1</show_in_default>
1515
+ <show_in_website>1</show_in_website>
1516
+ <show_in_store>4</show_in_store>
1517
+ </min_order_total>
1518
  <max_order_total translate="label">
1519
  <label>Maximum Order Total</label>
1520
  <frontend_type>text</frontend_type>
1655
  <show_in_website>1</show_in_website>
1656
  <show_in_store>1</show_in_store>
1657
  </instructions>
1658
+ <min_order_total translate="label">
1659
+ <label>Minimum Order Total</label>
1660
+ <frontend_type>text</frontend_type>
1661
+ <sort_order>63</sort_order>
1662
+ <show_in_default>1</show_in_default>
1663
+ <show_in_website>1</show_in_website>
1664
+ <show_in_store>4</show_in_store>
1665
+ </min_order_total>
1666
  <max_order_total translate="label">
1667
  <label>Maximum Order Total</label>
1668
  <frontend_type>text</frontend_type>
1794
  <show_in_website>1</show_in_website>
1795
  <show_in_store>1</show_in_store>
1796
  </instructions>
1797
+ <min_order_total translate="label">
1798
+ <label>Minimum Order Total</label>
1799
+ <frontend_type>text</frontend_type>
1800
+ <sort_order>63</sort_order>
1801
+ <show_in_default>1</show_in_default>
1802
+ <show_in_website>1</show_in_website>
1803
+ <show_in_store>4</show_in_store>
1804
+ </min_order_total>
1805
  <max_order_total translate="label">
1806
  <label>Maximum Order Total</label>
1807
  <frontend_type>text</frontend_type>
1933
  <show_in_website>1</show_in_website>
1934
  <show_in_store>1</show_in_store>
1935
  </instructions>
1936
+ <min_order_total translate="label">
1937
+ <label>Minimum Order Total</label>
1938
+ <frontend_type>text</frontend_type>
1939
+ <sort_order>63</sort_order>
1940
+ <show_in_default>1</show_in_default>
1941
+ <show_in_website>1</show_in_website>
1942
+ <show_in_store>4</show_in_store>
1943
+ </min_order_total>
1944
  <max_order_total translate="label">
1945
  <label>Maximum Order Total</label>
1946
  <frontend_type>text</frontend_type>
2073
  <show_in_website>1</show_in_website>
2074
  <show_in_store>1</show_in_store>
2075
  </instructions>
2076
+ <min_order_total translate="label">
2077
+ <label>Minimum Order Total</label>
2078
+ <frontend_type>text</frontend_type>
2079
+ <sort_order>63</sort_order>
2080
+ <show_in_default>1</show_in_default>
2081
+ <show_in_website>1</show_in_website>
2082
+ <show_in_store>4</show_in_store>
2083
+ </min_order_total>
2084
  <max_order_total translate="label">
2085
  <label>Maximum Order Total</label>
2086
  <frontend_type>text</frontend_type>
2212
  <show_in_website>1</show_in_website>
2213
  <show_in_store>1</show_in_store>
2214
  </instructions>
2215
+ <min_order_total translate="label">
2216
+ <label>Minimum Order Total</label>
2217
+ <frontend_type>text</frontend_type>
2218
+ <sort_order>63</sort_order>
2219
+ <show_in_default>1</show_in_default>
2220
+ <show_in_website>1</show_in_website>
2221
+ <show_in_store>4</show_in_store>
2222
+ </min_order_total>
2223
+ <max_order_total translate="label">
2224
+ <label>Maximum Order Total</label>
2225
+ <frontend_type>text</frontend_type>
2226
+ <sort_order>63</sort_order>
2227
+ <show_in_default>1</show_in_default>
2228
+ <show_in_website>1</show_in_website>
2229
+ <show_in_store>5</show_in_store>
2230
+ </max_order_total>
2231
  <fee translate="label">
2232
  <label>Enable fee (inc. Tax)</label>
2233
  <frontend_type>select</frontend_type>
2351
  <show_in_website>1</show_in_website>
2352
  <show_in_store>1</show_in_store>
2353
  </instructions>
2354
+ <min_order_total translate="label">
2355
+ <label>Minimum Order Total</label>
2356
+ <frontend_type>text</frontend_type>
2357
+ <sort_order>63</sort_order>
2358
+ <show_in_default>1</show_in_default>
2359
+ <show_in_website>1</show_in_website>
2360
+ <show_in_store>4</show_in_store>
2361
+ </min_order_total>
2362
+
2363
  <max_order_total translate="label">
2364
  <label>Maximum Order Total</label>
2365
  <frontend_type>text</frontend_type>
2491
  <show_in_website>1</show_in_website>
2492
  <show_in_store>1</show_in_store>
2493
  </instructions>
2494
+ <min_order_total translate="label">
2495
+ <label>Minimum Order Total</label>
2496
+ <frontend_type>text</frontend_type>
2497
+ <sort_order>63</sort_order>
2498
+ <show_in_default>1</show_in_default>
2499
+ <show_in_website>1</show_in_website>
2500
+ <show_in_store>4</show_in_store>
2501
+ </min_order_total>
2502
  <max_order_total translate="label">
2503
  <label>Maximum Order Total</label>
2504
  <frontend_type>text</frontend_type>
2714
  <show_in_website>1</show_in_website>
2715
  <show_in_store>1</show_in_store>
2716
  </instructions>
2717
+ <min_order_total translate="label">
2718
+ <label>Minimum Order Total</label>
2719
+ <frontend_type>text</frontend_type>
2720
+ <sort_order>63</sort_order>
2721
+ <show_in_default>1</show_in_default>
2722
+ <show_in_website>1</show_in_website>
2723
+ <show_in_store>4</show_in_store>
2724
+ </min_order_total>
2725
+ <max_order_total translate="label">
2726
+ <label>Maximum Order Total</label>
2727
+ <frontend_type>text</frontend_type>
2728
+ <sort_order>63</sort_order>
2729
+ <show_in_default>1</show_in_default>
2730
+ <show_in_website>1</show_in_website>
2731
+ <show_in_store>5</show_in_store>
2732
+ </max_order_total>
2733
  <fee translate="label">
2734
  <label>Enable fee (inc. Tax)</label>
2735
  <frontend_type>select</frontend_type>
3123
  <show_in_website>1</show_in_website>
3124
  <show_in_store>1</show_in_store>
3125
  </instructions>
3126
+ <min_order_total translate="label">
3127
+ <label>Minimum Order Total</label>
3128
+ <frontend_type>text</frontend_type>
3129
+ <sort_order>63</sort_order>
3130
+ <show_in_default>1</show_in_default>
3131
+ <show_in_website>1</show_in_website>
3132
+ <show_in_store>4</show_in_store>
3133
+ </min_order_total>
3134
+ <max_order_total translate="label">
3135
+ <label>Maximum Order Total</label>
3136
+ <frontend_type>text</frontend_type>
3137
+ <sort_order>63</sort_order>
3138
+ <show_in_default>1</show_in_default>
3139
+ <show_in_website>1</show_in_website>
3140
+ <show_in_store>5</show_in_store>
3141
+ </max_order_total>
3142
  <fee translate="label">
3143
  <label>Enable fee (inc. Tax)</label>
3144
  <frontend_type>select</frontend_type>
3336
  <show_in_website>1</show_in_website>
3337
  <show_in_store>1</show_in_store>
3338
  </instructions>
3339
+ <min_order_total translate="label">
3340
+ <label>Minimum Order Total</label>
3341
+ <frontend_type>text</frontend_type>
3342
+ <sort_order>63</sort_order>
3343
+ <show_in_default>1</show_in_default>
3344
+ <show_in_website>1</show_in_website>
3345
+ <show_in_store>4</show_in_store>
3346
+ </min_order_total>
3347
+ <max_order_total translate="label">
3348
+ <label>Maximum Order Total</label>
3349
+ <frontend_type>text</frontend_type>
3350
+ <sort_order>63</sort_order>
3351
+ <show_in_default>1</show_in_default>
3352
+ <show_in_website>1</show_in_website>
3353
+ <show_in_store>5</show_in_store>
3354
+ </max_order_total>
3355
  <fee translate="label">
3356
  <label>Enable fee (inc. Tax)</label>
3357
  <frontend_type>select</frontend_type>
3549
  <show_in_website>1</show_in_website>
3550
  <show_in_store>1</show_in_store>
3551
  </instructions>
3552
+ <min_order_total translate="label">
3553
+ <label>Minimum Order Total</label>
3554
+ <frontend_type>text</frontend_type>
3555
+ <sort_order>63</sort_order>
3556
+ <show_in_default>1</show_in_default>
3557
+ <show_in_website>1</show_in_website>
3558
+ <show_in_store>4</show_in_store>
3559
+ </min_order_total>
3560
+ <max_order_total translate="label">
3561
+ <label>Maximum Order Total</label>
3562
+ <frontend_type>text</frontend_type>
3563
+ <sort_order>63</sort_order>
3564
+ <show_in_default>1</show_in_default>
3565
+ <show_in_website>1</show_in_website>
3566
+ <show_in_store>5</show_in_store>
3567
+ </max_order_total>
3568
  <fee translate="label">
3569
  <label>Enable fee (inc. Tax)</label>
3570
  <frontend_type>select</frontend_type>
3762
  <show_in_website>1</show_in_website>
3763
  <show_in_store>1</show_in_store>
3764
  </instructions>
3765
+ <min_order_total translate="label">
3766
+ <label>Minimum Order Total</label>
3767
+ <frontend_type>text</frontend_type>
3768
+ <sort_order>63</sort_order>
3769
+ <show_in_default>1</show_in_default>
3770
+ <show_in_website>1</show_in_website>
3771
+ <show_in_store>4</show_in_store>
3772
+ </min_order_total>
3773
+ <max_order_total translate="label">
3774
+ <label>Maximum Order Total</label>
3775
+ <frontend_type>text</frontend_type>
3776
+ <sort_order>63</sort_order>
3777
+ <show_in_default>1</show_in_default>
3778
+ <show_in_website>1</show_in_website>
3779
+ <show_in_store>5</show_in_store>
3780
+ </max_order_total>
3781
  <fee translate="label">
3782
  <label>Enable fee (inc. Tax)</label>
3783
  <frontend_type>select</frontend_type>
4172
  <show_in_website>1</show_in_website>
4173
  <show_in_store>1</show_in_store>
4174
  </instructions>
4175
+ <min_order_total translate="label">
4176
+ <label>Minimum Order Total</label>
4177
+ <frontend_type>text</frontend_type>
4178
+ <sort_order>63</sort_order>
4179
+ <show_in_default>1</show_in_default>
4180
+ <show_in_website>1</show_in_website>
4181
+ <show_in_store>4</show_in_store>
4182
+ </min_order_total>
4183
+ <max_order_total translate="label">
4184
+ <label>Maximum Order Total</label>
4185
+ <frontend_type>text</frontend_type>
4186
+ <sort_order>63</sort_order>
4187
+ <show_in_default>1</show_in_default>
4188
+ <show_in_website>1</show_in_website>
4189
+ <show_in_store>5</show_in_store>
4190
+ </max_order_total>
4191
  <fee translate="label">
4192
  <label>Enable fee (inc. Tax)</label>
4193
  <frontend_type>select</frontend_type>
4385
  <show_in_website>1</show_in_website>
4386
  <show_in_store>1</show_in_store>
4387
  </instructions>
4388
+ <min_order_total translate="label">
4389
+ <label>Minimum Order Total</label>
4390
+ <frontend_type>text</frontend_type>
4391
+ <sort_order>63</sort_order>
4392
+ <show_in_default>1</show_in_default>
4393
+ <show_in_website>1</show_in_website>
4394
+ <show_in_store>4</show_in_store>
4395
+ </min_order_total>
4396
+ <max_order_total translate="label">
4397
+ <label>Maximum Order Total</label>
4398
+ <frontend_type>text</frontend_type>
4399
+ <sort_order>63</sort_order>
4400
+ <show_in_default>1</show_in_default>
4401
+ <show_in_website>1</show_in_website>
4402
+ <show_in_store>5</show_in_store>
4403
+ </max_order_total>
4404
  <fee translate="label">
4405
  <label>Enable fee (inc. Tax)</label>
4406
  <frontend_type>select</frontend_type>
4795
  <show_in_website>1</show_in_website>
4796
  <show_in_store>1</show_in_store>
4797
  </instructions>
4798
+ <min_order_total translate="label">
4799
+ <label>Minimum Order Total</label>
4800
+ <frontend_type>text</frontend_type>
4801
+ <sort_order>63</sort_order>
4802
+ <show_in_default>1</show_in_default>
4803
+ <show_in_website>1</show_in_website>
4804
+ <show_in_store>4</show_in_store>
4805
+ </min_order_total>
4806
+ <max_order_total translate="label">
4807
+ <label>Maximum Order Total</label>
4808
+ <frontend_type>text</frontend_type>
4809
+ <sort_order>63</sort_order>
4810
+ <show_in_default>1</show_in_default>
4811
+ <show_in_website>1</show_in_website>
4812
+ <show_in_store>5</show_in_store>
4813
+ </max_order_total>
4814
  <fee translate="label">
4815
  <label>Enable fee (inc. Tax)</label>
4816
  <frontend_type>select</frontend_type>
5008
  <show_in_website>1</show_in_website>
5009
  <show_in_store>1</show_in_store>
5010
  </instructions>
5011
+ <min_order_total translate="label">
5012
+ <label>Minimum Order Total</label>
5013
+ <frontend_type>text</frontend_type>
5014
+ <sort_order>63</sort_order>
5015
+ <show_in_default>1</show_in_default>
5016
+ <show_in_website>1</show_in_website>
5017
+ <show_in_store>4</show_in_store>
5018
+ </min_order_total>
5019
+ <max_order_total translate="label">
5020
+ <label>Maximum Order Total</label>
5021
+ <frontend_type>text</frontend_type>
5022
+ <sort_order>63</sort_order>
5023
+ <show_in_default>1</show_in_default>
5024
+ <show_in_website>1</show_in_website>
5025
+ <show_in_store>5</show_in_store>
5026
+ </max_order_total>
5027
  <fee translate="label">
5028
  <label>Enable fee (inc. Tax)</label>
5029
  <frontend_type>select</frontend_type>
5418
  <show_in_website>1</show_in_website>
5419
  <show_in_store>1</show_in_store>
5420
  </instructions>
5421
+ <min_order_total translate="label">
5422
+ <label>Minimum Order Total</label>
5423
+ <frontend_type>text</frontend_type>
5424
+ <sort_order>63</sort_order>
5425
+ <show_in_default>1</show_in_default>
5426
+ <show_in_website>1</show_in_website>
5427
+ <show_in_store>4</show_in_store>
5428
+ </min_order_total>
5429
+ <max_order_total translate="label">
5430
+ <label>Maximum Order Total</label>
5431
+ <frontend_type>text</frontend_type>
5432
+ <sort_order>63</sort_order>
5433
+ <show_in_default>1</show_in_default>
5434
+ <show_in_website>1</show_in_website>
5435
+ <show_in_store>5</show_in_store>
5436
+ </max_order_total>
5437
  <fee translate="label">
5438
  <label>Enable fee (inc. Tax)</label>
5439
  <frontend_type>select</frontend_type>
5631
  <show_in_website>1</show_in_website>
5632
  <show_in_store>1</show_in_store>
5633
  </instructions>
5634
+ <min_order_total translate="label">
5635
+ <label>Minimum Order Total</label>
5636
+ <frontend_type>text</frontend_type>
5637
+ <sort_order>63</sort_order>
5638
+ <show_in_default>1</show_in_default>
5639
+ <show_in_website>1</show_in_website>
5640
+ <show_in_store>4</show_in_store>
5641
+ </min_order_total>
5642
+ <max_order_total translate="label">
5643
+ <label>Maximum Order Total</label>
5644
+ <frontend_type>text</frontend_type>
5645
+ <sort_order>63</sort_order>
5646
+ <show_in_default>1</show_in_default>
5647
+ <show_in_website>1</show_in_website>
5648
+ <show_in_store>5</show_in_store>
5649
+ </max_order_total>
5650
  <fee translate="label">
5651
  <label>Enable fee (inc. Tax)</label>
5652
  <frontend_type>select</frontend_type>
5844
  <show_in_website>1</show_in_website>
5845
  <show_in_store>1</show_in_store>
5846
  </instructions>
5847
+ <min_order_total translate="label">
5848
+ <label>Minimum Order Total</label>
5849
+ <frontend_type>text</frontend_type>
5850
+ <sort_order>63</sort_order>
5851
+ <show_in_default>1</show_in_default>
5852
+ <show_in_website>1</show_in_website>
5853
+ <show_in_store>4</show_in_store>
5854
+ </min_order_total>
5855
+ <max_order_total translate="label">
5856
+ <label>Maximum Order Total</label>
5857
+ <frontend_type>text</frontend_type>
5858
+ <sort_order>63</sort_order>
5859
+ <show_in_default>1</show_in_default>
5860
+ <show_in_website>1</show_in_website>
5861
+ <show_in_store>5</show_in_store>
5862
+ </max_order_total>
5863
  <fee translate="label">
5864
  <label>Enable fee (inc. Tax)</label>
5865
  <frontend_type>select</frontend_type>
6057
  <show_in_website>1</show_in_website>
6058
  <show_in_store>1</show_in_store>
6059
  </instructions>
6060
+ <min_order_total translate="label">
6061
+ <label>Minimum Order Total</label>
6062
+ <frontend_type>text</frontend_type>
6063
+ <sort_order>63</sort_order>
6064
+ <show_in_default>1</show_in_default>
6065
+ <show_in_website>1</show_in_website>
6066
+ <show_in_store>4</show_in_store>
6067
+ </min_order_total>
6068
+ <max_order_total translate="label">
6069
+ <label>Maximum Order Total</label>
6070
+ <frontend_type>text</frontend_type>
6071
+ <sort_order>63</sort_order>
6072
+ <show_in_default>1</show_in_default>
6073
+ <show_in_website>1</show_in_website>
6074
+ <show_in_store>5</show_in_store>
6075
+ </max_order_total>
6076
  <fee translate="label">
6077
  <label>Enable fee (inc. Tax)</label>
6078
  <frontend_type>select</frontend_type>
app/code/community/MultiSafepay/Msp/sql/msp_setup/mysql4-upgrade-1.3.3-1.4.0.php DELETED
@@ -1,67 +0,0 @@
1
- <?php
2
- /**
3
- *
4
- * @category MultiSafepay
5
- * @package MultiSafepay_Msp
6
- * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
7
- */
8
-
9
- /** @var $this MultiSafepay_Msp_Model_Setup */
10
- $this->startSetup();
11
-
12
- /** @var $conn Varien_Db_Adapter_Pdo_Mysql */
13
- $conn = $this->getConnection();
14
-
15
- $additionalColumns = array(
16
- $this->getTable('sales/order') => array(
17
- 'servicecost',
18
- 'base_servicecost',
19
- 'servicecost_invoiced',
20
- 'base_servicecost_invoiced',
21
- 'servicecost_tax',
22
- 'base_servicecost_tax',
23
- 'servicecost_tax_invoiced',
24
- 'base_servicecost_tax_invoiced',
25
- 'servicecost_refunded',
26
- 'base_servicecost_refunded',
27
- 'servicecost_tax_refunded',
28
- 'base_servicecost_tax_refunded',
29
- 'servicecost_pdf',
30
- ),
31
- $this->getTable('sales/invoice') => array(
32
- 'servicecost',
33
- 'base_servicecost',
34
- 'servicecost_tax',
35
- 'base_servicecost_tax',
36
- 'servicecost_pdf',
37
- ),
38
- $this->getTable('sales/quote') => array(
39
- 'servicecost',
40
- 'base_servicecost',
41
- 'servicecost_tax',
42
- 'base_servicecost_tax',
43
- 'servicecost_pdf',
44
- ),
45
- $this->getTable('sales/creditmemo') => array(
46
- 'servicecost',
47
- 'base_servicecost',
48
- 'servicecost_tax',
49
- 'base_servicecost_tax',
50
- 'servicecost_pdf',
51
- ),
52
- );
53
-
54
- foreach ($additionalColumns as $table => $columns) {
55
- foreach ($columns as $column) {
56
- $conn->addColumn($table, $column, array(
57
- 'type' => Varien_Db_Ddl_Table::TYPE_DECIMAL,
58
- 'precision' => 12,
59
- 'scale' => 4,
60
- 'nullable' => true,
61
- 'default' => null,
62
- 'comment' => ucwords(str_replace('_', ' ', $column)),
63
- ));
64
- }
65
- }
66
-
67
- $this->endSetup();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/MultiSafepay/Msp/sql/msp_setup/{mysql4-upgrade-1.3.3-2.1.0.php → mysql4-upgrade-1.3.3-2.2.0.php} RENAMED
@@ -28,27 +28,51 @@ $additionalColumns = array(
28
  'servicecost_pdf',
29
  ),
30
  $this->getTable('sales/invoice') => array(
31
- 'servicecost',
32
  'base_servicecost',
 
 
33
  'servicecost_tax',
34
  'base_servicecost_tax',
 
 
 
 
 
 
35
  'servicecost_pdf',
36
  ),
37
  $this->getTable('sales/quote') => array(
38
  'servicecost',
39
  'base_servicecost',
 
 
40
  'servicecost_tax',
41
  'base_servicecost_tax',
 
 
 
 
 
 
42
  'servicecost_pdf',
43
  ),
44
  $this->getTable('sales/creditmemo') => array(
45
- 'servicecost',
46
  'base_servicecost',
 
 
47
  'servicecost_tax',
48
  'base_servicecost_tax',
 
 
 
 
 
 
49
  'servicecost_pdf',
50
  ),
51
- );
52
 
53
  foreach ($additionalColumns as $table => $columns) {
54
  foreach ($columns as $column) {
28
  'servicecost_pdf',
29
  ),
30
  $this->getTable('sales/invoice') => array(
31
+ 'servicecost',
32
  'base_servicecost',
33
+ 'servicecost_invoiced',
34
+ 'base_servicecost_invoiced',
35
  'servicecost_tax',
36
  'base_servicecost_tax',
37
+ 'servicecost_tax_invoiced',
38
+ 'base_servicecost_tax_invoiced',
39
+ 'servicecost_refunded',
40
+ 'base_servicecost_refunded',
41
+ 'servicecost_tax_refunded',
42
+ 'base_servicecost_tax_refunded',
43
  'servicecost_pdf',
44
  ),
45
  $this->getTable('sales/quote') => array(
46
  'servicecost',
47
  'base_servicecost',
48
+ 'servicecost_invoiced',
49
+ 'base_servicecost_invoiced',
50
  'servicecost_tax',
51
  'base_servicecost_tax',
52
+ 'servicecost_tax_invoiced',
53
+ 'base_servicecost_tax_invoiced',
54
+ 'servicecost_refunded',
55
+ 'base_servicecost_refunded',
56
+ 'servicecost_tax_refunded',
57
+ 'base_servicecost_tax_refunded',
58
  'servicecost_pdf',
59
  ),
60
  $this->getTable('sales/creditmemo') => array(
61
+ 'servicecost',
62
  'base_servicecost',
63
+ 'servicecost_invoiced',
64
+ 'base_servicecost_invoiced',
65
  'servicecost_tax',
66
  'base_servicecost_tax',
67
+ 'servicecost_tax_invoiced',
68
+ 'base_servicecost_tax_invoiced',
69
+ 'servicecost_refunded',
70
+ 'base_servicecost_refunded',
71
+ 'servicecost_tax_refunded',
72
+ 'base_servicecost_tax_refunded',
73
  'servicecost_pdf',
74
  ),
75
+ );
76
 
77
  foreach ($additionalColumns as $table => $columns) {
78
  foreach ($columns as $column) {
app/design/adminhtml/default/default/layout/msp.xml CHANGED
@@ -12,4 +12,26 @@
12
  </action>
13
  </reference>
14
  </adminhtml_system_config_edit>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
15
  </layout>
12
  </action>
13
  </reference>
14
  </adminhtml_system_config_edit>
15
+
16
+ <adminhtml_sales_order_creditmemo_new>
17
+ <reference name="creditmemo_totals">
18
+ <block name="servicecost" type="msp/adminhtml_servicecost_totals_creditmemo" before="tax"/>
19
+ </reference>
20
+ <reference name="adjustments">
21
+ <action method = 'setTemplate'>
22
+ <template>msp/servicecost/order/creditmemo/create/totals/adjustments.phtml</template>
23
+ </action>
24
+ </reference>
25
+ </adminhtml_sales_order_creditmemo_new>
26
+
27
+ <adminhtml_sales_order_creditmemo_updateqty>
28
+ <reference name="creditmemo_totals">
29
+ <block name="servicecost" type="msp/adminhtml_servicecost_totals_creditmemo" before="tax"/>
30
+ </reference>
31
+ <reference name="adjustments">
32
+ <action method = 'setTemplate'>
33
+ <template>msp/servicecost/order/creditmemo/create/totals/adjustments.phtml</template>
34
+ </action>
35
+ </reference>
36
+ </adminhtml_sales_order_creditmemo_updateqty>
37
  </layout>
app/design/adminhtml/default/default/template/msp/servicecost/order/creditmemo/create/totals/adjustments.phtml ADDED
@@ -0,0 +1,79 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ *
4
+ * @category MultiSafepay
5
+ * @package MultiSafepay_Msp
6
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
7
+ */
8
+ ?>
9
+ <?php $_source = $this->getSource() ?>
10
+ <?php
11
+ if ($_source->getInvoice()) {
12
+ $fee = $_source->getInvoice()->getBaseServicecost() - $_source->getOrder()->getBaseServicecostRefunded() + ($_source->getInvoice()->getBaseServicecostTax() - $_source->getOrder()->getBaseServiceTaxRefunded());
13
+ } else {
14
+ $fee = $_source->getOrder()->getBaseServicecost() - $_source->getOrder()->getBaseServicecostRefunded() + ($_source->getOrder()->getBaseServicecostTax() - $_source->getOrder()->getBaseServiceTaxRefunded());
15
+ }
16
+ ?>
17
+
18
+ <?php if ($_source): ?>
19
+ <tr>
20
+ <td class="label"><?php echo Mage::helper('msp')->getFeeLabel($_source->getOrder()->getPayment()->getMethod()). ' available for refund'; ?></td>
21
+ <td><input type="text" name="creditmemo[servicecost]" value="<?php echo number_format(round($fee, 2), 2); ?>" class="input-text not-negative-amount" style="width:60px;text-align:right" id="servicecost"/></td>
22
+ </tr>
23
+ <tr>
24
+ <td class="label"><?php echo $this->getShippingLabel() ?></td>
25
+ <td><input type="text" name="creditmemo[shipping_amount]" value="<?php echo $this->getShippingAmount()?>" class="input-text not-negative-amount" style="width:60px;text-align:right" id="shipping_amount" /></td>
26
+ </tr>
27
+ <tr>
28
+ <td colspan="2"><div id="shipping_amount_adv"></div></td>
29
+ </tr>
30
+ <tr>
31
+ <td class="label"><?php echo $this->helper('sales')->__('Adjustment Refund') ?></td>
32
+ <td><input type="text" name="creditmemo[adjustment_positive]" value="<?php echo $_source->getBaseAdjustmentFeePositive()*1 ?>" class="input-text not-negative-amount" style="width:60px;text-align:right" id="adjustment_positive" /></td>
33
+ </tr>
34
+ <tr>
35
+ <td colspan="2"><div id="adjustment_positive_adv"></div></td>
36
+ </tr>
37
+ <tr>
38
+ <td class="label"><?php echo $this->helper('sales')->__('Adjustment Fee') ?></td>
39
+ <td><input type="text" name="creditmemo[adjustment_negative]" value="<?php echo $_source->getBaseAdjustmentFeeNegative()*1 ?>" class="input-text not-negative-amount" style="width:60px;text-align:right" id="adjustment_negative"/></td>
40
+ </tr>
41
+ <tr>
42
+ <td colspan="2"><div id="adjustment_negative_adv"></div></td>
43
+ </tr>
44
+ <script type="text/javascript">
45
+ //<![CDATA[
46
+ Validation.addAllThese([
47
+ ['not-negative-amount', '<?php echo $this->helper('sales')->__('Please enter positive number in this field.') ?>', function(v) {
48
+ if(v.length)
49
+ return /^\s*\d+([,.]\d+)*\s*%?\s*$/.test(v);
50
+ else
51
+ return true;
52
+ }]
53
+ ]);
54
+
55
+
56
+
57
+ if ($('shipping_amount')) {
58
+ $('shipping_amount').advaiceContainer = $('shipping_amount_adv');
59
+ unblockSubmit('shipping_amount');
60
+ }
61
+ if ($('adjustment_positive')) {
62
+ $('adjustment_positive').advaiceContainer = $('adjustment_positive_adv');
63
+ unblockSubmit('adjustment_positive');
64
+ }
65
+ if ($('adjustment_negative')) {
66
+ $('adjustment_negative').advaiceContainer = $('adjustment_negative_adv');
67
+ unblockSubmit('adjustment_negative');
68
+ }
69
+
70
+ function unblockSubmit(id) {
71
+ $(id).observe('focus', function(event) {
72
+ if ($$('button[class="scalable update-button disabled"]').size() > 0) {
73
+ enableElements('submit-button');
74
+ }
75
+ });
76
+ }
77
+ //]]>
78
+ </script>
79
+ <?php endif; ?>
app/design/frontend/base/default/template/msp/default.phtml CHANGED
@@ -1,116 +1,116 @@
1
- <?php
2
- /**
3
- *
4
- * @category MultiSafepay
5
- * @package MultiSafepay_Msp
6
- */
7
- ?>
8
- <?php /** @var $this MultiSafepay_Msp_Block_Checkout_Onepage_Payment_Methods */ ?>
9
- <?php
10
- $methods = $this->getMethods();
11
- $oneMethod = count($methods) <= 1;
12
- $lang_code = 'en';
13
- if (is_array($locale) && isset($locale[0])) {
14
- $lang_code = strtolower($locale[0]);
15
- }
16
-
17
- ?>
18
- <?php if (empty($methods)): ?>
19
- <dt>
20
- <?php //echo $this->__('No Payment Methods') ?>
21
- </dt>
22
- <?php else: ?>
23
- <?php foreach ($methods as $_method): ?>
24
- <?php $_code = $_method->getCode() ?>
25
- <dt>
26
- <?php if (!$oneMethod): ?>
27
- <input id="p_method_<?php echo $_code ?>" value="<?php echo $_code ?>" type="radio" name="payment[method]" title="<?php echo $this->htmlEscape($_method->getTitle()) ?>" onclick="payment.switchMethod('<?php echo $_code ?>')"<?php if ($this->getSelectedMethodCode() == $_code): ?> checked="checked"<?php endif; ?> class="radio" />
28
- <?php else: ?>
29
- <span class="no-display"><input id="p_method_<?php echo $_code ?>" value="<?php echo $_code ?>" type="radio" name="payment[method]" checked="checked" class="radio" /></span>
30
- <?php $oneMethod = $_code ?>
31
- <?php endif ?>
32
- <label for="p_method_<?php echo $_code ?>"><?php echo $this->getMethodTitle($_method) ?> <?php echo $this->getMethodLabelAfterHtml($_method) ?></label>
33
- </dt>
34
-
35
- <?php if ($_code == 'msp_fastcheckout') { ?>
36
- <dd>
37
- <a class="msp_checkout_link" href="<?php echo Mage::getUrl("msp/checkout/redirect") ?>">
38
- <img src="<?php echo Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_MEDIA) . 'msp' . DS.$lang_code.DS. 'button.png' ?>" style="margin-left: -0px;"/>
39
- </a>
40
- <script type="text/javascript">
41
- element1 = document.getElementById('p_method_msp_fastcheckout');
42
- element1.style.display = 'none';
43
- </script>
44
- </dd>
45
- <?php } elseif ($_code != 'msp_ideal' && $_code != 'msp') { ?>
46
- <?php if ($instruction = Mage::getStoreConfig('msp/' . $_code . '/instructions')) { ?>
47
- <dd>
48
- <ul class="form-list" id="payment_form_<?php echo $_code ?>" style="display: none;">
49
- <li>
50
- <?php echo $instruction ?>
51
- </li>
52
- </ul>
53
- </dd>
54
- <?php } elseif ($html = $this->getPaymentMethodFormHtml($_method)) { ?>
55
- <dd>
56
- <?php echo $html; ?>
57
- </dd>
58
- <?php } ?>
59
- <?php } elseif ($_code == 'msp_ideal' && Mage::getStoreConfig('msp/' . $_code . '/bank_select')) { ?>
60
- <dd>
61
- <ul class="5 form-list" id="payment_form_<?php echo $_code ?>" style="display: none;">
62
- <li>
63
- <?php $_banks = $_method->getIdealIssuers(); ?>
64
- <select id="<?php echo $_code ?>_bank" name="payment[<?php echo $_code ?>_bank]" class="input-text validate-text required-entry">
65
- <option value=""><?php echo $this->__('Selecteer een bank...') ?></option>
66
- <?php foreach ($_banks as $bank) { ?>
67
- <option value="<?php echo $bank['code']['VALUE'] ?>"><?php echo $bank['description']['VALUE'] ?></option>
68
- <?php } ?>
69
- </select>
70
- </li>
71
- </ul>
72
- </dd>
73
- <?php } elseif ($_code == 'msp_banktransfer') { ?>
74
- <dd>
75
- <ul class="form-list" id="payment_form_<?php echo $_code ?>" style="display: none;">
76
- <li>
77
- <?php if ($_code == 'msp_banktransfer') { ?>
78
- <input name='payment[accountid]' value="" id="accountid"/> <label for="accountid" style="width:200px!important;">Rekeningnummer:</label><br />
79
- <input name='payment[accountholdername]' value="" id="accountholdername"/> <label for="accountholdername" style="width:200px!important;">Naam rekeninghouder:</label><br />
80
- <input name='payment[accountholdercity]' value="" id="accountholdercity"/> <label for="accountholdercity" style="width:200px!important;">Plaats Bank:</label><br />
81
- <input name='payment[accountholdercountry]' value="NL" id="accountholdercountry"/> <label for="accountholdercountry" style="width:200px!important;">Landcode bank:</label><br />
82
- <?php } ?>
83
- </li>
84
- </ul>
85
- </dd>
86
- <?php } else { ?>
87
- <?php $instruction = '' ?>
88
- <?php if ($_code == 'msp') { ?>
89
- <?php $instruction = Mage::getStoreConfig('payment/msp/instructions') ?>
90
- <?php } else { ?>
91
- <?php $instruction = Mage::getStoreConfig('msp/' . $_code . '/instructions') ?>
92
- <?php } ?>
93
- <?php if ($instruction): ?>
94
- <dd>
95
- <ul class="form-list" id="payment_form_<?php echo $_code ?>" style="display: none;">
96
- <li>
97
- <?php echo $instruction ?>
98
- </li>
99
- </ul>
100
- </dd>
101
- <?php endif ?>
102
- <?php } ?>
103
- <?php endforeach ?>
104
- <?php endif ?>
105
-
106
- <?php echo $this->getChildChildHtml('additional') ?>
107
-
108
- <script type="text/javascript">
109
- //<![CDATA[
110
- <?php echo $this->getChildChildHtml('scripts') ?>
111
- payment.init();
112
- <?php if (is_string($oneMethod)): ?>
113
- payment.switchMethod('<?php echo $oneMethod ?>');
114
- <?php endif ?>
115
- //]]>
116
  </script>
1
+ <?php
2
+ /**
3
+ *
4
+ * @category MultiSafepay
5
+ * @package MultiSafepay_Msp
6
+ */
7
+ ?>
8
+ <?php /** @var $this MultiSafepay_Msp_Block_Checkout_Onepage_Payment_Methods */ ?>
9
+ <?php
10
+ $methods = $this->getMethods();
11
+ $oneMethod = count($methods) <= 1;
12
+ $lang_code = 'en';
13
+ if (is_array($locale) && isset($locale[0])) {
14
+ $lang_code = strtolower($locale[0]);
15
+ }
16
+
17
+ ?>
18
+ <?php if (empty($methods)): ?>
19
+ <dt>
20
+ <?php //echo $this->__('No Payment Methods') ?>
21
+ </dt>
22
+ <?php else: ?>
23
+ <?php foreach ($methods as $_method): ?>
24
+ <?php $_code = $_method->getCode() ?>
25
+ <dt>
26
+ <?php if (!$oneMethod): ?>
27
+ <input id="p_method_<?php echo $_code ?>" value="<?php echo $_code ?>" type="radio" name="payment[method]" title="<?php echo $this->htmlEscape($_method->getTitle()) ?>" onclick="payment.switchMethod('<?php echo $_code ?>')"<?php if ($this->getSelectedMethodCode() == $_code): ?> checked="checked"<?php endif; ?> class="radio" />
28
+ <?php else: ?>
29
+ <span class="no-display"><input id="p_method_<?php echo $_code ?>" value="<?php echo $_code ?>" type="radio" name="payment[method]" checked="checked" class="radio" /></span>
30
+ <?php $oneMethod = $_code ?>
31
+ <?php endif ?>
32
+ <label for="p_method_<?php echo $_code ?>"><?php echo $this->getMethodTitle($_method) ?> <?php echo $this->getMethodLabelAfterHtml($_method) ?></label>
33
+ </dt>
34
+
35
+ <?php if ($_code == 'msp_fastcheckout') { ?>
36
+ <dd>
37
+ <a class="msp_checkout_link" href="<?php echo Mage::getUrl("msp/checkout/redirect") ?>">
38
+ <img src="<?php echo Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_MEDIA) . 'msp' . DS.$lang_code.DS. 'button.png' ?>" style="margin-left: -0px;"/>
39
+ </a>
40
+ <script type="text/javascript">
41
+ element1 = document.getElementById('p_method_msp_fastcheckout');
42
+ element1.style.display = 'none';
43
+ </script>
44
+ </dd>
45
+ <?php } elseif ($_code != 'msp_ideal' && $_code != 'msp') { ?>
46
+ <?php if ($instruction = Mage::getStoreConfig('msp_gateways/' . $_code . '/instructions')) { ?>
47
+ <dd>
48
+ <ul class="form-list" id="payment_form_<?php echo $_code ?>" style="display: none;">
49
+ <li>
50
+ <?php echo $instruction ?>
51
+ </li>
52
+ </ul>
53
+ </dd>
54
+ <?php } elseif ($html = $this->getPaymentMethodFormHtml($_method)) { ?>
55
+ <dd>
56
+ <?php echo $html; ?>
57
+ </dd>
58
+ <?php } ?>
59
+ <?php } elseif ($_code == 'msp_ideal' && Mage::getStoreConfig('msp_gateways/' . $_code . '/bank_select')) { ?>
60
+ <dd>
61
+ <ul class="5 form-list" id="payment_form_<?php echo $_code ?>" style="display: none;">
62
+ <li>
63
+ <?php $_banks = $_method->getIdealIssuers(); ?>
64
+ <select id="<?php echo $_code ?>_bank" name="payment[<?php echo $_code ?>_bank]" class="input-text validate-text required-entry">
65
+ <option value=""><?php echo $this->__('Selecteer een bank...') ?></option>
66
+ <?php foreach ($_banks as $bank) { ?>
67
+ <option value="<?php echo $bank['code']['VALUE'] ?>"><?php echo $bank['description']['VALUE'] ?></option>
68
+ <?php } ?>
69
+ </select>
70
+ </li>
71
+ </ul>
72
+ </dd>
73
+ <?php } elseif ($_code == 'msp_banktransfer') { ?>
74
+ <dd>
75
+ <ul class="form-list" id="payment_form_<?php echo $_code ?>" style="display: none;">
76
+ <li>
77
+ <?php if ($_code == 'msp_banktransfer') { ?>
78
+ <input name='payment[accountid]' value="" id="accountid"/> <label for="accountid" style="width:200px!important;">Rekeningnummer:</label><br />
79
+ <input name='payment[accountholdername]' value="" id="accountholdername"/> <label for="accountholdername" style="width:200px!important;">Naam rekeninghouder:</label><br />
80
+ <input name='payment[accountholdercity]' value="" id="accountholdercity"/> <label for="accountholdercity" style="width:200px!important;">Plaats Bank:</label><br />
81
+ <input name='payment[accountholdercountry]' value="NL" id="accountholdercountry"/> <label for="accountholdercountry" style="width:200px!important;">Landcode bank:</label><br />
82
+ <?php } ?>
83
+ </li>
84
+ </ul>
85
+ </dd>
86
+ <?php } else { ?>
87
+ <?php $instruction = '' ?>
88
+ <?php if ($_code == 'msp') { ?>
89
+ <?php $instruction = Mage::getStoreConfig('payment/msp/instructions') ?>
90
+ <?php } else { ?>
91
+ <?php $instruction = Mage::getStoreConfig('msp_gateways/' . $_code . '/instructions') ?>
92
+ <?php } ?>
93
+ <?php if ($instruction): ?>
94
+ <dd>
95
+ <ul class="form-list" id="payment_form_<?php echo $_code ?>" style="display: none;">
96
+ <li>
97
+ <?php echo $instruction ?>
98
+ </li>
99
+ </ul>
100
+ </dd>
101
+ <?php endif ?>
102
+ <?php } ?>
103
+ <?php endforeach ?>
104
+ <?php endif ?>
105
+
106
+ <?php echo $this->getChildChildHtml('additional') ?>
107
+
108
+ <script type="text/javascript">
109
+ //<![CDATA[
110
+ <?php echo $this->getChildChildHtml('scripts') ?>
111
+ payment.init();
112
+ <?php if (is_string($oneMethod)): ?>
113
+ payment.switchMethod('<?php echo $oneMethod ?>');
114
+ <?php endif ?>
115
+ //]]>
116
  </script>
app/design/frontend/base/default/template/msp/gateways.phtml DELETED
@@ -1,31 +0,0 @@
1
- <?php
2
- /**
3
- *
4
- * @category MultiSafepay
5
- * @package MultiSafepay_Msp
6
- * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
7
- */
8
- ?>
9
- <?php /** @var $this MultiSafepay_Msp_Block_Gateways */ ?>
10
- <?php if ($this->getMethodCode()=='msp_fastcheckout') { ?>
11
- <a class="msp_checkout_link" href="<?php echo Mage::getUrl("msp/checkout/redirect") ?>">
12
- <img src="<?php echo Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_MEDIA).'msp'.DS.'button.png' ?>" style="margin-left: -0px;"/>
13
- </a>
14
- <script type="text/javascript">
15
- element1 = document.getElementById('p_method_msp_fastcheckout');
16
- element1.style.display = 'none';
17
- </script>
18
- <?php } ?>
19
-
20
- <fieldset class="form-list">
21
- <ul id="payment_form_<?php echo $this->getMethodCode() ?>" style="display:none">
22
- <li>
23
- <?php if ($this->getMethodCode()=='msp_banktransfer') { ?>
24
- <input name='payment[accountid]' value="" id="accountid"/> <label for="accountid" style="width: 200px !important;">Rekeningnummer:</label><br />
25
- <input name='payment[accountholdername]' value="" id="accountholdername"/> <label for="accountholdername" style="width: 200px !important;">Naam rekeninghouder:</label><br />
26
- <input name='payment[accountholdercity]' value="" id="accountholdercity"/> <label for="accountholdercity" style="width: 200px !important;">Plaats Bank:</label><br />
27
- <input name='payment[accountholdercountry]' value="NL" id="accountholdercountry"/> <label for="accountholdercountry" style="width: 200px !important;">Landcode bank:</label><br />
28
- <?php } ?>
29
- </li>
30
- </ul>
31
- </fieldset>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/design/frontend/base/default/template/msp/idealissuers.phtml CHANGED
@@ -1,30 +1,30 @@
1
- <?php
2
- /**
3
- *
4
- * @category MultiSafepay
5
- * @package MultiSafepay_Msp
6
- */
7
- ?>
8
- <?php /** @var $this MultiSafepay_Msp_Block_IdealIssuers */ ?>
9
- <?php $_code = $this->getMethodCode() ?>
10
- <ul class="form-list" id="payment_form_<?php echo $_code ?>" style="display:none">
11
- <li>
12
- <?php $instructions = Mage::getStoreConfig('msp/' . $this->getMethodCode() . '/instructions', Mage::app()->getStore()->getId()); ?>
13
-
14
- <?php
15
- if ($instructions != '') {
16
- echo $instructions;
17
- echo '<br /><br/>';
18
- }
19
- ?>
20
- <?php $_banks = $this->getIdealIssuers(); ?>
21
- <select id="<?php echo $_code ?>_bank" name="payment[<?php echo $_code ?>_bank]" class="input-text validate-text required-entry">
22
- <option value=""><?php echo $this->__('Selecteer een bank...'); ?></option>
23
- <?php foreach ($_banks as $bank) { ?>
24
- <option value="<?php echo $bank['code']['VALUE'] ?>"><?php echo $bank['description']['VALUE'] ?></option>
25
- <?php } ?>
26
- </select>
27
-
28
- </li>
29
-
30
- </ul>
1
+ <?php
2
+ /**
3
+ *
4
+ * @category MultiSafepay
5
+ * @package MultiSafepay_Msp
6
+ */
7
+ ?>
8
+ <?php /** @var $this MultiSafepay_Msp_Block_IdealIssuers */ ?>
9
+ <?php $_code = $this->getMethodCode() ?>
10
+ <ul class="form-list" id="payment_form_<?php echo $_code ?>" style="display:none">
11
+ <li>
12
+ <?php $instructions = Mage::getStoreConfig('msp_gateways/' . $this->getMethodCode() . '/instructions', Mage::app()->getStore()->getId()); ?>
13
+
14
+ <?php
15
+ if ($instructions != '') {
16
+ echo $instructions;
17
+ echo '<br /><br/>';
18
+ }
19
+ ?>
20
+ <?php $_banks = $this->getIdealIssuers(); ?>
21
+ <select id="<?php echo $_code ?>_bank" name="payment[<?php echo $_code ?>_bank]" class="input-text validate-text required-entry">
22
+ <option value=""><?php echo $this->__('Selecteer een bank...'); ?></option>
23
+ <?php foreach ($_banks as $bank) { ?>
24
+ <option value="<?php echo $bank['code']['VALUE'] ?>"><?php echo $bank['description']['VALUE'] ?></option>
25
+ <?php } ?>
26
+ </select>
27
+
28
+ </li>
29
+
30
+ </ul>
app/design/frontend/base/default/template/msp/klarna.phtml CHANGED
@@ -2,14 +2,14 @@
2
  <ul id="payment_form_<?php echo $this->getMethodCode() ?>" style="display:none">
3
  <li>
4
  <?php if ($this->getMethodCode() == 'msp_klarna') { ?>
5
- <label for="gender" style="width:200px!important;">Geslacht:</label>
6
- <input type="radio" name="payment[gender]" value="male"> Man
7
- <input type="radio" name="payment[gender]" value="female"> Vrouw
8
- <br/>
9
- <label for="birthday" style="width:200px!important;">Geboortedatum (dd-mm-yyyy):</label>
10
  <input name='payment[birthday]' value="" id="birthday"/>
11
  <!--<br />
12
- <label for="accountnumber" style="width:200px!important;">Rekeningnummer:</label>
13
  <input name='payment[accountnumber]' value="" id="accountnumber"/> -->
14
  <?php } ?>
15
  </li>
2
  <ul id="payment_form_<?php echo $this->getMethodCode() ?>" style="display:none">
3
  <li>
4
  <?php if ($this->getMethodCode() == 'msp_klarna') { ?>
5
+ <label for="gender" style="width:200px!important;"><?php echo $this->__('Geslacht:'); ?></label>
6
+ <input type="radio" name="payment[gender]" value="male"> Man
7
+ <input type="radio" name="payment[gender]" value="female"> Vrouw
8
+ <br/>
9
+ <label for="birthday" style="width:200px!important;"><?php echo $this->__('Geboortedatum'); ?> (dd-mm-yyyy):</label>
10
  <input name='payment[birthday]' value="" id="birthday"/>
11
  <!--<br />
12
+ <label for="accountnumber" style="width:200px!important;"><?php echo $this->__('Rekeningnummer'); ?>:</label>
13
  <input name='payment[accountnumber]' value="" id="accountnumber"/> -->
14
  <?php } ?>
15
  </li>
app/locale/de_DE/MultiSafepay_Msp.csv CHANGED
@@ -108,4 +108,5 @@
108
  "Please retry placing your order and select a different payment method.", "U kunt uw order nog steeds afronden door te kiezen voor een andere betaalmethode."
109
  "We are sorry to inform you that your request for payment after delivery has been denied by Multifactor.<BR /> If you have questions about this rejection, you can checkout the FAQ on the website of Multifactor", "Het spijt ons u te moeten informeren dat u Betaal na Ontvangst verzoek niet is geaccepteerd door Multifactor.<BR /> Mocht u vragen hebben over uw afwijzing, dan kunt u de FAQ op de website van Multifactor"
110
  "You can also contact Multifactor by calling 020-8500533 (at least 2 hours after this rejection) or by sending an email to "," raadplegen. U kunt tevens contact opnemen met Multifactor via telefoonnummer 020-8500533 (Minimaal 2 uur na de afwijzing) of door het sturen van een e-mail naar: "
111
-
 
108
  "Please retry placing your order and select a different payment method.", "U kunt uw order nog steeds afronden door te kiezen voor een andere betaalmethode."
109
  "We are sorry to inform you that your request for payment after delivery has been denied by Multifactor.<BR /> If you have questions about this rejection, you can checkout the FAQ on the website of Multifactor", "Het spijt ons u te moeten informeren dat u Betaal na Ontvangst verzoek niet is geaccepteerd door Multifactor.<BR /> Mocht u vragen hebben over uw afwijzing, dan kunt u de FAQ op de website van Multifactor"
110
  "You can also contact Multifactor by calling 020-8500533 (at least 2 hours after this rejection) or by sending an email to "," raadplegen. U kunt tevens contact opnemen met Multifactor via telefoonnummer 020-8500533 (Minimaal 2 uur na de afwijzing) of door het sturen van een e-mail naar: "
111
+ "Rekeningnummer","Kontonummer"
112
+ "Geboortedatum","Geburtsdatum"
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>MultiSafepay_Msp</name>
4
- <version>2.2.0</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/afl-3.0.php">AFL 3.0</license>
7
  <channel>community</channel>
@@ -10,9 +10,9 @@
10
  <description>With this module you can use all payment methods offered by MultiSafepay</description>
11
  <notes>Tested by MultiSafepay</notes>
12
  <authors><author><name>MultiSafepay</name><user>MultiSafepayDev</user><email>Info@multisafepay.com</email></author></authors>
13
- <date>2015-08-21</date>
14
- <time>07:02:07</time>
15
- <contents><target name="magecommunity"><dir name="MultiSafepay"><dir name="Msp"><dir name="Block"><dir name="Adminhtml"><file name="Adminblock.php" hash="d41d8cd98f00b204e9800998ecf8427e"/><dir name="Servicecost"><dir name="Totals"><file name="Creditmemo.php" hash="a2d186253381b1414721bed7be09e007"/><file name="Invoice.php" hash="cb4839c69cc86d9fe8198dac513cdcf1"/><file name="Order.php" hash="a445ecb050e7ce19bf67208bf3e23131"/></dir></dir></dir><file name="Bno.php" hash="b2dd61062c2c27ee4406a3f3ed8ec8b7"/><dir name="Checkout"><dir name="Onepage"><dir name="Payment"><file name="Methods.php" hash="3f68146a2f124b51ba1b866c1816c1e1"/></dir></dir></dir><file name="Default.php" hash="196e02bdf9df0195c19bcd965b70e4e3"/><file name="Gateways.php" hash="4ad012bccc09fa9d8d27cb83cc7b8a1a"/><file name="IdealIssuers.php" hash="733db7b86ba5507e4502176fe1803efd"/><file name="Klarna.php" hash="2199e9a10121ca0553d9cf125d7e6e49"/><file name="Link.php" hash="f9fd1820a8431d93139686b1b7292250"/><dir name="Servicecost"><dir name="Order"><file name="Total.php" hash="3d280bfaef4cd7a87de835406584f625"/><file name="Totals.php" hash="158ff25288db50f232fd79101d449213"/></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="5e35168f5c0dba1e251a68264c78cc87"/></dir><dir name="Model"><file name="Abstract.php" hash="ba8079cb854ab74d5276bfe253a8cac0"/><dir name="Api"><file name="Creditmemo.php" hash="ba9565ef44f83496b61158bfbc2067f9"/><file name="Paylink.php" hash="af70a5d0652699a9dc5d85355c338e8c"/><file name="Shipment.php" hash="eaff3fffdea7bed6c733325088b665fd"/></dir><file name="Base.php" hash="1a7c8412315170d2860f55eb2c56ac3a"/><file name="Checkout.php" hash="b1289ffb46e4e7c9bcbe7e337709289f"/><dir name="Config"><dir name="Sources"><file name="Accounts.php" hash="8e1228aa67d459dbc598ecb801b7a451"/><file name="Fields.php" hash="2b2338147178664a4d29423b0bc9ab2d"/><file name="Groups.php" hash="57dfc108bcdd149723cc3316b1d751ad"/><file name="Languages.php" hash="af19ca8647d353481fad4319dfdc8d09"/><dir name="Order"><file name="Currency.php" hash="dc47a694472ab85b8c966998386c13ef"/><file name="Email.php" hash="cc6da2a79d873ed67086f23a70b096cf"/></dir><file name="TaxClasses.php" hash="56d52f22239542fc965fc0bbd34bcff8"/></dir></dir><dir name="Gateway"><file name="Abstract.php" hash="23cf24017fe74244ad00c36242e88690"/><file name="Amex.php" hash="ff10fce76354da776ec11a99de19606c"/><file name="Babygiftcard.php" hash="023eb1c0da2cf3c3e77d87ea429ec070"/><file name="Banktransfer.php" hash="ebcc66524bff9b674098d624b668c4c5"/><file name="Beautyandwellness.php" hash="28ed51984587be1519fe0188d4a775c8"/><file name="Boekenbon.php" hash="cf1aef4f6007fcf488cbfdc6564398e2"/><file name="Default.php" hash="76e4d2306b681ac8f76c57eba3ee56fb"/><file name="Degrotespeelgoedwinkel.php" hash="c4e47624c833c4b18659e294ddcf85a9"/><file name="DirectDebit.php" hash="321a1ae72502d2885e04cd1c1ca43d89"/><file name="DirectEbanking.php" hash="3d90e75d9cacf8fe9344afc553104d6d"/><file name="Ebon.php" hash="1ae6cc3469bfc18e92ffa69099642d89"/><file name="Erotiekbon.php" hash="99661e6caff7e49c492d0aeac6d5c2a4"/><file name="Fashioncheque.php" hash="4ec0609a04738df2efb1adf5b4e690de"/><file name="Fashiongiftcard.php" hash="a770817e3c840535b85abdcd4ecf8180"/><file name="Fastcheckout.php" hash="17c66e5c7f137081f0bb0e8d0c9c8cb3"/><file name="Gezondheidsbon.php" hash="800ef8a5628b39f42c0cb952346ee5a3"/><file name="GiroPay.php" hash="dff685719e4a0748e7c316e8c4783b51"/><file name="Ideal.php" hash="dd7bfe92ccc39c7ee90b623cc35425d3"/><file name="Klarna.php" hash="0957b7a7fa88df0e3250187b74701ca7"/><file name="Lief.php" hash="c57189c1ab312d3ffff41c47c49b1d91"/><file name="Maestro.php" hash="a4da2619b078db9745e336be28f72f53"/><file name="Mastercard.php" hash="91a4aa8408fa87b29d8516dc70be5ece"/><file name="Mistercash.php" hash="2ffe2f02e631ba2a4b5efa584dfc1e47"/><file name="MultiSafepay.php" hash="39754875012e1bb404340f81f574dde3"/><file name="Parfumcadeaukaart.php" hash="8a04202d50a60a9a1ff0f805b5ae75c5"/><file name="Parfumnl.php" hash="9c807bbc577d0ca335bc0d74d20807ce"/><file name="Payafter.php" hash="41fd4e053c958c1c577cf6cc926a0c66"/><file name="Paypal.php" hash="45607135c9717d4422ae4a2b6e39cead"/><file name="Podium.php" hash="e757417d6498dd34c9b63ae13ec5ce2e"/><file name="Sportenfit.php" hash="16d9efe4aac86e424202403342f9974a"/><file name="Standard.php" hash="43ea744c95f898f4a9ef5fe3a80bb078"/><file name="Visa.php" hash="72e0c693dca5c94aeede4d7b2c7ed432"/><file name="Vvvgiftcard.php" hash="430b679914548f26eb54464ad94aa744"/><file name="Webgift.php" hash="80c03b3609ce0860a43ea7c709044cee"/><file name="Wijncadeau.php" hash="2613b3fd6212b562588c753b403f91f9"/><file name="Yourgift.php" hash="c6b9b7d909857d5917e06b7507f8ad8c"/></dir><dir name="Observer"><file name="Abstract.php" hash="f69ae090d64e8f30b96d22b58066247c"/><file name="Creditmemo.php" hash="02c8e5415c1051fa9a6c0fbdb55623e9"/><file name="Order.php" hash="48945960a3ccc07ac60d04cff5f0e133"/><file name="Shipment.php" hash="7e5a0da09ec25d8326d8cfcd9ec1b085"/></dir><file name="Payment.php" hash="70cdb4f53d85ee35ad4d5290402c349a"/><dir name="Service"><file name="Quote.php" hash="b231353e0bc39fbfaf1602519c606aa6"/></dir><dir name="Servicecost"><dir name="Creditmemo"><file name="Total.php" hash="1096e0e8ac1bbfb91272658332b37a76"/></dir><dir name="Invoice"><file name="Totals.php" hash="d59b1a4ca34c91a383f08be0fa09a19a"/></dir><file name="Observer.php" hash="60bbe048424c1581630c3365e7abd5ba"/><dir name="Quote"><dir name="Address"><dir name="Total"><file name="Servicecost.php" hash="3f268677372e03da16b5de1dcbc351c3"/></dir></dir></dir></dir><file name="Setup.php" hash="bfa4d921685eeb25724f40c7fec0f625"/></dir><dir name="controllers"><file name="CheckoutController.php" hash="b5f6be156be78445369da1b02a4819b3"/><file name="MspPaymentController.php" hash="d2add60c93cb99ef9f2630466fbcbfdc"/><file name="StandardController.php" hash="2c0e9fcfb46837411f0ed55829251c44"/></dir><dir name="etc"><file name="adminhtml.xml" hash="a0787804dfe90ecc136d844693b67b27"/><file name="config.xml" hash="5d0642593153fc1b178d4414b17c7580"/><file name="system.xml" hash="fada0621be4d5384192deaa5b7a4f418"/></dir><dir name="sql"><dir name="msp_setup"><file name="mysql4-upgrade-1.3.3-1.4.0.php" hash="f03b18f286e18dc61f6e7944d65ff871"/><file name="mysql4-upgrade-1.3.3-2.1.0.php" hash="2bb4226b4276a2dd7ebe76164aa205ab"/></dir></dir></dir></dir></target><target name="magemedia"><dir name="msp"><file name="button.png" hash="3f109b9ccbf7e26c3600d9b445bfab4f"/><dir name="de"><file name="Thumbs.db" hash="23c6d2fa586f60e64acf307d398dfeb2"/><file name="button.png" hash="3f109b9ccbf7e26c3600d9b445bfab4f"/><file name="msp_amex.png" hash="a5e66b6516f80a7d8add7d59d6bf0e9d"/><file name="msp_babygiftcard.png" hash="85cb17a943036d86402bb439938cf616"/><file name="msp_banktransfer.png" hash="5993fd5deb6e184765d690c85ae7d740"/><file name="msp_beautyandwellness.png" hash="e8503146ce5bc90abc7f65e58b19313c"/><file name="msp_boekenbon.png" hash="c69a112af5220771b4d281978cd184ba"/><file name="msp_degrotespeelgoedwinkel.png" hash="e9193002f24d2ba35afb759b5c268be5"/><file name="msp_directdebit.png" hash="38dc09ac7c4d8e32dade12ef7b24ba75"/><file name="msp_directebanking.png" hash="a3e72c2e0053b8fab500bd171e516877"/><file name="msp_ebon.png" hash="e98f08cc1108106951e01f9b186a5cdb"/><file name="msp_erotiekbon.png" hash="b3d5a2793aabcf2f9761454c0bc95ad1"/><file name="msp_fashioncheque.png" hash="b11a52ef39ae97225def18778a4be4c2"/><file name="msp_fashiongiftcard.png" hash="9bd88e96ac9fc8803ff864e3ba438f93"/><file name="msp_gezondheidsbon.png" hash="162e54d8242699871c202e8ca8307b87"/><file name="msp_giropay.png" hash="da6c83afbcf21821ef3d88e5c955fabb"/><file name="msp_ideal.png" hash="975bc03d136c0e5a37f8d5f5a710b6c7"/><file name="msp_maestro.png" hash="94cfd9498ab1c4293099b0778c899b7b"/><file name="msp_mastercard.png" hash="dedc112da93c9aafe992b68cbe4a6051"/><file name="msp_mistercash.png" hash="c429297b30437960315df5d9b36b0118"/><file name="msp_multisafepay.png" hash="4f7ad00d5eea0113a8b52fa4ece7bf8a"/><file name="msp_parfumcadeaukaart.png" hash="270bb5bfc45a036d9b761431b540e1ad"/><file name="msp_parfumnl.png" hash="a3e69d28d44938db2fbb5a2407c76c7f"/><file name="msp_payafter.png" hash="31eab2a6944a9dc181eed046ee8ec238"/><file name="msp_paypal.png" hash="6d072cdf9a82a9f3c419ad13dbc78846"/><file name="msp_podium.png" hash="657f853f4b26ec2b3b8c4e9ebde05f79"/><file name="msp_sportenfit.png" hash="b0c817c34276ef53f6807c9007b0c660"/><file name="msp_visa.png" hash="88d54fe482cd1e2f8d5857829866cc18"/><file name="msp_vvvgiftcard.png" hash="1674320d998603cf40591fc39bd5cfcf"/><file name="msp_webgift.png" hash="cbea18654cf36cc6a743316d359a6b87"/><file name="msp_wijncadeau.png" hash="7bd0b913ad0769ae2089c3827a47182c"/><file name="msp_yourgift.png" hash="1618cabf2b2842ee26f9e81aa6977eef"/></dir><dir name="en"><file name="Thumbs.db" hash="8631718a27c51f2a091e6e954af7f434"/><file name="button.png" hash="3f109b9ccbf7e26c3600d9b445bfab4f"/><file name="msp_amex.png" hash="a5e66b6516f80a7d8add7d59d6bf0e9d"/><file name="msp_babygiftcard.png" hash="85cb17a943036d86402bb439938cf616"/><file name="msp_banktransfer.png" hash="5993fd5deb6e184765d690c85ae7d740"/><file name="msp_beautyandwellness.png" hash="e8503146ce5bc90abc7f65e58b19313c"/><file name="msp_boekenbon.png" hash="c69a112af5220771b4d281978cd184ba"/><file name="msp_degrotespeelgoedwinkel.png" hash="e9193002f24d2ba35afb759b5c268be5"/><file name="msp_directdebit.png" hash="177fe504ef710cf5eaf42cc9592c2215"/><file name="msp_directebanking.png" hash="a3e72c2e0053b8fab500bd171e516877"/><file name="msp_ebon.png" hash="e98f08cc1108106951e01f9b186a5cdb"/><file name="msp_erotiekbon.png" hash="b3d5a2793aabcf2f9761454c0bc95ad1"/><file name="msp_fashioncheque.png" hash="b11a52ef39ae97225def18778a4be4c2"/><file name="msp_fashiongiftcard.png" hash="9bd88e96ac9fc8803ff864e3ba438f93"/><file name="msp_gezondheidsbon.png" hash="162e54d8242699871c202e8ca8307b87"/><file name="msp_giropay.png" hash="da6c83afbcf21821ef3d88e5c955fabb"/><file name="msp_ideal.png" hash="975bc03d136c0e5a37f8d5f5a710b6c7"/><file name="msp_maestro.png" hash="94cfd9498ab1c4293099b0778c899b7b"/><file name="msp_mastercard.png" hash="dedc112da93c9aafe992b68cbe4a6051"/><file name="msp_mistercash.png" hash="c429297b30437960315df5d9b36b0118"/><file name="msp_multisafepay.png" hash="4f7ad00d5eea0113a8b52fa4ece7bf8a"/><file name="msp_parfumcadeaukaart.png" hash="270bb5bfc45a036d9b761431b540e1ad"/><file name="msp_parfumnl.png" hash="a3e69d28d44938db2fbb5a2407c76c7f"/><file name="msp_payafter.png" hash="31eab2a6944a9dc181eed046ee8ec238"/><file name="msp_paypal.png" hash="6d072cdf9a82a9f3c419ad13dbc78846"/><file name="msp_podium.png" hash="657f853f4b26ec2b3b8c4e9ebde05f79"/><file name="msp_sportenfit.png" hash="b0c817c34276ef53f6807c9007b0c660"/><file name="msp_visa.png" hash="88d54fe482cd1e2f8d5857829866cc18"/><file name="msp_vvvgiftcard.png" hash="1674320d998603cf40591fc39bd5cfcf"/><file name="msp_webgift.png" hash="cbea18654cf36cc6a743316d359a6b87"/><file name="msp_wijncadeau.png" hash="7bd0b913ad0769ae2089c3827a47182c"/><file name="msp_yourgift.png" hash="1618cabf2b2842ee26f9e81aa6977eef"/></dir><dir name="es"><file name="Thumbs.db" hash="c67f35358ffef6d7986bb93f1e65eae6"/><file name="button.png" hash="3f109b9ccbf7e26c3600d9b445bfab4f"/><file name="msp_amex.png" hash="a5e66b6516f80a7d8add7d59d6bf0e9d"/><file name="msp_babygiftcard.png" hash="85cb17a943036d86402bb439938cf616"/><file name="msp_banktransfer.png" hash="0ba666cf841114b892667331c8aaad4e"/><file name="msp_beautyandwellness.png" hash="e8503146ce5bc90abc7f65e58b19313c"/><file name="msp_boekenbon.png" hash="c69a112af5220771b4d281978cd184ba"/><file name="msp_degrotespeelgoedwinkel.png" hash="e9193002f24d2ba35afb759b5c268be5"/><file name="msp_directdebit.png" hash="3ffde6c7a1eec68da96ea11518dfde55"/><file name="msp_directebanking.png" hash="a3e72c2e0053b8fab500bd171e516877"/><file name="msp_ebon.png" hash="e98f08cc1108106951e01f9b186a5cdb"/><file name="msp_erotiekbon.png" hash="b3d5a2793aabcf2f9761454c0bc95ad1"/><file name="msp_fashioncheque.png" hash="b11a52ef39ae97225def18778a4be4c2"/><file name="msp_fashiongiftcard.png" hash="9bd88e96ac9fc8803ff864e3ba438f93"/><file name="msp_gezondheidsbon.png" hash="162e54d8242699871c202e8ca8307b87"/><file name="msp_giropay.png" hash="da6c83afbcf21821ef3d88e5c955fabb"/><file name="msp_ideal.png" hash="975bc03d136c0e5a37f8d5f5a710b6c7"/><file name="msp_maestro.png" hash="94cfd9498ab1c4293099b0778c899b7b"/><file name="msp_mastercard.png" hash="dedc112da93c9aafe992b68cbe4a6051"/><file name="msp_mistercash.png" hash="c429297b30437960315df5d9b36b0118"/><file name="msp_multisafepay.png" hash="4f7ad00d5eea0113a8b52fa4ece7bf8a"/><file name="msp_parfumcadeaukaart.png" hash="270bb5bfc45a036d9b761431b540e1ad"/><file name="msp_parfumnl.png" hash="a3e69d28d44938db2fbb5a2407c76c7f"/><file name="msp_payafter.png" hash="31eab2a6944a9dc181eed046ee8ec238"/><file name="msp_paypal.png" hash="6d072cdf9a82a9f3c419ad13dbc78846"/><file name="msp_podium.png" hash="657f853f4b26ec2b3b8c4e9ebde05f79"/><file name="msp_sportenfit.png" hash="b0c817c34276ef53f6807c9007b0c660"/><file name="msp_visa.png" hash="88d54fe482cd1e2f8d5857829866cc18"/><file name="msp_vvvgiftcard.png" hash="1674320d998603cf40591fc39bd5cfcf"/><file name="msp_webgift.png" hash="cbea18654cf36cc6a743316d359a6b87"/><file name="msp_wijncadeau.png" hash="7bd0b913ad0769ae2089c3827a47182c"/><file name="msp_yourgift.png" hash="1618cabf2b2842ee26f9e81aa6977eef"/></dir><dir name="fr"><file name="Thumbs.db" hash="163c29258e74e6c5809b93399db36904"/><file name="button.png" hash="3f109b9ccbf7e26c3600d9b445bfab4f"/><file name="msp_amex.png" hash="a5e66b6516f80a7d8add7d59d6bf0e9d"/><file name="msp_babygiftcard.png" hash="85cb17a943036d86402bb439938cf616"/><file name="msp_banktransfer.png" hash="87bb8916f81ed310cf5cb3aed814fb9d"/><file name="msp_beautyandwellness.png" hash="e8503146ce5bc90abc7f65e58b19313c"/><file name="msp_boekenbon.png" hash="c69a112af5220771b4d281978cd184ba"/><file name="msp_degrotespeelgoedwinkel.png" hash="e9193002f24d2ba35afb759b5c268be5"/><file name="msp_directdebit.png" hash="f0b641efb330c71dbdbf9eb71617605f"/><file name="msp_directebanking.png" hash="a3e72c2e0053b8fab500bd171e516877"/><file name="msp_ebon.png" hash="e98f08cc1108106951e01f9b186a5cdb"/><file name="msp_erotiekbon.png" hash="b3d5a2793aabcf2f9761454c0bc95ad1"/><file name="msp_fashioncheque.png" hash="b11a52ef39ae97225def18778a4be4c2"/><file name="msp_fashiongiftcard.png" hash="9bd88e96ac9fc8803ff864e3ba438f93"/><file name="msp_gezondheidsbon.png" hash="162e54d8242699871c202e8ca8307b87"/><file name="msp_giropay.png" hash="da6c83afbcf21821ef3d88e5c955fabb"/><file name="msp_ideal.png" hash="975bc03d136c0e5a37f8d5f5a710b6c7"/><file name="msp_maestro.png" hash="94cfd9498ab1c4293099b0778c899b7b"/><file name="msp_mastercard.png" hash="dedc112da93c9aafe992b68cbe4a6051"/><file name="msp_mistercash.png" hash="c429297b30437960315df5d9b36b0118"/><file name="msp_multisafepay.png" hash="4f7ad00d5eea0113a8b52fa4ece7bf8a"/><file name="msp_parfumcadeaukaart.png" hash="270bb5bfc45a036d9b761431b540e1ad"/><file name="msp_parfumnl.png" hash="a3e69d28d44938db2fbb5a2407c76c7f"/><file name="msp_payafter.png" hash="31eab2a6944a9dc181eed046ee8ec238"/><file name="msp_paypal.png" hash="6d072cdf9a82a9f3c419ad13dbc78846"/><file name="msp_podium.png" hash="657f853f4b26ec2b3b8c4e9ebde05f79"/><file name="msp_sportenfit.png" hash="b0c817c34276ef53f6807c9007b0c660"/><file name="msp_visa.png" hash="88d54fe482cd1e2f8d5857829866cc18"/><file name="msp_vvvgiftcard.png" hash="1674320d998603cf40591fc39bd5cfcf"/><file name="msp_webgift.png" hash="cbea18654cf36cc6a743316d359a6b87"/><file name="msp_wijncadeau.png" hash="7bd0b913ad0769ae2089c3827a47182c"/><file name="msp_yourgift.png" hash="1618cabf2b2842ee26f9e81aa6977eef"/></dir><dir name="it"><file name="Thumbs.db" hash="06947336d2daae296c3aa6e0d0666a3e"/><file name="button.png" hash="3f109b9ccbf7e26c3600d9b445bfab4f"/><file name="msp_amex.png" hash="a5e66b6516f80a7d8add7d59d6bf0e9d"/><file name="msp_babygiftcard.png" hash="85cb17a943036d86402bb439938cf616"/><file name="msp_banktransfer.png" hash="eaf1b22dbe6ad0ad3e8c7108552359ad"/><file name="msp_beautyandwellness.png" hash="e8503146ce5bc90abc7f65e58b19313c"/><file name="msp_boekenbon.png" hash="c69a112af5220771b4d281978cd184ba"/><file name="msp_degrotespeelgoedwinkel.png" hash="e9193002f24d2ba35afb759b5c268be5"/><file name="msp_directdebit.png" hash="dfb3d359a9b48c88dc71ef65af9ea356"/><file name="msp_directebanking.png" hash="a3e72c2e0053b8fab500bd171e516877"/><file name="msp_ebon.png" hash="e98f08cc1108106951e01f9b186a5cdb"/><file name="msp_erotiekbon.png" hash="b3d5a2793aabcf2f9761454c0bc95ad1"/><file name="msp_fashioncheque.png" hash="b11a52ef39ae97225def18778a4be4c2"/><file name="msp_fashiongiftcard.png" hash="9bd88e96ac9fc8803ff864e3ba438f93"/><file name="msp_gezondheidsbon.png" hash="162e54d8242699871c202e8ca8307b87"/><file name="msp_giropay.png" hash="da6c83afbcf21821ef3d88e5c955fabb"/><file name="msp_ideal.png" hash="975bc03d136c0e5a37f8d5f5a710b6c7"/><file name="msp_maestro.png" hash="94cfd9498ab1c4293099b0778c899b7b"/><file name="msp_mastercard.png" hash="dedc112da93c9aafe992b68cbe4a6051"/><file name="msp_mistercash.png" hash="c429297b30437960315df5d9b36b0118"/><file name="msp_multisafepay.png" hash="4f7ad00d5eea0113a8b52fa4ece7bf8a"/><file name="msp_parfumcadeaukaart.png" hash="270bb5bfc45a036d9b761431b540e1ad"/><file name="msp_parfumnl.png" hash="a3e69d28d44938db2fbb5a2407c76c7f"/><file name="msp_payafter.png" hash="31eab2a6944a9dc181eed046ee8ec238"/><file name="msp_paypal.png" hash="6d072cdf9a82a9f3c419ad13dbc78846"/><file name="msp_podium.png" hash="657f853f4b26ec2b3b8c4e9ebde05f79"/><file name="msp_sportenfit.png" hash="b0c817c34276ef53f6807c9007b0c660"/><file name="msp_visa.png" hash="88d54fe482cd1e2f8d5857829866cc18"/><file name="msp_vvvgiftcard.png" hash="1674320d998603cf40591fc39bd5cfcf"/><file name="msp_webgift.png" hash="cbea18654cf36cc6a743316d359a6b87"/><file name="msp_wijncadeau.png" hash="7bd0b913ad0769ae2089c3827a47182c"/><file name="msp_yourgift.png" hash="1618cabf2b2842ee26f9e81aa6977eef"/></dir><dir name="nl"><file name="Thumbs.db" hash="1b02d4a7ea1014a099e3abc3fffc4902"/><file name="button.png" hash="3f109b9ccbf7e26c3600d9b445bfab4f"/><file name="msp_amex.png" hash="a5e66b6516f80a7d8add7d59d6bf0e9d"/><file name="msp_babygiftcard.png" hash="85cb17a943036d86402bb439938cf616"/><file name="msp_banktransfer.png" hash="404edf4cd1e16a79e2c72db944f00ae6"/><file name="msp_beautyandwellness.png" hash="e8503146ce5bc90abc7f65e58b19313c"/><file name="msp_boekenbon.png" hash="c69a112af5220771b4d281978cd184ba"/><file name="msp_degrotespeelgoedwinkel.png" hash="e9193002f24d2ba35afb759b5c268be5"/><file name="msp_directdebit.png" hash="df54e38016cda0b1dbd537b4784278f7"/><file name="msp_directebanking.png" hash="a3e72c2e0053b8fab500bd171e516877"/><file name="msp_ebon.png" hash="e98f08cc1108106951e01f9b186a5cdb"/><file name="msp_erotiekbon.png" hash="b3d5a2793aabcf2f9761454c0bc95ad1"/><file name="msp_fashioncheque.png" hash="b11a52ef39ae97225def18778a4be4c2"/><file name="msp_fashiongiftcard.png" hash="9bd88e96ac9fc8803ff864e3ba438f93"/><file name="msp_gezondheidsbon.png" hash="162e54d8242699871c202e8ca8307b87"/><file name="msp_giropay.png" hash="da6c83afbcf21821ef3d88e5c955fabb"/><file name="msp_ideal.png" hash="975bc03d136c0e5a37f8d5f5a710b6c7"/><file name="msp_klarna.png" hash="c319a648de78523fb01ec68748abfebb"/><file name="msp_maestro.png" hash="94cfd9498ab1c4293099b0778c899b7b"/><file name="msp_mastercard.png" hash="dedc112da93c9aafe992b68cbe4a6051"/><file name="msp_mistercash.png" hash="c429297b30437960315df5d9b36b0118"/><file name="msp_multisafepay.png" hash="4f7ad00d5eea0113a8b52fa4ece7bf8a"/><file name="msp_parfumcadeaukaart.png" hash="270bb5bfc45a036d9b761431b540e1ad"/><file name="msp_parfumnl.png" hash="a3e69d28d44938db2fbb5a2407c76c7f"/><file name="msp_payafter.png" hash="31eab2a6944a9dc181eed046ee8ec238"/><file name="msp_paypal.png" hash="6d072cdf9a82a9f3c419ad13dbc78846"/><file name="msp_podium.png" hash="657f853f4b26ec2b3b8c4e9ebde05f79"/><file name="msp_sportenfit.png" hash="b0c817c34276ef53f6807c9007b0c660"/><file name="msp_visa.png" hash="88d54fe482cd1e2f8d5857829866cc18"/><file name="msp_vvvgiftcard.png" hash="1674320d998603cf40591fc39bd5cfcf"/><file name="msp_webgift.png" hash="cbea18654cf36cc6a743316d359a6b87"/><file name="msp_wijncadeau.png" hash="7bd0b913ad0769ae2089c3827a47182c"/><file name="msp_yourgift.png" hash="1618cabf2b2842ee26f9e81aa6977eef"/></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="msp"><file name="agreements.phtml" hash="a7f6319765ce10fbe57f3ebe33e764f3"/><file name="bno.phtml" hash="e5d90918b36fafda8e5034ffd789c43d"/><file name="default.phtml" hash="959b33b1cedbfa7f36abd2d853a9adcd"/><file name="gateways.phtml" hash="6ccde89c2c88e42bbb35698181bcfe1b"/><file name="idealissuers.phtml" hash="bbc26977250588a719b345d95eb25ac7"/><file name="klarna.phtml" hash="528c809585f9838c11c7870b611d87d3"/><file name="link.phtml" hash="bce1f16d16d276422073e1d29607181e"/><file name="linkText.phtml" hash="d94fba14433870541603c1b3943d6ae8"/></dir></dir><dir name="layout"><file name="msp.xml" hash="cf698709a65bb5b471b992149f210ace"/></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="msp.xml" hash="fec97db0ee40c739ee6d340fd13f7c45"/></dir><dir name="template"><dir name="msp"><file name="gateways.phtml" hash="ed4cf6ffc3e0dba9ec5fc7d5c80b8ee1"/><file name="idealissuers.phtml" hash="ed4cf6ffc3e0dba9ec5fc7d5c80b8ee1"/></dir></dir></dir></dir></dir></target><target name="mage"><dir name="lib"><dir name="multisafepay"><file name="MultiSafepay.combined.php" hash="11ce128cebea8c8de3b3c6a2e2dacb37"/></dir></dir></target><target name="mageetc"><dir name="modules"><file name="MultiSafepay_Msp.xml" hash="938ed562dccc9b8c187ffd10ba4bde7a"/></dir></target><target name="magelocale"><dir name="nl_NL"><file name="MultiSafepay_Msp.csv" hash="4b4736b69b17e654a7f0531acb6e887a"/></dir><dir name="de_DE"><file name="MultiSafepay_Msp.csv" hash="77fb9399cf6760749311d564a24af133"/></dir><dir name="en_EN"><file name="MultiSafepay_Msp.csv" hash="ed854aac72b11e698c578218b6f4906e"/></dir><dir name="es_ES"><file name="MultiSafepay_Msp.csv" hash="f6c76aa1273e1a4e897b0e6c5aac780c"/></dir><dir name="fr_FR"><file name="MultiSafepay_Msp.csv" hash="ff58587f6c892f4de9074282a2a997f0"/></dir><dir name="it_IT"><file name="MultiSafepay_Msp.csv" hash="0332fffa252445398724d76ecb4232e0"/></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="js"><dir name="MultiSafepay"><file name="config.js" hash="d41d8cd98f00b204e9800998ecf8427e"/></dir></dir><dir name="images"><dir name="msp"><file name="button.png" hash="3f109b9ccbf7e26c3600d9b445bfab4f"/><dir name="nl"><file name="button.png" hash="3f109b9ccbf7e26c3600d9b445bfab4f"/><file name="msp_amex.png" hash="a5e66b6516f80a7d8add7d59d6bf0e9d"/><file name="msp_babygiftcard.png" hash="85cb17a943036d86402bb439938cf616"/><file name="msp_banktransfer.png" hash="404edf4cd1e16a79e2c72db944f00ae6"/><file name="msp_beautyandwellness.png" hash="e8503146ce5bc90abc7f65e58b19313c"/><file name="msp_boekenbon.png" hash="c69a112af5220771b4d281978cd184ba"/><file name="msp_degrotespeelgoedwinkel.png" hash="e9193002f24d2ba35afb759b5c268be5"/><file name="msp_directdebit.png" hash="df54e38016cda0b1dbd537b4784278f7"/><file name="msp_directebanking.png" hash="a3e72c2e0053b8fab500bd171e516877"/><file name="msp_ebon.png" hash="e98f08cc1108106951e01f9b186a5cdb"/><file name="msp_erotiekbon.png" hash="b3d5a2793aabcf2f9761454c0bc95ad1"/><file name="msp_fashioncheque.png" hash="b11a52ef39ae97225def18778a4be4c2"/><file name="msp_fashiongiftcard.png" hash="9bd88e96ac9fc8803ff864e3ba438f93"/><file name="msp_gezondheidsbon.png" hash="162e54d8242699871c202e8ca8307b87"/><file name="msp_giropay.png" hash="da6c83afbcf21821ef3d88e5c955fabb"/><file name="msp_ideal.png" hash="975bc03d136c0e5a37f8d5f5a710b6c7"/><file name="msp_klarna.png" hash="c319a648de78523fb01ec68748abfebb"/><file name="msp_maestro.png" hash="94cfd9498ab1c4293099b0778c899b7b"/><file name="msp_mastercard.png" hash="dedc112da93c9aafe992b68cbe4a6051"/><file name="msp_mistercash.png" hash="c429297b30437960315df5d9b36b0118"/><file name="msp_multisafepay.png" hash="4f7ad00d5eea0113a8b52fa4ece7bf8a"/><file name="msp_parfumcadeaukaart.png" hash="270bb5bfc45a036d9b761431b540e1ad"/><file name="msp_parfumnl.png" hash="a3e69d28d44938db2fbb5a2407c76c7f"/><file name="msp_payafter.png" hash="31eab2a6944a9dc181eed046ee8ec238"/><file name="msp_paypal.png" hash="6d072cdf9a82a9f3c419ad13dbc78846"/><file name="msp_podium.png" hash="657f853f4b26ec2b3b8c4e9ebde05f79"/><file name="msp_sportenfit.png" hash="b0c817c34276ef53f6807c9007b0c660"/><file name="msp_visa.png" hash="88d54fe482cd1e2f8d5857829866cc18"/><file name="msp_vvvgiftcard.png" hash="1674320d998603cf40591fc39bd5cfcf"/><file name="msp_webgift.png" hash="cbea18654cf36cc6a743316d359a6b87"/><file name="msp_wijncadeau.png" hash="7bd0b913ad0769ae2089c3827a47182c"/><file name="msp_yourgift.png" hash="1618cabf2b2842ee26f9e81aa6977eef"/></dir></dir></dir><dir name="css"><dir name="MultiSafepay"><file name="config.css" hash="593e6af0aa3292c25725b9b9c17d877b"/></dir></dir></dir></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.2.13</min><max>5.6.6</max></php></required></dependencies>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>MultiSafepay_Msp</name>
4
+ <version>2.2.1</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/afl-3.0.php">AFL 3.0</license>
7
  <channel>community</channel>
10
  <description>With this module you can use all payment methods offered by MultiSafepay</description>
11
  <notes>Tested by MultiSafepay</notes>
12
  <authors><author><name>MultiSafepay</name><user>MultiSafepayDev</user><email>Info@multisafepay.com</email></author></authors>
13
+ <date>2015-11-12</date>
14
+ <time>10:38:47</time>
15
+ <contents><target name="magecommunity"><dir name="MultiSafepay"><dir name="Msp"><dir name="Block"><dir name="Adminhtml"><dir name="Servicecost"><dir name="Totals"><file name="Creditmemo.php" hash="b3adb693ba87abb6c2c749e1cdeb16fd"/><file name="Invoice.php" hash="cb4839c69cc86d9fe8198dac513cdcf1"/><file name="Order.php" hash="a445ecb050e7ce19bf67208bf3e23131"/></dir></dir></dir><file name="Bno.php" hash="b2dd61062c2c27ee4406a3f3ed8ec8b7"/><dir name="Checkout"><dir name="Onepage"><dir name="Payment"><file name="Methods.php" hash="3f68146a2f124b51ba1b866c1816c1e1"/></dir></dir></dir><file name="Default.php" hash="196e02bdf9df0195c19bcd965b70e4e3"/><file name="IdealIssuers.php" hash="733db7b86ba5507e4502176fe1803efd"/><file name="Klarna.php" hash="2199e9a10121ca0553d9cf125d7e6e49"/><file name="Link.php" hash="f9fd1820a8431d93139686b1b7292250"/><dir name="Servicecost"><dir name="Order"><file name="Total.php" hash="3d280bfaef4cd7a87de835406584f625"/><file name="Totals.php" hash="158ff25288db50f232fd79101d449213"/></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="13815bd3f2f78d8073af9786c2b43f8c"/></dir><dir name="Model"><file name="Abstract.php" hash="ba8079cb854ab74d5276bfe253a8cac0"/><dir name="Api"><file name="Paylink.php" hash="af70a5d0652699a9dc5d85355c338e8c"/><file name="Shipment.php" hash="eaff3fffdea7bed6c733325088b665fd"/></dir><file name="Base.php" hash="1a7c8412315170d2860f55eb2c56ac3a"/><file name="Checkout.php" hash="b1289ffb46e4e7c9bcbe7e337709289f"/><dir name="Config"><dir name="Sources"><file name="Accounts.php" hash="8e1228aa67d459dbc598ecb801b7a451"/><file name="Fields.php" hash="2b2338147178664a4d29423b0bc9ab2d"/><file name="Groups.php" hash="57dfc108bcdd149723cc3316b1d751ad"/><file name="Languages.php" hash="af19ca8647d353481fad4319dfdc8d09"/><dir name="Order"><file name="Currency.php" hash="fb88cdf35a743492b4db752cf5daadc6"/><file name="Email.php" hash="cc6da2a79d873ed67086f23a70b096cf"/></dir><file name="TaxClasses.php" hash="56d52f22239542fc965fc0bbd34bcff8"/></dir></dir><dir name="Gateway"><file name="Abstract.php" hash="b284e35c26353302ad435ce6f580ed58"/><file name="Amex.php" hash="ff10fce76354da776ec11a99de19606c"/><file name="Babygiftcard.php" hash="023eb1c0da2cf3c3e77d87ea429ec070"/><file name="Banktransfer.php" hash="ebcc66524bff9b674098d624b668c4c5"/><file name="Beautyandwellness.php" hash="28ed51984587be1519fe0188d4a775c8"/><file name="Boekenbon.php" hash="cf1aef4f6007fcf488cbfdc6564398e2"/><file name="Default.php" hash="76e4d2306b681ac8f76c57eba3ee56fb"/><file name="Degrotespeelgoedwinkel.php" hash="c4e47624c833c4b18659e294ddcf85a9"/><file name="DirectDebit.php" hash="321a1ae72502d2885e04cd1c1ca43d89"/><file name="DirectEbanking.php" hash="3d90e75d9cacf8fe9344afc553104d6d"/><file name="Ebon.php" hash="1ae6cc3469bfc18e92ffa69099642d89"/><file name="Erotiekbon.php" hash="99661e6caff7e49c492d0aeac6d5c2a4"/><file name="Fashioncheque.php" hash="4ec0609a04738df2efb1adf5b4e690de"/><file name="Fashiongiftcard.php" hash="a770817e3c840535b85abdcd4ecf8180"/><file name="Fastcheckout.php" hash="17c66e5c7f137081f0bb0e8d0c9c8cb3"/><file name="Gezondheidsbon.php" hash="800ef8a5628b39f42c0cb952346ee5a3"/><file name="GiroPay.php" hash="dff685719e4a0748e7c316e8c4783b51"/><file name="Ideal.php" hash="dd7bfe92ccc39c7ee90b623cc35425d3"/><file name="Klarna.php" hash="0957b7a7fa88df0e3250187b74701ca7"/><file name="Lief.php" hash="c57189c1ab312d3ffff41c47c49b1d91"/><file name="Maestro.php" hash="a4da2619b078db9745e336be28f72f53"/><file name="Mastercard.php" hash="91a4aa8408fa87b29d8516dc70be5ece"/><file name="Mistercash.php" hash="2ffe2f02e631ba2a4b5efa584dfc1e47"/><file name="MultiSafepay.php" hash="39754875012e1bb404340f81f574dde3"/><file name="Parfumcadeaukaart.php" hash="8a04202d50a60a9a1ff0f805b5ae75c5"/><file name="Parfumnl.php" hash="9c807bbc577d0ca335bc0d74d20807ce"/><file name="Payafter.php" hash="41fd4e053c958c1c577cf6cc926a0c66"/><file name="Paypal.php" hash="45607135c9717d4422ae4a2b6e39cead"/><file name="Podium.php" hash="e757417d6498dd34c9b63ae13ec5ce2e"/><file name="Sportenfit.php" hash="16d9efe4aac86e424202403342f9974a"/><file name="Standard.php" hash="43ea744c95f898f4a9ef5fe3a80bb078"/><file name="Visa.php" hash="72e0c693dca5c94aeede4d7b2c7ed432"/><file name="Vvvgiftcard.php" hash="430b679914548f26eb54464ad94aa744"/><file name="Webgift.php" hash="80c03b3609ce0860a43ea7c709044cee"/><file name="Wijncadeau.php" hash="2613b3fd6212b562588c753b403f91f9"/><file name="Yourgift.php" hash="c6b9b7d909857d5917e06b7507f8ad8c"/></dir><dir name="Observer"><file name="Abstract.php" hash="f69ae090d64e8f30b96d22b58066247c"/><file name="Order.php" hash="48945960a3ccc07ac60d04cff5f0e133"/><file name="Shipment.php" hash="4d34ffb263a29862de4ae5b4a05ec4d8"/></dir><file name="Payment.php" hash="a2870ac508b1b93615c50426db472546"/><dir name="Service"><file name="Quote.php" hash="b231353e0bc39fbfaf1602519c606aa6"/></dir><dir name="Servicecost"><dir name="Creditmemo"><file name="Total.php" hash="1096e0e8ac1bbfb91272658332b37a76"/></dir><dir name="Invoice"><file name="Totals.php" hash="d59b1a4ca34c91a383f08be0fa09a19a"/></dir><file name="Observer.php" hash="5ed8fb4ad3674255673081b9ad44698b"/><dir name="Quote"><dir name="Address"><dir name="Total"><file name="Servicecost.php" hash="3f268677372e03da16b5de1dcbc351c3"/></dir></dir></dir></dir><file name="Setup.php" hash="bfa4d921685eeb25724f40c7fec0f625"/></dir><dir name="controllers"><file name="CheckoutController.php" hash="b5f6be156be78445369da1b02a4819b3"/><file name="MspPaymentController.php" hash="d2add60c93cb99ef9f2630466fbcbfdc"/><file name="StandardController.php" hash="8a1c4a6d8a5a305fe43d8ea7b3578b4b"/></dir><dir name="etc"><file name="adminhtml.xml" hash="a0787804dfe90ecc136d844693b67b27"/><file name="config.xml" hash="142277e90002057abc75f4c576a5f04c"/><file name="system.xml" hash="42f7da03254b4b8189e426c46bf2fa8d"/></dir><dir name="sql"><dir name="msp_setup"><file name="mysql4-upgrade-1.3.3-2.2.0.php" hash="b51cfd58ec5fabb097692d19a98dc081"/></dir></dir></dir></dir></target><target name="magemedia"><dir name="msp"><file name="button.png" hash="3f109b9ccbf7e26c3600d9b445bfab4f"/><dir name="de"><file name="Thumbs.db" hash="23c6d2fa586f60e64acf307d398dfeb2"/><file name="button.png" hash="3f109b9ccbf7e26c3600d9b445bfab4f"/><file name="msp_amex.png" hash="a5e66b6516f80a7d8add7d59d6bf0e9d"/><file name="msp_babygiftcard.png" hash="85cb17a943036d86402bb439938cf616"/><file name="msp_banktransfer.png" hash="5993fd5deb6e184765d690c85ae7d740"/><file name="msp_beautyandwellness.png" hash="e8503146ce5bc90abc7f65e58b19313c"/><file name="msp_boekenbon.png" hash="c69a112af5220771b4d281978cd184ba"/><file name="msp_degrotespeelgoedwinkel.png" hash="e9193002f24d2ba35afb759b5c268be5"/><file name="msp_directdebit.png" hash="38dc09ac7c4d8e32dade12ef7b24ba75"/><file name="msp_directebanking.png" hash="a3e72c2e0053b8fab500bd171e516877"/><file name="msp_ebon.png" hash="e98f08cc1108106951e01f9b186a5cdb"/><file name="msp_erotiekbon.png" hash="b3d5a2793aabcf2f9761454c0bc95ad1"/><file name="msp_fashioncheque.png" hash="b11a52ef39ae97225def18778a4be4c2"/><file name="msp_fashiongiftcard.png" hash="9bd88e96ac9fc8803ff864e3ba438f93"/><file name="msp_gezondheidsbon.png" hash="162e54d8242699871c202e8ca8307b87"/><file name="msp_giropay.png" hash="da6c83afbcf21821ef3d88e5c955fabb"/><file name="msp_ideal.png" hash="975bc03d136c0e5a37f8d5f5a710b6c7"/><file name="msp_maestro.png" hash="94cfd9498ab1c4293099b0778c899b7b"/><file name="msp_mastercard.png" hash="dedc112da93c9aafe992b68cbe4a6051"/><file name="msp_mistercash.png" hash="c429297b30437960315df5d9b36b0118"/><file name="msp_multisafepay.png" hash="4f7ad00d5eea0113a8b52fa4ece7bf8a"/><file name="msp_parfumcadeaukaart.png" hash="270bb5bfc45a036d9b761431b540e1ad"/><file name="msp_parfumnl.png" hash="a3e69d28d44938db2fbb5a2407c76c7f"/><file name="msp_payafter.png" hash="31eab2a6944a9dc181eed046ee8ec238"/><file name="msp_paypal.png" hash="6d072cdf9a82a9f3c419ad13dbc78846"/><file name="msp_podium.png" hash="657f853f4b26ec2b3b8c4e9ebde05f79"/><file name="msp_sportenfit.png" hash="b0c817c34276ef53f6807c9007b0c660"/><file name="msp_visa.png" hash="88d54fe482cd1e2f8d5857829866cc18"/><file name="msp_vvvgiftcard.png" hash="1674320d998603cf40591fc39bd5cfcf"/><file name="msp_webgift.png" hash="cbea18654cf36cc6a743316d359a6b87"/><file name="msp_wijncadeau.png" hash="7bd0b913ad0769ae2089c3827a47182c"/><file name="msp_yourgift.png" hash="1618cabf2b2842ee26f9e81aa6977eef"/></dir><dir name="en"><file name="Thumbs.db" hash="8631718a27c51f2a091e6e954af7f434"/><file name="button.png" hash="3f109b9ccbf7e26c3600d9b445bfab4f"/><file name="msp_amex.png" hash="a5e66b6516f80a7d8add7d59d6bf0e9d"/><file name="msp_babygiftcard.png" hash="85cb17a943036d86402bb439938cf616"/><file name="msp_banktransfer.png" hash="5993fd5deb6e184765d690c85ae7d740"/><file name="msp_beautyandwellness.png" hash="e8503146ce5bc90abc7f65e58b19313c"/><file name="msp_boekenbon.png" hash="c69a112af5220771b4d281978cd184ba"/><file name="msp_degrotespeelgoedwinkel.png" hash="e9193002f24d2ba35afb759b5c268be5"/><file name="msp_directdebit.png" hash="177fe504ef710cf5eaf42cc9592c2215"/><file name="msp_directebanking.png" hash="a3e72c2e0053b8fab500bd171e516877"/><file name="msp_ebon.png" hash="e98f08cc1108106951e01f9b186a5cdb"/><file name="msp_erotiekbon.png" hash="b3d5a2793aabcf2f9761454c0bc95ad1"/><file name="msp_fashioncheque.png" hash="b11a52ef39ae97225def18778a4be4c2"/><file name="msp_fashiongiftcard.png" hash="9bd88e96ac9fc8803ff864e3ba438f93"/><file name="msp_gezondheidsbon.png" hash="162e54d8242699871c202e8ca8307b87"/><file name="msp_giropay.png" hash="da6c83afbcf21821ef3d88e5c955fabb"/><file name="msp_ideal.png" hash="975bc03d136c0e5a37f8d5f5a710b6c7"/><file name="msp_maestro.png" hash="94cfd9498ab1c4293099b0778c899b7b"/><file name="msp_mastercard.png" hash="dedc112da93c9aafe992b68cbe4a6051"/><file name="msp_mistercash.png" hash="c429297b30437960315df5d9b36b0118"/><file name="msp_multisafepay.png" hash="4f7ad00d5eea0113a8b52fa4ece7bf8a"/><file name="msp_parfumcadeaukaart.png" hash="270bb5bfc45a036d9b761431b540e1ad"/><file name="msp_parfumnl.png" hash="a3e69d28d44938db2fbb5a2407c76c7f"/><file name="msp_payafter.png" hash="31eab2a6944a9dc181eed046ee8ec238"/><file name="msp_paypal.png" hash="6d072cdf9a82a9f3c419ad13dbc78846"/><file name="msp_podium.png" hash="657f853f4b26ec2b3b8c4e9ebde05f79"/><file name="msp_sportenfit.png" hash="b0c817c34276ef53f6807c9007b0c660"/><file name="msp_visa.png" hash="88d54fe482cd1e2f8d5857829866cc18"/><file name="msp_vvvgiftcard.png" hash="1674320d998603cf40591fc39bd5cfcf"/><file name="msp_webgift.png" hash="cbea18654cf36cc6a743316d359a6b87"/><file name="msp_wijncadeau.png" hash="7bd0b913ad0769ae2089c3827a47182c"/><file name="msp_yourgift.png" hash="1618cabf2b2842ee26f9e81aa6977eef"/></dir><dir name="es"><file name="Thumbs.db" hash="c67f35358ffef6d7986bb93f1e65eae6"/><file name="button.png" hash="3f109b9ccbf7e26c3600d9b445bfab4f"/><file name="msp_amex.png" hash="a5e66b6516f80a7d8add7d59d6bf0e9d"/><file name="msp_babygiftcard.png" hash="85cb17a943036d86402bb439938cf616"/><file name="msp_banktransfer.png" hash="0ba666cf841114b892667331c8aaad4e"/><file name="msp_beautyandwellness.png" hash="e8503146ce5bc90abc7f65e58b19313c"/><file name="msp_boekenbon.png" hash="c69a112af5220771b4d281978cd184ba"/><file name="msp_degrotespeelgoedwinkel.png" hash="e9193002f24d2ba35afb759b5c268be5"/><file name="msp_directdebit.png" hash="3ffde6c7a1eec68da96ea11518dfde55"/><file name="msp_directebanking.png" hash="a3e72c2e0053b8fab500bd171e516877"/><file name="msp_ebon.png" hash="e98f08cc1108106951e01f9b186a5cdb"/><file name="msp_erotiekbon.png" hash="b3d5a2793aabcf2f9761454c0bc95ad1"/><file name="msp_fashioncheque.png" hash="b11a52ef39ae97225def18778a4be4c2"/><file name="msp_fashiongiftcard.png" hash="9bd88e96ac9fc8803ff864e3ba438f93"/><file name="msp_gezondheidsbon.png" hash="162e54d8242699871c202e8ca8307b87"/><file name="msp_giropay.png" hash="da6c83afbcf21821ef3d88e5c955fabb"/><file name="msp_ideal.png" hash="975bc03d136c0e5a37f8d5f5a710b6c7"/><file name="msp_maestro.png" hash="94cfd9498ab1c4293099b0778c899b7b"/><file name="msp_mastercard.png" hash="dedc112da93c9aafe992b68cbe4a6051"/><file name="msp_mistercash.png" hash="c429297b30437960315df5d9b36b0118"/><file name="msp_multisafepay.png" hash="4f7ad00d5eea0113a8b52fa4ece7bf8a"/><file name="msp_parfumcadeaukaart.png" hash="270bb5bfc45a036d9b761431b540e1ad"/><file name="msp_parfumnl.png" hash="a3e69d28d44938db2fbb5a2407c76c7f"/><file name="msp_payafter.png" hash="31eab2a6944a9dc181eed046ee8ec238"/><file name="msp_paypal.png" hash="6d072cdf9a82a9f3c419ad13dbc78846"/><file name="msp_podium.png" hash="657f853f4b26ec2b3b8c4e9ebde05f79"/><file name="msp_sportenfit.png" hash="b0c817c34276ef53f6807c9007b0c660"/><file name="msp_visa.png" hash="88d54fe482cd1e2f8d5857829866cc18"/><file name="msp_vvvgiftcard.png" hash="1674320d998603cf40591fc39bd5cfcf"/><file name="msp_webgift.png" hash="cbea18654cf36cc6a743316d359a6b87"/><file name="msp_wijncadeau.png" hash="7bd0b913ad0769ae2089c3827a47182c"/><file name="msp_yourgift.png" hash="1618cabf2b2842ee26f9e81aa6977eef"/></dir><dir name="fr"><file name="Thumbs.db" hash="163c29258e74e6c5809b93399db36904"/><file name="button.png" hash="3f109b9ccbf7e26c3600d9b445bfab4f"/><file name="msp_amex.png" hash="a5e66b6516f80a7d8add7d59d6bf0e9d"/><file name="msp_babygiftcard.png" hash="85cb17a943036d86402bb439938cf616"/><file name="msp_banktransfer.png" hash="87bb8916f81ed310cf5cb3aed814fb9d"/><file name="msp_beautyandwellness.png" hash="e8503146ce5bc90abc7f65e58b19313c"/><file name="msp_boekenbon.png" hash="c69a112af5220771b4d281978cd184ba"/><file name="msp_degrotespeelgoedwinkel.png" hash="e9193002f24d2ba35afb759b5c268be5"/><file name="msp_directdebit.png" hash="f0b641efb330c71dbdbf9eb71617605f"/><file name="msp_directebanking.png" hash="a3e72c2e0053b8fab500bd171e516877"/><file name="msp_ebon.png" hash="e98f08cc1108106951e01f9b186a5cdb"/><file name="msp_erotiekbon.png" hash="b3d5a2793aabcf2f9761454c0bc95ad1"/><file name="msp_fashioncheque.png" hash="b11a52ef39ae97225def18778a4be4c2"/><file name="msp_fashiongiftcard.png" hash="9bd88e96ac9fc8803ff864e3ba438f93"/><file name="msp_gezondheidsbon.png" hash="162e54d8242699871c202e8ca8307b87"/><file name="msp_giropay.png" hash="da6c83afbcf21821ef3d88e5c955fabb"/><file name="msp_ideal.png" hash="975bc03d136c0e5a37f8d5f5a710b6c7"/><file name="msp_maestro.png" hash="94cfd9498ab1c4293099b0778c899b7b"/><file name="msp_mastercard.png" hash="dedc112da93c9aafe992b68cbe4a6051"/><file name="msp_mistercash.png" hash="c429297b30437960315df5d9b36b0118"/><file name="msp_multisafepay.png" hash="4f7ad00d5eea0113a8b52fa4ece7bf8a"/><file name="msp_parfumcadeaukaart.png" hash="270bb5bfc45a036d9b761431b540e1ad"/><file name="msp_parfumnl.png" hash="a3e69d28d44938db2fbb5a2407c76c7f"/><file name="msp_payafter.png" hash="31eab2a6944a9dc181eed046ee8ec238"/><file name="msp_paypal.png" hash="6d072cdf9a82a9f3c419ad13dbc78846"/><file name="msp_podium.png" hash="657f853f4b26ec2b3b8c4e9ebde05f79"/><file name="msp_sportenfit.png" hash="b0c817c34276ef53f6807c9007b0c660"/><file name="msp_visa.png" hash="88d54fe482cd1e2f8d5857829866cc18"/><file name="msp_vvvgiftcard.png" hash="1674320d998603cf40591fc39bd5cfcf"/><file name="msp_webgift.png" hash="cbea18654cf36cc6a743316d359a6b87"/><file name="msp_wijncadeau.png" hash="7bd0b913ad0769ae2089c3827a47182c"/><file name="msp_yourgift.png" hash="1618cabf2b2842ee26f9e81aa6977eef"/></dir><dir name="it"><file name="Thumbs.db" hash="06947336d2daae296c3aa6e0d0666a3e"/><file name="button.png" hash="3f109b9ccbf7e26c3600d9b445bfab4f"/><file name="msp_amex.png" hash="a5e66b6516f80a7d8add7d59d6bf0e9d"/><file name="msp_babygiftcard.png" hash="85cb17a943036d86402bb439938cf616"/><file name="msp_banktransfer.png" hash="eaf1b22dbe6ad0ad3e8c7108552359ad"/><file name="msp_beautyandwellness.png" hash="e8503146ce5bc90abc7f65e58b19313c"/><file name="msp_boekenbon.png" hash="c69a112af5220771b4d281978cd184ba"/><file name="msp_degrotespeelgoedwinkel.png" hash="e9193002f24d2ba35afb759b5c268be5"/><file name="msp_directdebit.png" hash="dfb3d359a9b48c88dc71ef65af9ea356"/><file name="msp_directebanking.png" hash="a3e72c2e0053b8fab500bd171e516877"/><file name="msp_ebon.png" hash="e98f08cc1108106951e01f9b186a5cdb"/><file name="msp_erotiekbon.png" hash="b3d5a2793aabcf2f9761454c0bc95ad1"/><file name="msp_fashioncheque.png" hash="b11a52ef39ae97225def18778a4be4c2"/><file name="msp_fashiongiftcard.png" hash="9bd88e96ac9fc8803ff864e3ba438f93"/><file name="msp_gezondheidsbon.png" hash="162e54d8242699871c202e8ca8307b87"/><file name="msp_giropay.png" hash="da6c83afbcf21821ef3d88e5c955fabb"/><file name="msp_ideal.png" hash="975bc03d136c0e5a37f8d5f5a710b6c7"/><file name="msp_maestro.png" hash="94cfd9498ab1c4293099b0778c899b7b"/><file name="msp_mastercard.png" hash="dedc112da93c9aafe992b68cbe4a6051"/><file name="msp_mistercash.png" hash="c429297b30437960315df5d9b36b0118"/><file name="msp_multisafepay.png" hash="4f7ad00d5eea0113a8b52fa4ece7bf8a"/><file name="msp_parfumcadeaukaart.png" hash="270bb5bfc45a036d9b761431b540e1ad"/><file name="msp_parfumnl.png" hash="a3e69d28d44938db2fbb5a2407c76c7f"/><file name="msp_payafter.png" hash="31eab2a6944a9dc181eed046ee8ec238"/><file name="msp_paypal.png" hash="6d072cdf9a82a9f3c419ad13dbc78846"/><file name="msp_podium.png" hash="657f853f4b26ec2b3b8c4e9ebde05f79"/><file name="msp_sportenfit.png" hash="b0c817c34276ef53f6807c9007b0c660"/><file name="msp_visa.png" hash="88d54fe482cd1e2f8d5857829866cc18"/><file name="msp_vvvgiftcard.png" hash="1674320d998603cf40591fc39bd5cfcf"/><file name="msp_webgift.png" hash="cbea18654cf36cc6a743316d359a6b87"/><file name="msp_wijncadeau.png" hash="7bd0b913ad0769ae2089c3827a47182c"/><file name="msp_yourgift.png" hash="1618cabf2b2842ee26f9e81aa6977eef"/></dir><dir name="nl"><file name="Thumbs.db" hash="1b02d4a7ea1014a099e3abc3fffc4902"/><file name="button.png" hash="3f109b9ccbf7e26c3600d9b445bfab4f"/><file name="msp_amex.png" hash="a5e66b6516f80a7d8add7d59d6bf0e9d"/><file name="msp_babygiftcard.png" hash="85cb17a943036d86402bb439938cf616"/><file name="msp_banktransfer.png" hash="404edf4cd1e16a79e2c72db944f00ae6"/><file name="msp_beautyandwellness.png" hash="e8503146ce5bc90abc7f65e58b19313c"/><file name="msp_boekenbon.png" hash="c69a112af5220771b4d281978cd184ba"/><file name="msp_degrotespeelgoedwinkel.png" hash="e9193002f24d2ba35afb759b5c268be5"/><file name="msp_directdebit.png" hash="df54e38016cda0b1dbd537b4784278f7"/><file name="msp_directebanking.png" hash="a3e72c2e0053b8fab500bd171e516877"/><file name="msp_ebon.png" hash="e98f08cc1108106951e01f9b186a5cdb"/><file name="msp_erotiekbon.png" hash="b3d5a2793aabcf2f9761454c0bc95ad1"/><file name="msp_fashioncheque.png" hash="b11a52ef39ae97225def18778a4be4c2"/><file name="msp_fashiongiftcard.png" hash="9bd88e96ac9fc8803ff864e3ba438f93"/><file name="msp_gezondheidsbon.png" hash="162e54d8242699871c202e8ca8307b87"/><file name="msp_giropay.png" hash="da6c83afbcf21821ef3d88e5c955fabb"/><file name="msp_ideal.png" hash="975bc03d136c0e5a37f8d5f5a710b6c7"/><file name="msp_klarna.png" hash="c319a648de78523fb01ec68748abfebb"/><file name="msp_maestro.png" hash="94cfd9498ab1c4293099b0778c899b7b"/><file name="msp_mastercard.png" hash="dedc112da93c9aafe992b68cbe4a6051"/><file name="msp_mistercash.png" hash="c429297b30437960315df5d9b36b0118"/><file name="msp_multisafepay.png" hash="4f7ad00d5eea0113a8b52fa4ece7bf8a"/><file name="msp_parfumcadeaukaart.png" hash="270bb5bfc45a036d9b761431b540e1ad"/><file name="msp_parfumnl.png" hash="a3e69d28d44938db2fbb5a2407c76c7f"/><file name="msp_payafter.png" hash="31eab2a6944a9dc181eed046ee8ec238"/><file name="msp_paypal.png" hash="6d072cdf9a82a9f3c419ad13dbc78846"/><file name="msp_podium.png" hash="657f853f4b26ec2b3b8c4e9ebde05f79"/><file name="msp_sportenfit.png" hash="b0c817c34276ef53f6807c9007b0c660"/><file name="msp_visa.png" hash="88d54fe482cd1e2f8d5857829866cc18"/><file name="msp_vvvgiftcard.png" hash="1674320d998603cf40591fc39bd5cfcf"/><file name="msp_webgift.png" hash="cbea18654cf36cc6a743316d359a6b87"/><file name="msp_wijncadeau.png" hash="7bd0b913ad0769ae2089c3827a47182c"/><file name="msp_yourgift.png" hash="1618cabf2b2842ee26f9e81aa6977eef"/></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="msp"><file name="agreements.phtml" hash="a7f6319765ce10fbe57f3ebe33e764f3"/><file name="bno.phtml" hash="e5d90918b36fafda8e5034ffd789c43d"/><file name="default.phtml" hash="ec10be93aeddafb8cb77a8fd937784da"/><file name="idealissuers.phtml" hash="b585dc9cb54f6b81639eb526ed1a5a25"/><file name="klarna.phtml" hash="3557d91aa8aa283cee07d6a5e168570c"/><file name="link.phtml" hash="bce1f16d16d276422073e1d29607181e"/><file name="linkText.phtml" hash="d94fba14433870541603c1b3943d6ae8"/></dir></dir><dir name="layout"><file name="msp.xml" hash="cf698709a65bb5b471b992149f210ace"/></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="msp.xml" hash="f7a47073dd92424be2602a3b214edef4"/></dir><dir name="template"><dir name="msp"><file name="gateways.phtml" hash="ed4cf6ffc3e0dba9ec5fc7d5c80b8ee1"/><file name="idealissuers.phtml" hash="ed4cf6ffc3e0dba9ec5fc7d5c80b8ee1"/><dir name="servicecost"><dir name="order"><dir name="creditmemo"><dir name="create"><dir name="totals"><file name="adjustments.phtml" hash="223040b759c955cbd174199275383649"/></dir></dir></dir></dir></dir></dir></dir></dir></dir></dir></target><target name="mage"><dir name="lib"><dir name="multisafepay"><file name="MultiSafepay.combined.php" hash="11ce128cebea8c8de3b3c6a2e2dacb37"/></dir></dir></target><target name="mageetc"><dir name="modules"><file name="MultiSafepay_Msp.xml" hash="938ed562dccc9b8c187ffd10ba4bde7a"/></dir></target><target name="magelocale"><dir name="nl_NL"><file name="MultiSafepay_Msp.csv" hash="4b4736b69b17e654a7f0531acb6e887a"/></dir><dir name="de_DE"><file name="MultiSafepay_Msp.csv" hash="cbf33fe7b3be78b7c12f1e86e16a2a01"/></dir><dir name="en_EN"><file name="MultiSafepay_Msp.csv" hash="ed854aac72b11e698c578218b6f4906e"/></dir><dir name="es_ES"><file name="MultiSafepay_Msp.csv" hash="f6c76aa1273e1a4e897b0e6c5aac780c"/></dir><dir name="fr_FR"><file name="MultiSafepay_Msp.csv" hash="ff58587f6c892f4de9074282a2a997f0"/></dir><dir name="it_IT"><file name="MultiSafepay_Msp.csv" hash="0332fffa252445398724d76ecb4232e0"/></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="js"><dir name="MultiSafepay"><file name="config.js" hash="d41d8cd98f00b204e9800998ecf8427e"/></dir></dir><dir name="images"><dir name="msp"><file name="button.png" hash="3f109b9ccbf7e26c3600d9b445bfab4f"/><dir name="nl"><file name="button.png" hash="3f109b9ccbf7e26c3600d9b445bfab4f"/><file name="msp_amex.png" hash="a5e66b6516f80a7d8add7d59d6bf0e9d"/><file name="msp_babygiftcard.png" hash="85cb17a943036d86402bb439938cf616"/><file name="msp_banktransfer.png" hash="404edf4cd1e16a79e2c72db944f00ae6"/><file name="msp_beautyandwellness.png" hash="e8503146ce5bc90abc7f65e58b19313c"/><file name="msp_boekenbon.png" hash="c69a112af5220771b4d281978cd184ba"/><file name="msp_degrotespeelgoedwinkel.png" hash="e9193002f24d2ba35afb759b5c268be5"/><file name="msp_directdebit.png" hash="df54e38016cda0b1dbd537b4784278f7"/><file name="msp_directebanking.png" hash="a3e72c2e0053b8fab500bd171e516877"/><file name="msp_ebon.png" hash="e98f08cc1108106951e01f9b186a5cdb"/><file name="msp_erotiekbon.png" hash="b3d5a2793aabcf2f9761454c0bc95ad1"/><file name="msp_fashioncheque.png" hash="b11a52ef39ae97225def18778a4be4c2"/><file name="msp_fashiongiftcard.png" hash="9bd88e96ac9fc8803ff864e3ba438f93"/><file name="msp_gezondheidsbon.png" hash="162e54d8242699871c202e8ca8307b87"/><file name="msp_giropay.png" hash="da6c83afbcf21821ef3d88e5c955fabb"/><file name="msp_ideal.png" hash="975bc03d136c0e5a37f8d5f5a710b6c7"/><file name="msp_klarna.png" hash="c319a648de78523fb01ec68748abfebb"/><file name="msp_maestro.png" hash="94cfd9498ab1c4293099b0778c899b7b"/><file name="msp_mastercard.png" hash="dedc112da93c9aafe992b68cbe4a6051"/><file name="msp_mistercash.png" hash="c429297b30437960315df5d9b36b0118"/><file name="msp_multisafepay.png" hash="4f7ad00d5eea0113a8b52fa4ece7bf8a"/><file name="msp_parfumcadeaukaart.png" hash="270bb5bfc45a036d9b761431b540e1ad"/><file name="msp_parfumnl.png" hash="a3e69d28d44938db2fbb5a2407c76c7f"/><file name="msp_payafter.png" hash="31eab2a6944a9dc181eed046ee8ec238"/><file name="msp_paypal.png" hash="6d072cdf9a82a9f3c419ad13dbc78846"/><file name="msp_podium.png" hash="657f853f4b26ec2b3b8c4e9ebde05f79"/><file name="msp_sportenfit.png" hash="b0c817c34276ef53f6807c9007b0c660"/><file name="msp_visa.png" hash="88d54fe482cd1e2f8d5857829866cc18"/><file name="msp_vvvgiftcard.png" hash="1674320d998603cf40591fc39bd5cfcf"/><file name="msp_webgift.png" hash="cbea18654cf36cc6a743316d359a6b87"/><file name="msp_wijncadeau.png" hash="7bd0b913ad0769ae2089c3827a47182c"/><file name="msp_yourgift.png" hash="1618cabf2b2842ee26f9e81aa6977eef"/></dir></dir></dir><dir name="css"><dir name="MultiSafepay"><file name="config.css" hash="593e6af0aa3292c25725b9b9c17d877b"/></dir></dir></dir></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.2.13</min><max>5.6.6</max></php></required></dependencies>
18
  </package>