klarnapayments - Version 5.2.15

Version Notes

This version is not compatible with any Klarna module version of 4.x or earlier.

Download this release

Release Info

Developer Klarna
Extension klarnapayments
Version 5.2.15
Comparing to
See all releases


Code changes from version 5.2.11 to 5.2.15

app/code/community/Vaimo/Klarna/Block/Form/Abstract.php CHANGED
@@ -365,16 +365,7 @@ class Vaimo_Klarna_Block_Form_Abstract extends Mage_Payment_Block_Form
365
  $klarna = Mage::getModel('klarna/klarna');
366
  $klarna->setQuote($this->getQuote(), $method);
367
  $url = $klarna->getConfigData('terms_url');
368
- if ($url) {
369
- if (stristr($url, 'http')) {
370
- $_termsLink = '<a href="' . $url . '" target="_blank">' . Mage::helper('klarna')->__('terms and conditions') . '</a>';
371
- } else {
372
- $_termsLink = '<a href="' . Mage::getSingleton('core/url')->getUrl($url) . '" target="_blank">' . Mage::helper('klarna')->__('terms and conditions') . '</a>';
373
- }
374
- } else {
375
- $_termsLink = '<a href="#" target="_blank">' . Mage::helper('klarna')->__('terms and conditions') . '</a>';
376
- }
377
- return $_termsLink;
378
  }
379
 
380
  /**
365
  $klarna = Mage::getModel('klarna/klarna');
366
  $klarna->setQuote($this->getQuote(), $method);
367
  $url = $klarna->getConfigData('terms_url');
368
+ return Mage::helper('klarna')->getTermsUrlLink($url);
 
 
 
 
 
 
 
 
 
369
  }
370
 
371
  /**
app/code/community/Vaimo/Klarna/Helper/Data.php CHANGED
@@ -723,6 +723,34 @@ class Vaimo_Klarna_Helper_Data extends Mage_Core_Helper_Abstract
723
  return $res;
724
  }
725
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
726
  /**
727
  * Sets the function name, which is used in logs. This is set in each class construct
728
  *
723
  return $res;
724
  }
725
 
726
+ public function getTermsUrlLink($url)
727
+ {
728
+ if ($url) {
729
+ if (stristr($url, 'http')) {
730
+ $_termsLink = '<a href="' . $url . '" target="_blank">' . $this->__('terms and conditions') . '</a>';
731
+ } else {
732
+ $_termsLink = '<a href="' . Mage::getSingleton('core/url')->getUrl($url) . '" target="_blank">' . $this->__('terms and conditions') . '</a>';
733
+ }
734
+ } else {
735
+ $_termsLink = '<a href="#" target="_blank">' . $this->__('terms and conditions') . '</a>';
736
+ }
737
+ return $_termsLink;
738
+ }
739
+
740
+ public function getTermsUrl($url)
741
+ {
742
+ if ($url) {
743
+ if (stristr($url, 'http')) {
744
+ $_termsLink = $url;
745
+ } else {
746
+ $_termsLink = Mage::getSingleton('core/url')->getUrl($url);
747
+ }
748
+ } else {
749
+ $_termsLink = '';
750
+ }
751
+ return $_termsLink;
752
+ }
753
+
754
  /**
755
  * Sets the function name, which is used in logs. This is set in each class construct
756
  *
app/code/community/Vaimo/Klarna/Model/Api/Kco.php CHANGED
@@ -226,7 +226,7 @@ class Vaimo_Klarna_Model_Api_Kco extends Vaimo_Klarna_Model_Api_Abstract
226
  $create['purchase_currency'] = $this->_getQuote()->getQuoteCurrencyCode();
227
  $create['locale'] = str_replace('_', '-', Mage::app()->getLocale()->getLocaleCode());
228
  $create['merchant']['id'] = $this->_klarnaSetup->getMerchantId();
229
- $create['merchant']['terms_uri'] = Mage::getUrl($this->_getTransport()->getConfigData('terms_url'));
230
  $create['merchant']['checkout_uri'] = Mage::getUrl('checkout/klarna');
231
  $create['merchant']['confirmation_uri'] = Mage::getUrl('checkout/klarna/success');
232
  $create['gui']['layout'] = $this->_isMobile() ? 'mobile' : 'desktop';
226
  $create['purchase_currency'] = $this->_getQuote()->getQuoteCurrencyCode();
227
  $create['locale'] = str_replace('_', '-', Mage::app()->getLocale()->getLocaleCode());
228
  $create['merchant']['id'] = $this->_klarnaSetup->getMerchantId();
229
+ $create['merchant']['terms_uri'] = Mage::helper('klarna')->getTermsUrl($this->_klarnaSetup->getTermsUrl());
230
  $create['merchant']['checkout_uri'] = Mage::getUrl('checkout/klarna');
231
  $create['merchant']['confirmation_uri'] = Mage::getUrl('checkout/klarna/success');
232
  $create['gui']['layout'] = $this->_isMobile() ? 'mobile' : 'desktop';
app/code/community/Vaimo/Klarna/Model/Api/Rest.php CHANGED
@@ -398,7 +398,7 @@ class Vaimo_Klarna_Model_Api_Rest extends Vaimo_Klarna_Model_Api_Abstract
398
  $pushUrl = substr($pushUrl, 0, strlen($pushUrl) - 1);
399
  }
400
 
401
- $create['merchant_urls']['terms'] = Mage::getUrl($this->_getTransport()->getConfigData('terms_url'));
402
  $create['merchant_urls']['checkout'] = Mage::getUrl('checkout/klarna');
403
  $create['merchant_urls']['confirmation'] = Mage::getUrl('checkout/klarna/success');
404
  $create['merchant_urls']['push'] = $pushUrl;
398
  $pushUrl = substr($pushUrl, 0, strlen($pushUrl) - 1);
399
  }
400
 
401
+ $create['merchant_urls']['terms'] = Mage::helper('klarna')->getTermsUrl($this->_klarnaSetup->getTermsUrl());
402
  $create['merchant_urls']['checkout'] = Mage::getUrl('checkout/klarna');
403
  $create['merchant_urls']['confirmation'] = Mage::getUrl('checkout/klarna/success');
404
  $create['merchant_urls']['push'] = $pushUrl;
app/code/community/Vaimo/Klarna/controllers/Checkout/KlarnaController.php CHANGED
@@ -42,6 +42,11 @@ class Vaimo_Klarna_Checkout_KlarnaController extends Mage_Core_Controller_Front_
42
  return Mage::getSingleton('checkout/cart');
43
  }
44
 
 
 
 
 
 
45
  /**
46
  * Get current active quote instance
47
  *
@@ -370,18 +375,31 @@ class Vaimo_Klarna_Checkout_KlarnaController extends Mage_Core_Controller_Front_
370
  $data = $this->getRequest()->getPost('shipping_method', '');
371
  $resultMessage['shipping_method'] = $data;
372
 
373
- /** @var $onepage Mage_Checkout_Model_Type_Onepage */
374
- $onepage = new Mage_Checkout_Model_Type_Onepage(); // Mage::getSingleton('checkout/type_onepage');
375
  try {
376
- $result = $onepage->saveShippingMethod($data);
377
  if (!$result) {
378
  Mage::dispatchEvent(
379
  'klarnacheckout_controller_klarna_save_shipping_method',
380
  array(
381
  'request' => $this->getRequest(),
382
- 'quote' => $onepage->getQuote()));
383
- $onepage->getQuote()->collectTotals()->save();
384
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
385
  }
386
  catch (Exception $e) {
387
  $resultMessage['error'] = $e->getMessage();
42
  return Mage::getSingleton('checkout/cart');
43
  }
44
 
45
+ protected function _getOnepage()
46
+ {
47
+ return Mage::getSingleton('checkout/type_onepage');
48
+ }
49
+
50
  /**
51
  * Get current active quote instance
52
  *
375
  $data = $this->getRequest()->getPost('shipping_method', '');
376
  $resultMessage['shipping_method'] = $data;
377
 
 
 
378
  try {
379
+ $result = $this->_getOnepage()->saveShippingMethod($data);
380
  if (!$result) {
381
  Mage::dispatchEvent(
382
  'klarnacheckout_controller_klarna_save_shipping_method',
383
  array(
384
  'request' => $this->getRequest(),
385
+ 'quote' => $this->_getOnepage()->getQuote()));
386
+ $this->_getOnepage()->getQuote()->collectTotals()->save();
387
  }
388
+ /*
389
+ // This code should work just as well, it won't call all the saveShippingMethod functions
390
+ $quote = $this->_getQuote();
391
+ $shippingAddress = $quote->getShippingAddress();
392
+ $shippingAddress->setShippingMethod($data);
393
+ Mage::dispatchEvent(
394
+ 'klarnacheckout_controller_klarna_save_shipping_method',
395
+ array(
396
+ 'request' => $this->getRequest(),
397
+ 'quote' => $quote
398
+ )
399
+ );
400
+ $quote->setTotalsCollectedFlag(false);
401
+ $quote->collectTotals()->save();
402
+ */
403
  }
404
  catch (Exception $e) {
405
  $resultMessage['error'] = $e->getMessage();
app/code/community/Vaimo/Klarna/etc/config.xml CHANGED
@@ -25,7 +25,7 @@
25
  --><config>
26
  <modules>
27
  <Vaimo_Klarna>
28
- <version>5.2.11</version>
29
  <name>Vaimo Klarna Module</name>
30
  <depends>
31
  <Mage_Payment/>
25
  --><config>
26
  <modules>
27
  <Vaimo_Klarna>
28
+ <version>5.2.15</version>
29
  <name>Vaimo Klarna Module</name>
30
  <depends>
31
  <Mage_Payment/>
app/locale/fi_FI/Vaimo_Klarna.csv CHANGED
@@ -162,10 +162,12 @@
162
  "2 columns with right sidebar","2 columns with right sidebar"
163
  "Show login form","Show login form"
164
  "Only for 2 column layout","Only for 2 column layout"
165
- "Order Summary", "Order Summary"
166
  "E-mail", "E-mail"
167
  "Password", "Password"
168
  "Login", "Login"
169
  "Shipping Countries","Shipping Countries"
170
  "Specific for API V.3.1. List of allowed shipping countries. If none selected, none will be supported. List will appear in Klarna Checkout","Specific for API V.3.1. List of allowed shipping countries. If none selected, none will be supported. List will appear in Klarna Checkout"
171
  "Please note that your official address will be used for shipping address when you place your order","Please note that your official address will be used for shipping address when you place your order"
 
 
162
  "2 columns with right sidebar","2 columns with right sidebar"
163
  "Show login form","Show login form"
164
  "Only for 2 column layout","Only for 2 column layout"
165
+ "Order Summary", "Yhteenveto"
166
  "E-mail", "E-mail"
167
  "Password", "Password"
168
  "Login", "Login"
169
  "Shipping Countries","Shipping Countries"
170
  "Specific for API V.3.1. List of allowed shipping countries. If none selected, none will be supported. List will appear in Klarna Checkout","Specific for API V.3.1. List of allowed shipping countries. If none selected, none will be supported. List will appear in Klarna Checkout"
171
  "Please note that your official address will be used for shipping address when you place your order","Please note that your official address will be used for shipping address when you place your order"
172
+ "Shopping Cart","Ostoskori"
173
+ "Choose shipping method","Valitse toimitustapa"
js/vaimo/klarna/klarnacheckout.js CHANGED
@@ -25,7 +25,7 @@ function reloadKlarnaIFrame(results) {
25
  matrixRateFeeEl = document.getElementById('s_method_matrixrate_matrixrate_free');
26
 
27
  // Redraw layout if is in responsive mode
28
- if(klarnaResponsive.getLayout() === 'two-column') {
29
  // Create a node for the fetched block
30
  var tempEl = document.createElement('span');
31
  tempEl.innerHTML = objHtml.update_sections.html;
@@ -46,10 +46,10 @@ function reloadKlarnaIFrame(results) {
46
 
47
  fadeIn(document.getElementById("klarna_totals"));
48
 
49
- vanillaAjax( // Refresh the Klarna iFrame
50
  klarnaHtml.value,
51
  '',
52
- refreshKlarnaIFrame, '', '');
53
  };
54
 
55
  function refreshKlarnaIFrame(results) {
@@ -120,13 +120,13 @@ function refreshKlarna(data) {
120
  vanillaAjax(
121
  klarnaCartValue,
122
  '',
123
- reloadKlarnaIFrame, '', ''
124
  );
125
- } else if (window.reloadKlarnaIFrameFlag) {
126
  vanillaAjax( // Refresh the Klarna iFrame
127
  klarnaHtml.value,
128
  '',
129
- refreshKlarnaIFrame, '', ''
130
  );
131
  }
132
  } else if (obj.error) {
@@ -189,7 +189,7 @@ function updateCartKlarna(type, input, quantity) {
189
  var ajaxUrl = formID.getAttribute("action");
190
  }
191
 
192
- _klarnaCheckoutWrapper(function(api) {
193
  vanillaAjax(ajaxUrl, dataString,
194
  refreshKlarna,
195
  function(data) {
@@ -197,9 +197,10 @@ function updateCartKlarna(type, input, quantity) {
197
  },
198
  function(data) {
199
  alert(data);
200
- }
 
201
  );
202
- });
203
  setTimeout(function() { // Fade out the "alert" after 3,5 seconds
204
  fadeOut(klarnaMsg);
205
  }, 3500)
@@ -213,8 +214,12 @@ function hideLoader() {
213
  function massUpdateCartKlarna(typeArray, input, quantity) {
214
  klarnaCheckoutSuspend();
215
  window.reloadKlarnaIFrameFlag = false;
 
216
  for (i = 0; i < typeArray.length; i++) {
217
- if (i == typeArray.length-1) { window.reloadKlarnaIFrameFlag = true; }
 
 
 
218
  updateCartKlarna(typeArray[i], input, quantity);
219
  }
220
  klarnaCheckoutResume();
@@ -249,7 +254,7 @@ function bindCheckoutControls() {
249
  this.disabled = 'disabled';
250
  vanillaAjax(url, 'subscribe_to_newsletter=' + checked, function(){
251
  document.getElementById('klarna-checkout-newsletter').disabled = '';
252
- });
253
  };
254
  };
255
 
@@ -272,7 +277,7 @@ function bindCheckoutControls() {
272
  for (var q=0; q<shippingMethods.length; q++) {
273
  shippingMethodItem = shippingMethods[q];
274
  shippingMethodItem.onchange = function() {
275
- massUpdateCartKlarna(["shipping","cart"], '', '');
276
  return false;
277
  };
278
  };
@@ -448,7 +453,7 @@ var KlarnaLogin = (function () {
448
  data = form.serialize(false),
449
  url = form.action;
450
 
451
- vanillaAjax(url, data, this.successCallback.bind(this), this.errorCallback.bind(this));
452
  };
453
 
454
  me.prototype.showMessage = function (message) {
@@ -581,7 +586,7 @@ var KlarnaResponsive = (function () {
581
  tempEl = document.createDocumentFragment();
582
 
583
  for(var key in groupedEls) {
584
- if(groupedEls.hasOwnProperty(key)) {
585
  tempEl.appendChild(groupedEls[key]);
586
  }
587
  }
@@ -600,9 +605,9 @@ var KlarnaResponsive = (function () {
600
  */
601
  function getSidebarElements (sidebarEl, getGroup) {
602
  var ref = sidebarEl || document,
603
- cartEl = document.getElementById('#klarna_cart-container') ? ref.querySelector('#klarna_cart-container') : null,
604
- shippingEl = document.getElementById('#klarna_shipping') ? ref.querySelector('#klarna_shipping') : null,
605
- discountEl = document.getElementById('#klarna_discount') ? ref.querySelector('#klarna_discount') : null,
606
  groupedEls = {
607
  cart: cartEl,
608
  shipping: shippingEl,
@@ -610,7 +615,7 @@ var KlarnaResponsive = (function () {
610
  },
611
  sidebarEls = groupedEls;
612
 
613
- sidebarEls.payment = document.getElementById('#klarna_methods') ? ref.querySelector('#klarna_methods') : null;
614
 
615
  return getGroup ? groupedEls : sidebarEls;
616
  }
@@ -672,7 +677,7 @@ var KlarnaResponsive = (function () {
672
 
673
  // Remove all the current sidebar items inside the main content area
674
  for(var key in sidebarEls) {
675
- if(sidebarEls.hasOwnProperty(key)) {
676
  mainContentEl.removeChild(sidebarEls[key]);
677
  }
678
  }
@@ -720,6 +725,7 @@ docReady(function() {
720
  // If different postcode, it sends back true, which is where we need to update KCO
721
  // Perhaps we can update shipping section in THAT ajax call, lets see...
722
  // Using updateCartKlarna('shipping'); is NOT correct at least :)
 
723
  _klarnaCheckout(function(api) {
724
  api.on({
725
  'change': function(data) {
@@ -734,13 +740,13 @@ docReady(function() {
734
  if (answer) {
735
  massUpdateCartKlarna(["shipping"], '', '');
736
  }
737
- }
738
  );
739
  }
740
  }
741
  });
742
  });
743
-
744
  });
745
 
746
  function klarnaCheckoutGo(url) {
25
  matrixRateFeeEl = document.getElementById('s_method_matrixrate_matrixrate_free');
26
 
27
  // Redraw layout if is in responsive mode
28
+ if (klarnaResponsive.getLayout() === 'two-column') {
29
  // Create a node for the fetched block
30
  var tempEl = document.createElement('span');
31
  tempEl.innerHTML = objHtml.update_sections.html;
46
 
47
  fadeIn(document.getElementById("klarna_totals"));
48
 
49
+ vanillaAjax ( // Refresh the Klarna iFrame
50
  klarnaHtml.value,
51
  '',
52
+ refreshKlarnaIFrame, '', '', false);
53
  };
54
 
55
  function refreshKlarnaIFrame(results) {
120
  vanillaAjax(
121
  klarnaCartValue,
122
  '',
123
+ reloadKlarnaIFrame, '', '', false
124
  );
125
+ } else if (window.refreshKlarnaIFrameFlag) {
126
  vanillaAjax( // Refresh the Klarna iFrame
127
  klarnaHtml.value,
128
  '',
129
+ reloadKlarnaIFrame, '', '', false
130
  );
131
  }
132
  } else if (obj.error) {
189
  var ajaxUrl = formID.getAttribute("action");
190
  }
191
 
192
+ //_klarnaCheckoutWrapper(function(api) {
193
  vanillaAjax(ajaxUrl, dataString,
194
  refreshKlarna,
195
  function(data) {
197
  },
198
  function(data) {
199
  alert(data);
200
+ },
201
+ false
202
  );
203
+ //});
204
  setTimeout(function() { // Fade out the "alert" after 3,5 seconds
205
  fadeOut(klarnaMsg);
206
  }, 3500)
214
  function massUpdateCartKlarna(typeArray, input, quantity) {
215
  klarnaCheckoutSuspend();
216
  window.reloadKlarnaIFrameFlag = false;
217
+ window.refreshKlarnaIFrameFlag = false;
218
  for (i = 0; i < typeArray.length; i++) {
219
+ if (i == typeArray.length-1) {
220
+ window.reloadKlarnaIFrameFlag = true;
221
+ window.refreshKlarnaIFrameFlag = true;
222
+ }
223
  updateCartKlarna(typeArray[i], input, quantity);
224
  }
225
  klarnaCheckoutResume();
254
  this.disabled = 'disabled';
255
  vanillaAjax(url, 'subscribe_to_newsletter=' + checked, function(){
256
  document.getElementById('klarna-checkout-newsletter').disabled = '';
257
+ }, '', '', true);
258
  };
259
  };
260
 
277
  for (var q=0; q<shippingMethods.length; q++) {
278
  shippingMethodItem = shippingMethods[q];
279
  shippingMethodItem.onchange = function() {
280
+ massUpdateCartKlarna(["shipping"], '', ''); // ,"cart"
281
  return false;
282
  };
283
  };
453
  data = form.serialize(false),
454
  url = form.action;
455
 
456
+ vanillaAjax(url, data, this.successCallback.bind(this), this.errorCallback.bind(this), '', true);
457
  };
458
 
459
  me.prototype.showMessage = function (message) {
586
  tempEl = document.createDocumentFragment();
587
 
588
  for(var key in groupedEls) {
589
+ if(groupedEls.hasOwnProperty(key) && groupedEls[key] != null) {
590
  tempEl.appendChild(groupedEls[key]);
591
  }
592
  }
605
  */
606
  function getSidebarElements (sidebarEl, getGroup) {
607
  var ref = sidebarEl || document,
608
+ cartEl = document.getElementById('klarna_cart-container') ? document.getElementById('klarna_cart-container') : ref.querySelector('#klarna_cart-container'),
609
+ shippingEl = document.getElementById('klarna_shipping') ? document.getElementById('klarna_shipping') : ref.querySelector('#klarna_shipping'),
610
+ discountEl = document.getElementById('klarna_discount') ? document.getElementById('klarna_discount') : ref.querySelector('#klarna_discount'),
611
  groupedEls = {
612
  cart: cartEl,
613
  shipping: shippingEl,
615
  },
616
  sidebarEls = groupedEls;
617
 
618
+ sidebarEls.payment = document.getElementById('klarna_methods') ? document.getElementById('klarna_methods') : ref.querySelector('#klarna_methods');
619
 
620
  return getGroup ? groupedEls : sidebarEls;
621
  }
677
 
678
  // Remove all the current sidebar items inside the main content area
679
  for(var key in sidebarEls) {
680
+ if(sidebarEls.hasOwnProperty(key) && sidebarEls[key] != null) {
681
  mainContentEl.removeChild(sidebarEls[key]);
682
  }
683
  }
725
  // If different postcode, it sends back true, which is where we need to update KCO
726
  // Perhaps we can update shipping section in THAT ajax call, lets see...
727
  // Using updateCartKlarna('shipping'); is NOT correct at least :)
728
+ /*
729
  _klarnaCheckout(function(api) {
730
  api.on({
731
  'change': function(data) {
740
  if (answer) {
741
  massUpdateCartKlarna(["shipping"], '', '');
742
  }
743
+ }, '', '', true
744
  );
745
  }
746
  }
747
  });
748
  });
749
+ */
750
  });
751
 
752
  function klarnaCheckoutGo(url) {
js/vaimo/klarna/klarnautils.js CHANGED
@@ -72,9 +72,8 @@ function klarnaCheckoutResume() {
72
  });
73
  };
74
 
75
- function vanillaAjax(url, dataString, callbackOnSuccess, callbackOnError, callbackOnOther) {
76
  var xmlhttp;
77
-
78
  if (window.XMLHttpRequest) {
79
  // code for IE7+, Firefox, Chrome, Opera, Safari
80
  xmlhttp = new XMLHttpRequest();
@@ -83,28 +82,39 @@ function vanillaAjax(url, dataString, callbackOnSuccess, callbackOnError, callba
83
  xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
84
  }
85
 
86
- xmlhttp.onreadystatechange = function() {
87
- if (xmlhttp.readyState == XMLHttpRequest.DONE ) {
88
- var response = xmlhttp.responseText;
89
- if(xmlhttp.status == 200){
90
- callbackOnSuccess(response);
91
- } else if(xmlhttp.status == 400) {
92
- callbackOnError(response);
93
- } else {
94
- callbackOnOther(response);
 
 
 
95
  }
96
  }
 
 
97
  }
98
 
99
- xmlhttp.open("POST", url, true);
100
-
101
- // Send the proper header information along with the request
102
  xmlhttp.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
103
- /*xmlhttp.setRequestHeader("Content-length", dataString.length);
104
- xmlhttp.setRequestHeader("Connection", "close");*/
105
  xmlhttp.setRequestHeader("X_REQUESTED_WITH", "XMLHttpRequest");
106
-
107
  xmlhttp.send(dataString);
 
 
 
 
 
 
 
 
 
 
 
108
  };
109
 
110
  // fade out
72
  });
73
  };
74
 
75
+ function vanillaAjax(url, dataString, callbackOnSuccess, callbackOnError, callbackOnOther, async) {
76
  var xmlhttp;
 
77
  if (window.XMLHttpRequest) {
78
  // code for IE7+, Firefox, Chrome, Opera, Safari
79
  xmlhttp = new XMLHttpRequest();
82
  xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
83
  }
84
 
85
+ async = true; // Synchronous loading is deprecated by this may come in handy in the future
86
+ if (async) {
87
+ xmlhttp.onreadystatechange = function() {
88
+ if (xmlhttp.readyState == XMLHttpRequest.DONE ) {
89
+ var response = xmlhttp.responseText;
90
+ if (xmlhttp.status == 200 && callbackOnSuccess != ''){
91
+ callbackOnSuccess(response);
92
+ } else if (xmlhttp.status == 400 && callbackOnError != '') {
93
+ callbackOnError(response);
94
+ } else if (callbackOnOther != '') {
95
+ callbackOnOther(response);
96
+ }
97
  }
98
  }
99
+ } else {
100
+ //xmlhttp.timeout = 4000;
101
  }
102
 
103
+ xmlhttp.open("POST", url, async);
 
 
104
  xmlhttp.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
 
 
105
  xmlhttp.setRequestHeader("X_REQUESTED_WITH", "XMLHttpRequest");
 
106
  xmlhttp.send(dataString);
107
+
108
+ /*if (!async) {
109
+ var response = xmlhttp.responseText;
110
+ if (xmlhttp.status == 200 && callbackOnSuccess != ''){
111
+ callbackOnSuccess(response);
112
+ } else if (xmlhttp.status == 400 && callbackOnError != '') {
113
+ callbackOnError(response);
114
+ } else if (callbackOnOther != '') {
115
+ callbackOnOther(response);
116
+ }
117
+ }*/
118
  };
119
 
120
  // fade out
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>klarnapayments</name>
4
- <version>5.2.11</version>
5
  <stability>stable</stability>
6
  <license>Open Software License (OSL)</license>
7
  <channel>community</channel>
@@ -10,9 +10,9 @@
10
  <description>Klarna payment module for Klarna Checkout, invoice and part payments. This module works for all countries were Klarna's product offering is applicable. To use this module requires that you have a contract with Klarna.</description>
11
  <notes>This version is not compatible with any Klarna module version of 4.x or earlier.</notes>
12
  <authors><author><name>Klarna</name><user>Klarna</user><email>magento@klarna.com</email></author><author><name>Vaimo</name><user>VAIMO</user><email>info@vaimo.com</email></author></authors>
13
- <date>2015-04-01</date>
14
- <time>13:33:51</time>
15
- <contents><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="vaimo_klarna.xml" hash="19a196d33bcc2e1eaf4413dcefeb5f04"/></dir><dir name="template"><dir name="vaimo"><dir name="klarna"><dir name="creditmemo"><dir name="totals"><file name="adjustments.phtml" hash="b0299ac0b1ca75b4d143413cc8eb8217"/></dir></dir><dir name="info"><file name="account.phtml" hash="4c51cb3b4aeb54bb009e384d300ece98"/><file name="checkout.phtml" hash="6c35211c76987e619b51f6b6f06b0707"/><dir name="children"><file name="invoicefee.phtml" hash="2b721be479706716f6468c8395455fa5"/><file name="invoices.phtml" hash="ac4e3bd4aea83e9ea3479fc04ed0d5a4"/><file name="paymentplan.phtml" hash="885c020c05afd4516a42a33a6986f32f"/><file name="reference.phtml" hash="a789d5c8d4253c6ba4d894e2f0465f9c"/><file name="reservation.phtml" hash="d96f36640577e8e053050c24bfb4ec43"/></dir><file name="invoice.phtml" hash="498a1d706ac1da4fc71982f1232de492"/><file name="special.phtml" hash="4c51cb3b4aeb54bb009e384d300ece98"/></dir><dir name="pclass"><file name="list.phtml" hash="5cef6b0093bb5da18dbf1f9fd7316c66"/><file name="update.phtml" hash="ed53d5eb248f8181cd601e7b10cb170f"/></dir></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="vaimo_klarna.xml" hash="744b3c349a84d348f0571852888dee8e"/></dir><dir name="template"><dir name="vaimo"><dir name="klarna"><dir name="catalog"><dir name="product"><file name="pricewidget.phtml" hash="f5838b8bb129634487a398ca2557f48b"/></dir></dir><dir name="checkout"><file name="fee.phtml" hash="3a58d7e7278bf9fcae1cdb9d836d4ff3"/><file name="header.phtml" hash="51a7f95f2fcb5f7b02e19b13690631a8"/><file name="top.phtml" hash="9cc1ce32346bd6ed7c16139f3f960a95"/></dir><dir name="form"><file name="account.phtml" hash="78ec2685231b4664ec9106be2fb1b847"/><dir name="address"><file name="search.phtml" hash="473e03908fdb841f7152ed78671fcef0"/></dir><file name="checkout.phtml" hash="fe86056c73f86d53a73ebda5c5f3547c"/><dir name="children"><file name="addressresult.phtml" hash="4bb8fd4309c9b4012bfeb2d31c90076a"/><file name="checkoutservice.phtml" hash="3ae5ecf2420cb457304ef0b9f4227b9c"/><file name="consent.phtml" hash="a4f446258fa20a453d3566cffc20085d"/><file name="dateofbirth.phtml" hash="e1dbe367ce43029d671dae6f7d3ca956"/><file name="gender.phtml" hash="c8428e9b76db957a866cfc109d7a0c09"/><file name="notifications.phtml" hash="485d9f8e90ca6ff3c8152d2c3a0ee138"/><file name="paymentplan_information.phtml" hash="8f28c418c08df3e664744ef28bc283c3"/><file name="pclass.phtml" hash="848a7e485badbdf11d10628c93906b21"/><file name="personalnumber.phtml" hash="dcea08f692ed978689242ba8309f3cdb"/><file name="phonenumber.phtml" hash="6348b12795e073d8881ab0b74d7df175"/></dir><file name="invoice.phtml" hash="96495650061287f034fd789a372359a2"/><dir name="paymentplan"><file name="information.phtml" hash="d013f147f38502cb4baf591d56d177d9"/></dir><file name="special.phtml" hash="a81e468c29aff1c020cde8d9b3b1f223"/></dir><dir name="info"><file name="account.phtml" hash="a848c9544a5e400bc27e26d050eafa3c"/><file name="checkout.phtml" hash="1364aae5f0b71233e215e8a1c40ea7f7"/><dir name="children"><file name="invoicefee.phtml" hash="c6b4ccff75e220c5641a8fadd6753131"/><file name="invoices.phtml" hash="cbdd0256b8e1d742257bcba9b1eef67a"/><file name="paymentplan.phtml" hash="3a73d918dc733c0888f18e442f9eb64c"/><file name="reservation.phtml" hash="9880ef8208f672d531cc10eef8467856"/></dir><file name="invoice.phtml" hash="cd3514e43dd441b4530b95e408784d84"/><file name="special.phtml" hash="c472684055c8839b8e365b80a5e1ee0c"/></dir><dir name="klarnacheckout"><file name="account-login.phtml" hash="08279a9c8ecb32c4b7de2fe643aacb61"/><file name="autofill.phtml" hash="6bdd6c22fd1771106f52876e66d7f4de"/><dir name="cart"><dir name="item"><file name="default.phtml" hash="cb76c84ce20dbd391a1615756f2d72d7"/></dir><file name="totals.phtml" hash="a8496f65d2bd8390cee2bb5c89bad555"/></dir><file name="cart.phtml" hash="f81a950407bd23fe476e03854fe4928b"/><file name="checkout.phtml" hash="c71826694ac6270f82a05e69a896d66b"/><dir name="customer"><file name="balance.phtml" hash="af890728b26b0808c299ab199bc5f4c0"/></dir><file name="default.phtml" hash="357abf99f4cb926d728c7c5253ea4b1e"/><dir name="discount"><file name="coupon.phtml" hash="0e4c2c52f677212b2071e3acddcc217a"/><file name="giftcardaccount.phtml" hash="8895e32abbc97d84fce366221637a1d9"/></dir><file name="discount.phtml" hash="7ce3289506c3e8abdd4af610e0f7f273"/><file name="header.phtml" hash="72a8383c77bbdcbf0b7ecbbc98098cf7"/><file name="klarnacheckout.phtml" hash="a51ee31586f4cbeb5bfe0ffe1ca32c84"/><file name="main.phtml" hash="079d3162d46b762574eb2cd4641c14c2"/><file name="msg.phtml" hash="d716a2a466835c99f71bea1742533cc0"/><file name="newsletter.phtml" hash="34e007c7bd516cd37e93cb5bd9f19478"/><file name="othermethod.phtml" hash="ae8ab1ec8ec3de1546cb5bafcf34fcc4"/><file name="reward.phtml" hash="0e1d0a7d42738662fddd04dab09f5765"/><dir name="shipping_method"><file name="available.phtml" hash="62991e138e2a296fc0aff83ebfae2aea"/></dir><file name="shipping_method.phtml" hash="78afd96ad7c9facd083673c1122e6d42"/><file name="sidebar.phtml" hash="a8c13bf43d0c415f153d198a2bb6fa1f"/><file name="success.phtml" hash="b1f276ce825e09d472aef29d631ddf7b"/></dir><dir name="page"><dir name="html"><file name="logo.phtml" hash="fb2d29e255453128bbdf37218289caf1"/></dir></dir></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Vaimo_Klarna.xml" hash="fece558fa050794401aca834b1b12fd4"/></dir></target><target name="magelocale"><dir name="da_DK"><file name="Vaimo_Klarna.csv" hash="64cfdbb02d0246455199fdc9e8102229"/></dir><dir name="de_AT"><file name="Vaimo_Klarna.csv" hash="55154195257090edded254824700bf77"/></dir><dir name="de_DE"><file name="Vaimo_Klarna.csv" hash="b92f42663b4ba46b0d4a2b1c25ff4bac"/></dir><dir name="fi_FI"><file name="Vaimo_Klarna.csv" hash="1b2878f61f0c4b2f6ce3c0f2bf29ca57"/></dir><dir name="nb_NO"><file name="Vaimo_Klarna.csv" hash="151680993f4a94d14f661c485b0cb3f1"/></dir><dir name="nl_NL"><file name="Vaimo_Klarna.csv" hash="382ee1100c720d8d0019618fd37ce1c5"/></dir><dir name="nn_NO"><file name="Vaimo_Klarna.csv" hash="7b78711096873772f9c7d2389319cc1d"/></dir><dir name="sv_SE"><file name="Vaimo_Klarna.csv" hash="02f679cc801f247f0a7b01ff94c62974"/></dir></target><target name="mage"><dir name="js"><dir name="vaimo"><dir name="klarna"><file name="klarna.js" hash="9462fee4ca415ee3d11a00d8b85548ec"/><file name="klarnacheckout.js" hash="0bde5577610971d460ad256fe9c5f66e"/><file name="klarnautils.js" hash="a3ff8f14c437af5f1135578ae90c8e8a"/></dir></dir></dir></target><target name="magelib"><dir name="Klarna"><file name="CHANGELOG" hash="9808fe4dfd049d5130f7088adc374d72"/><file name="Changelog-Vaimo.txt" hash="b4f3e9df96ec0afcaf81ba1417fd7ebe"/><dir name="Checkout"><file name="BasicConnector.php" hash="8a9d008cda8e0805537b70d1e0e3bcd5"/><file name="ConnectionErrorException.php" hash="352ae3f5bbb18c04f0a9d3ca1be30faf"/><file name="Connector.php" hash="199d9134e8c5188e5b8f958ac1f17029"/><file name="ConnectorException.php" hash="fe4017579c8757798e018fb0755496c0"/><file name="ConnectorInterface.php" hash="0ebfd5610fec6ddce7b7fd0f45f3d1d6"/><file name="Digest.php" hash="d7c2ea4ff1f22c8919685aad7e4e9c8b"/><file name="Exception.php" hash="31a95e8212f01d149265f75e20b31bcb"/><dir name="HTTP"><file name="CURLFactory.php" hash="591493c487797a80fd76f4f80ca598d0"/><file name="CURLHandle.php" hash="2d58ba553ffddafdcc9c80bea0c2c5ee"/><file name="CURLHandleInterface.php" hash="df5e3ddf82deb09164c75249c7235756"/><file name="CURLHeaders.php" hash="2a900efb8591defaf9230368403c975f"/><file name="CURLTransport.php" hash="c35a9910a04007372c2d6673f4657b89"/><file name="Request.php" hash="180f04ffd522b713b4261087a7e60c68"/><file name="Response.php" hash="86993580c2a11b14bab4af6328caa6de"/><file name="Transport.php" hash="4aa96d5086e105d79b0f97593fbe5d9b"/><file name="TransportInterface.php" hash="3d6aab36479741136c9dee1bbcf3914e"/></dir><file name="Order.php" hash="568242a47b838ae9abf8438a4bc7301e"/><file name="ResourceInterface.php" hash="55fc925edc0f69a89f2d79e348152a2c"/><file name="UserAgent.php" hash="ee6a35f67e56391f5bdfa387616e5618"/></dir><file name="Checkout.php" hash="6e16bb237ecfc54f086a0d533a8e69e3"/><file name="CheckoutServiceRequest.php" hash="1167bf796772a24c5cf56586c255715b"/><file name="CheckoutServiceResponse.php" hash="021edd2464930618a0de024ea9bfc9f7"/><file name="Country.php" hash="449272bb9d3c4cf023137ab85266546c"/><file name="CurlHandle.php" hash="d7418f2db8bf726cb2913e10ce9a63ce"/><file name="CurlTransport.php" hash="03599602490c2089d7609c3006fe392c"/><file name="Currency.php" hash="b11ecbc754029f8b1d99d361b7daa2d3"/><file name="Encoding.php" hash="1893ca72010090f41ab5fab9a9a0029b"/><file name="Exceptions.php" hash="a94eb2811f2004c7e87ba5a82bd61d40"/><file name="Flags.php" hash="dcb034831717186be38530f52a39b24e"/><file name="Klarna.php" hash="849fa477cb91df3a0156e6c5f62c4aea"/><file name="Language.php" hash="a89d7e2d756db8ae94b5b2177507c319"/><dir name="checkoutkpm"><file name="checkouthtml.intf.php" hash="f6cc7512fbb13c0446d8492f747cd436"/><file name="threatmetrix.class.php" hash="ec5ceb6742df44623d96ce321c24fba5"/></dir><dir name="examples"><file name="activate.php" hash="3e2dbb97106ee405253330de0aa826d8"/><file name="cancelReservation.php" hash="948a933b769dea6a9684731adb471b8c"/><file name="checkOrderStatus.php" hash="1229fc0c6c96dbd81eec8d8919c4add5"/><file name="checkoutService.php" hash="fbaf5d7764d93fbc1b220e5f90518a90"/><file name="creditInvoice.php" hash="32669c3a1e52e716147ca63f0063c4a2"/><file name="creditPart.php" hash="594631f8358a32de1083ad98417feafe"/><file name="emailInvoice.php" hash="3c0d6ce69e2e33a85ea3f0e2d5c6fc7e"/><file name="fetchPClasses.php" hash="7bf7620a596da1edb52436e4f188827d"/><file name="getAddresses.php" hash="cf5eed9d9b772983f8e41a39b374c6ab"/><file name="hasAccount.php" hash="29670e02a3178df1afccbfb911474a6a"/><file name="helperFunctions.php" hash="3b25b4f51f83e156c33dadc6dcbb2097"/><file name="reserveAmount.php" hash="aa140d9548e31cade6c42a38e78f64df"/><file name="reserveOCR.php" hash="fcadfe8c99debda5a8f935b7fbc1ba4e"/><file name="returnAmount.php" hash="ef600f9a84d62fcce825f66bb1b570e2"/><file name="sendInvoice.php" hash="2e2a53099c64daeb9f06abd81af2a0f5"/><file name="splitReservation.php" hash="ec2d26bae9dae03679f5272b7782a4e1"/><file name="update.php" hash="6e1fcd9f371cc4b12caca37933a51a55"/></dir><file name="klarnaaddr.php" hash="01075b4e2dd3987ef38efaa6b1ced54b"/><file name="klarnacalc.php" hash="2df31b6126716e91eaeea90f7ab2ca87"/><file name="klarnaconfig.php" hash="369278865db177e690b6d7757ca38c07"/><file name="klarnapclass.php" hash="30c5f867b8c8febc944871e75d240e65"/><dir name="pclasses"><file name="jsonstorage.class.php" hash="04f0d90ada9fd12d5f0de6448466f798"/><file name="mysqlstorage.class.php" hash="ad2d075301d730f97c7a895a2ebb7523"/><file name="sqlstorage.class.php" hash="e00df72512eac3998710a4b2f9ea89c8"/><file name="storage.intf.php" hash="032631d1f075d1eff09ccf926ea56417"/><file name="xmlstorage.class.php" hash="a47820de9cdcfb261de0e95fc92a2a64"/></dir><dir name="transport"><dir name="xmlrpc-3.0.0.beta"><dir name="lib"><file name="xmlrpc.inc" hash="5a74ea2a831648febc9b2c8f809b252c"/><file name="xmlrpc_wrappers.inc" hash="5aa00141ead09fc5498d9a3c9fcab888"/><file name="xmlrpcs.inc" hash="158b97bda79333e9b40793d876b6e98f"/></dir></dir></dir></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="vaimo"><dir name="klarna"><dir name="css"><file name="admin.css" hash="ef4915be839e2039fb037f29c1506d30"/></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><dir name="vaimo"><dir name="klarna"><file name="checkout.css" hash="7d7fe12675f4ba51ad1fd608849f06ce"/><file name="checkout_osc.css" hash="126a8d2869872306ded4aef943db809c"/><file name="global.css" hash="22b6a446e6e874e6a95608f7046eac2a"/><file name="klarnacheckout.css" hash="74cced1472da33802967cb66dafa7a47"/><file name="klarnadefault.css" hash="a7322fe612f4be03d3c5e78dee7a9c9c"/><file name="product.css" hash="d41d8cd98f00b204e9800998ecf8427e"/><dir name="vendor"><file name="bootstrap-grid.css" hash="093d2cb25f2e4d0bc80233ed70cbcb9a"/><file name="bootstrap-grid.min.css" hash="9087d9a8c2457c96b6c216fea959b298"/><file name="fontawesome.css" hash="76ca4ed8592634fb5c421b4e19c35918"/><file name="fontawesome.min.css" hash="7b7b345da453c034563dd2ac7ca9666b"/><dir name="fonts"><file name="FontAwesome.otf" hash="19231917733e2bcdf257c9be99cdbaf1"/><file name="fontawesome-webfont.eot" hash="7149833697a959306ec3012a8588dcfa"/><file name="fontawesome-webfont.svg" hash="65bcbc899f379216109acd0b6c494618"/><file name="fontawesome-webfont.ttf" hash="c4668ed2440df82d3fd2f8be9d31d07d"/><file name="fontawesome-webfont.woff" hash="d95d6f5d5ab7cfefd09651800b69bd54"/></dir></dir></dir></dir></dir><dir name="images"><dir name="vaimo"><dir name="klarna"><file name="balk_afm3.jpg" hash="8855567960bff35b1e3ba486670b5878"/><file name="icons.png" hash="7f0808d4cf63c3d43637d40a703f30fe"/></dir></dir></dir></dir></dir></dir></target><target name="magecommunity"><dir name="Vaimo"><dir name="Klarna"><dir name="Block"><dir name="Adminhtml"><dir name="Pclass"><file name="List.php" hash="7c68e3ec74e5cea1b62bb0218d297089"/><file name="Update.php" hash="fd444645b9f78fc4ea65c91ee3fc0044"/></dir><dir name="Sales"><dir name="Creditmemo"><dir name="Create"><file name="Adjustments.php" hash="12074f6aabbe90f14b8d30b7f65da9dc"/></dir><file name="Totals.php" hash="198afd117e90e17999f24c419a92b24b"/></dir><dir name="Invoice"><file name="Totals.php" hash="bc28f21c484fe2b4ca6d7a06da726fc3"/></dir><dir name="Order"><file name="Totals.php" hash="c80ca5283b0341964c36e70a850faaf6"/></dir></dir></dir><dir name="Catalog"><dir name="Product"><file name="Pricewidget.php" hash="a77d8ca953136f3fe9797166f8a51e93"/></dir></dir><dir name="Checkout"><file name="Fee.php" hash="1ffae1896b12e6d87fbbd2d3843fef75"/><file name="Top.php" hash="a8f9084322c1f924ef6fb4802908019d"/></dir><dir name="Form"><file name="Abstract.php" hash="b42636bfd8019f522342ca2b9118d246"/><file name="Account.php" hash="f6bf008c1af0b93ead5b5a2577b59ea5"/><dir name="Address"><file name="Search.php" hash="439e9f9a5d9480a4356043bb73f9c9c7"/></dir><file name="Checkout.php" hash="a7e6876317a29184f07040b646b84ec7"/><file name="Invoice.php" hash="105a41b84e52b45f26f3c5de2d4bdd4a"/><dir name="Paymentplan"><file name="Information.php" hash="7c66acd887a1e3a165e3cd967d0f3331"/></dir><file name="Special.php" hash="8db5a5f33510cd32d724c6ecd6368aa2"/></dir><dir name="Info"><file name="Abstract.php" hash="586393b00cd2c57ed6d53b8b50a8a535"/><file name="Account.php" hash="d302c2fc556e05858464fadd51cd4854"/><file name="Checkout.php" hash="df92291673e6bfe63ac968ad7297cca3"/><file name="Invoice.php" hash="f98adb5521f6c546c462f2e5bde31295"/><file name="Special.php" hash="e07662f39f0ff65505bfd627045c7766"/></dir><dir name="Invoice"><file name="Totals.php" hash="2437d7c7d7499d3ee2fcb7e0426ad64d"/></dir><dir name="Klarnacheckout"><file name="Autofill.php" hash="4fb4d1c806c2224d20a388b62f027e33"/><dir name="Customer"><file name="Balance.php" hash="e35153845d979d91ff79d0558e7b6c0b"/></dir><file name="Discount.php" hash="d56512c70315f0ad2ee1f8b857f30c78"/><file name="Ga.php" hash="e69dc6575162c137669bc6fba3d854cd"/><file name="Klarnacheckout.php" hash="03ebec0f6c1197caaa59eb43a65e1872"/><file name="Newsletter.php" hash="ce97e11c097b0cd9696919936fa59dc6"/><file name="Othermethod.php" hash="09155e9bd989e68ba6bcaa81ae359dd8"/><file name="Reward.php" hash="98d72b6cf65070dcb4cc87a303cd8b54"/><file name="Success.php" hash="88e538e4c165142c55d74a3efecebef6"/></dir><dir name="Order"><file name="Totals.php" hash="2e56335ff1b4a1d6752e7336b107bd13"/></dir><dir name="Page"><dir name="Html"><file name="Logo.php" hash="fda8fc32997328feb9c7ebf15c8a51fa"/></dir></dir><dir name="System"><dir name="Config"><dir name="Form"><dir name="Field"><dir name="Position"><dir name="Attribute"><file name="Set.php" hash="b47d1dff880be4e0d22f8f169f180bc3"/></dir></dir><file name="Position.php" hash="469a02a99354ae219f5b744b248c76b8"/></dir></dir></dir></dir></dir><dir name="controllers"><file name="AddressController.php" hash="e3272d6463e7ea0082c249924c31e34b"/><dir name="Adminhtml"><dir name="Klarna"><file name="MassactionController.php" hash="e182c149c750934ae4463efb96f5091c"/><file name="PclassController.php" hash="3a83e55251281b4414d7099b4481e245"/></dir></dir><dir name="Checkout"><file name="KlarnaController.php" hash="74f61556ba1f5d1f57f53438becd7163"/></dir><file name="LoginController.php" hash="3c7e56482f9af9ed0696fb0507cc5444"/><file name="PaymentplanController.php" hash="fea9d33a5dbd5d4858ef174569dae636"/></dir><dir name="etc"><file name="config.xml" hash="acf41cb9f9c6b6879e82d6691747d5db"/><file name="system.xml" hash="4eb8cb1423fd87a85471e7e9d21b68d1"/></dir><dir name="Helper"><file name="Data.php" hash="f675ce57ca74fc732eb931c8cf8b802d"/></dir><dir name="Model"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Backend"><dir name="Admin"><file name="Json.php" hash="e6413eca01dc9e4e6715e518ffa59eae"/></dir></dir></dir></dir></dir><dir name="Api"><file name="Abstract.php" hash="83e5d60fee0d104ef283a6abcba6d391"/><file name="Kco.php" hash="7d9de06a1b4ee92c3c7f4afa4eca6bff"/><file name="Rest.php" hash="996c016aaf495292698662cb9a4fe19f"/><file name="Xmlrpc.php" hash="37696a1c20760e3aef620a392ca0bfe8"/></dir><file name="Api.php" hash="aea682b90c3c046515808ab8d444eecc"/><dir name="Creditmemo"><file name="Tax.php" hash="c3d5162de38f5ef2075bca483085e5d0"/><file name="Total.php" hash="8da0e6596826ba5fc03695e7834734f0"/></dir><file name="Cron.php" hash="ce9f0c59c6772af96f0132335dc3a194"/><dir name="Invoice"><dir name="Pdf"><file name="Total.php" hash="06412f97df9ac6a1854978b61f68fb36"/></dir><file name="Tax.php" hash="b2203547b3f05d6179e7307d14b55c6d"/><file name="Total.php" hash="c2f4a2207550915e1aaa9868e6759f94"/></dir><dir name="Klarna"><file name="Abstract.php" hash="bbe5b02445fba6bd26222a638bfd0f75"/></dir><file name="Klarna.php" hash="9638b2c470b2908072b50709556198ee"/><dir name="Klarnacheckout"><file name="Abstract.php" hash="adff3707bf6b3c9bed26282ed67e3afc"/></dir><file name="Klarnacheckout.php" hash="e301e30f62582c6c4a6e6cfc2f6aa015"/><file name="Observer.php" hash="91642cabebb5846e5bfcb1b251de89c9"/><dir name="Payment"><file name="Abstract.php" hash="2e1cc5592202e53fcbe9354da156e450"/><file name="Account.php" hash="95931980dba66fc274f3acfa4df2b91a"/><file name="Checkout.php" hash="d8fb8bbadb12a901f782ed7067d12bc2"/><file name="Invoice.php" hash="eef0e5ea5466469942a14d28e8507333"/><file name="Special.php" hash="53754f59a474e32f168220c795b80c2f"/></dir><dir name="Quote"><file name="Tax.php" hash="b53f4a52d0f09afc7daeb094d6e30881"/><file name="Total.php" hash="a1442ecba3f2c49a42ff43e006057878"/></dir><dir name="Resource"><dir name="Mysql4"><file name="Setup.php" hash="0a40d43403823a6053d74bd2d2f688e7"/></dir></dir><dir name="Source"><file name="Abstract.php" hash="8d0d746d1cd2e5bc7d11350908a01585"/><file name="Allspecificcountries.php" hash="1a98316e25baeaba307b3be62364e1ca"/><file name="Apiversion.php" hash="64c78e105f7934dca2f59da41ef137d4"/><file name="Capture.php" hash="c2d31ebb607202555e9905e439dbe86d"/><file name="Country.php" hash="2444140a6155e42d2e4909ae150037b7"/><file name="Customergroup.php" hash="01c6e41abac6e7105e4d290f53f68733"/><file name="Klarnalayout.php" hash="6c7b9d3a871d8cdb2a11a0cadde83f4a"/><file name="Language.php" hash="530e4780b702f641f993ba0e49382d5d"/><file name="Newsletter.php" hash="f1532e5ff4c7e04384e9410cbb0969fa"/><file name="Servermode.php" hash="7acd8c7bb39f640dccef12df69ed7c57"/><file name="Taxclass.php" hash="de1ebcf0027eaff23f676da569034ed7"/><file name="Yesnodefault.php" hash="a296d6a62f1f1858ac093c0d7974cf6a"/></dir><dir name="Tax"><file name="Config.php" hash="7767f6d07f63df09228ab6c496ed0c05"/></dir><dir name="Transport"><file name="Abstract.php" hash="6473d1e8fe180f55c0b3a461a16c3383"/></dir></dir><dir name="sql"><dir name="klarna_setup"><file name="mysql4-install-0.1.0.php" hash="d36b51433fd28241386594f39def3080"/><file name="mysql4-upgrade-5.1.6-5.1.7.php" hash="014a7b827a8958a94c57a0229127a427"/><file name="mysql4-upgrade-5.2.5-5.2.6.php" hash="1dd874e1a94730ab976b6187a34e6c77"/></dir></dir></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php><package><name></name><channel>connect.magentocommerce.com/core</channel><min></min><max></max></package></required></dependencies>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>klarnapayments</name>
4
+ <version>5.2.15</version>
5
  <stability>stable</stability>
6
  <license>Open Software License (OSL)</license>
7
  <channel>community</channel>
10
  <description>Klarna payment module for Klarna Checkout, invoice and part payments. This module works for all countries were Klarna's product offering is applicable. To use this module requires that you have a contract with Klarna.</description>
11
  <notes>This version is not compatible with any Klarna module version of 4.x or earlier.</notes>
12
  <authors><author><name>Klarna</name><user>Klarna</user><email>magento@klarna.com</email></author><author><name>Vaimo</name><user>VAIMO</user><email>info@vaimo.com</email></author></authors>
13
+ <date>2015-04-22</date>
14
+ <time>06:44:18</time>
15
+ <contents><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="vaimo_klarna.xml" hash="19a196d33bcc2e1eaf4413dcefeb5f04"/></dir><dir name="template"><dir name="vaimo"><dir name="klarna"><dir name="creditmemo"><dir name="totals"><file name="adjustments.phtml" hash="b0299ac0b1ca75b4d143413cc8eb8217"/></dir></dir><dir name="info"><file name="account.phtml" hash="4c51cb3b4aeb54bb009e384d300ece98"/><file name="checkout.phtml" hash="6c35211c76987e619b51f6b6f06b0707"/><dir name="children"><file name="invoicefee.phtml" hash="2b721be479706716f6468c8395455fa5"/><file name="invoices.phtml" hash="ac4e3bd4aea83e9ea3479fc04ed0d5a4"/><file name="paymentplan.phtml" hash="885c020c05afd4516a42a33a6986f32f"/><file name="reference.phtml" hash="a789d5c8d4253c6ba4d894e2f0465f9c"/><file name="reservation.phtml" hash="d96f36640577e8e053050c24bfb4ec43"/></dir><file name="invoice.phtml" hash="498a1d706ac1da4fc71982f1232de492"/><file name="special.phtml" hash="4c51cb3b4aeb54bb009e384d300ece98"/></dir><dir name="pclass"><file name="list.phtml" hash="5cef6b0093bb5da18dbf1f9fd7316c66"/><file name="update.phtml" hash="ed53d5eb248f8181cd601e7b10cb170f"/></dir></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="vaimo_klarna.xml" hash="744b3c349a84d348f0571852888dee8e"/></dir><dir name="template"><dir name="vaimo"><dir name="klarna"><dir name="catalog"><dir name="product"><file name="pricewidget.phtml" hash="f5838b8bb129634487a398ca2557f48b"/></dir></dir><dir name="checkout"><file name="fee.phtml" hash="3a58d7e7278bf9fcae1cdb9d836d4ff3"/><file name="header.phtml" hash="51a7f95f2fcb5f7b02e19b13690631a8"/><file name="top.phtml" hash="9cc1ce32346bd6ed7c16139f3f960a95"/></dir><dir name="form"><file name="account.phtml" hash="78ec2685231b4664ec9106be2fb1b847"/><dir name="address"><file name="search.phtml" hash="473e03908fdb841f7152ed78671fcef0"/></dir><file name="checkout.phtml" hash="fe86056c73f86d53a73ebda5c5f3547c"/><dir name="children"><file name="addressresult.phtml" hash="4bb8fd4309c9b4012bfeb2d31c90076a"/><file name="checkoutservice.phtml" hash="3ae5ecf2420cb457304ef0b9f4227b9c"/><file name="consent.phtml" hash="a4f446258fa20a453d3566cffc20085d"/><file name="dateofbirth.phtml" hash="e1dbe367ce43029d671dae6f7d3ca956"/><file name="gender.phtml" hash="c8428e9b76db957a866cfc109d7a0c09"/><file name="notifications.phtml" hash="485d9f8e90ca6ff3c8152d2c3a0ee138"/><file name="paymentplan_information.phtml" hash="8f28c418c08df3e664744ef28bc283c3"/><file name="pclass.phtml" hash="848a7e485badbdf11d10628c93906b21"/><file name="personalnumber.phtml" hash="dcea08f692ed978689242ba8309f3cdb"/><file name="phonenumber.phtml" hash="6348b12795e073d8881ab0b74d7df175"/></dir><file name="invoice.phtml" hash="96495650061287f034fd789a372359a2"/><dir name="paymentplan"><file name="information.phtml" hash="d013f147f38502cb4baf591d56d177d9"/></dir><file name="special.phtml" hash="a81e468c29aff1c020cde8d9b3b1f223"/></dir><dir name="info"><file name="account.phtml" hash="a848c9544a5e400bc27e26d050eafa3c"/><file name="checkout.phtml" hash="1364aae5f0b71233e215e8a1c40ea7f7"/><dir name="children"><file name="invoicefee.phtml" hash="c6b4ccff75e220c5641a8fadd6753131"/><file name="invoices.phtml" hash="cbdd0256b8e1d742257bcba9b1eef67a"/><file name="paymentplan.phtml" hash="3a73d918dc733c0888f18e442f9eb64c"/><file name="reservation.phtml" hash="9880ef8208f672d531cc10eef8467856"/></dir><file name="invoice.phtml" hash="cd3514e43dd441b4530b95e408784d84"/><file name="special.phtml" hash="c472684055c8839b8e365b80a5e1ee0c"/></dir><dir name="klarnacheckout"><file name="account-login.phtml" hash="08279a9c8ecb32c4b7de2fe643aacb61"/><file name="autofill.phtml" hash="6bdd6c22fd1771106f52876e66d7f4de"/><dir name="cart"><dir name="item"><file name="default.phtml" hash="cb76c84ce20dbd391a1615756f2d72d7"/></dir><file name="totals.phtml" hash="a8496f65d2bd8390cee2bb5c89bad555"/></dir><file name="cart.phtml" hash="f81a950407bd23fe476e03854fe4928b"/><file name="checkout.phtml" hash="c71826694ac6270f82a05e69a896d66b"/><dir name="customer"><file name="balance.phtml" hash="af890728b26b0808c299ab199bc5f4c0"/></dir><file name="default.phtml" hash="357abf99f4cb926d728c7c5253ea4b1e"/><dir name="discount"><file name="coupon.phtml" hash="0e4c2c52f677212b2071e3acddcc217a"/><file name="giftcardaccount.phtml" hash="8895e32abbc97d84fce366221637a1d9"/></dir><file name="discount.phtml" hash="7ce3289506c3e8abdd4af610e0f7f273"/><file name="header.phtml" hash="72a8383c77bbdcbf0b7ecbbc98098cf7"/><file name="klarnacheckout.phtml" hash="a51ee31586f4cbeb5bfe0ffe1ca32c84"/><file name="main.phtml" hash="079d3162d46b762574eb2cd4641c14c2"/><file name="msg.phtml" hash="d716a2a466835c99f71bea1742533cc0"/><file name="newsletter.phtml" hash="34e007c7bd516cd37e93cb5bd9f19478"/><file name="othermethod.phtml" hash="ae8ab1ec8ec3de1546cb5bafcf34fcc4"/><file name="reward.phtml" hash="0e1d0a7d42738662fddd04dab09f5765"/><dir name="shipping_method"><file name="available.phtml" hash="62991e138e2a296fc0aff83ebfae2aea"/></dir><file name="shipping_method.phtml" hash="78afd96ad7c9facd083673c1122e6d42"/><file name="sidebar.phtml" hash="a8c13bf43d0c415f153d198a2bb6fa1f"/><file name="success.phtml" hash="b1f276ce825e09d472aef29d631ddf7b"/></dir><dir name="page"><dir name="html"><file name="logo.phtml" hash="fb2d29e255453128bbdf37218289caf1"/></dir></dir></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Vaimo_Klarna.xml" hash="fece558fa050794401aca834b1b12fd4"/></dir></target><target name="magelocale"><dir name="da_DK"><file name="Vaimo_Klarna.csv" hash="64cfdbb02d0246455199fdc9e8102229"/></dir><dir name="de_AT"><file name="Vaimo_Klarna.csv" hash="55154195257090edded254824700bf77"/></dir><dir name="de_DE"><file name="Vaimo_Klarna.csv" hash="b92f42663b4ba46b0d4a2b1c25ff4bac"/></dir><dir name="fi_FI"><file name="Vaimo_Klarna.csv" hash="5314f647852b0fef0e4dbe6c0f03bae0"/></dir><dir name="nb_NO"><file name="Vaimo_Klarna.csv" hash="151680993f4a94d14f661c485b0cb3f1"/></dir><dir name="nl_NL"><file name="Vaimo_Klarna.csv" hash="382ee1100c720d8d0019618fd37ce1c5"/></dir><dir name="nn_NO"><file name="Vaimo_Klarna.csv" hash="7b78711096873772f9c7d2389319cc1d"/></dir><dir name="sv_SE"><file name="Vaimo_Klarna.csv" hash="02f679cc801f247f0a7b01ff94c62974"/></dir></target><target name="mage"><dir name="js"><dir name="vaimo"><dir name="klarna"><file name="klarna.js" hash="9462fee4ca415ee3d11a00d8b85548ec"/><file name="klarnacheckout.js" hash="fe1c1d0d6d453a9cfa423276345391d7"/><file name="klarnautils.js" hash="590d27b12e72f27a5ec533b4f5ef44a3"/></dir></dir></dir></target><target name="magelib"><dir name="Klarna"><file name="CHANGELOG" hash="9808fe4dfd049d5130f7088adc374d72"/><file name="Changelog-Vaimo.txt" hash="b4f3e9df96ec0afcaf81ba1417fd7ebe"/><dir name="Checkout"><file name="BasicConnector.php" hash="8a9d008cda8e0805537b70d1e0e3bcd5"/><file name="ConnectionErrorException.php" hash="352ae3f5bbb18c04f0a9d3ca1be30faf"/><file name="Connector.php" hash="199d9134e8c5188e5b8f958ac1f17029"/><file name="ConnectorException.php" hash="fe4017579c8757798e018fb0755496c0"/><file name="ConnectorInterface.php" hash="0ebfd5610fec6ddce7b7fd0f45f3d1d6"/><file name="Digest.php" hash="d7c2ea4ff1f22c8919685aad7e4e9c8b"/><file name="Exception.php" hash="31a95e8212f01d149265f75e20b31bcb"/><dir name="HTTP"><file name="CURLFactory.php" hash="591493c487797a80fd76f4f80ca598d0"/><file name="CURLHandle.php" hash="2d58ba553ffddafdcc9c80bea0c2c5ee"/><file name="CURLHandleInterface.php" hash="df5e3ddf82deb09164c75249c7235756"/><file name="CURLHeaders.php" hash="2a900efb8591defaf9230368403c975f"/><file name="CURLTransport.php" hash="c35a9910a04007372c2d6673f4657b89"/><file name="Request.php" hash="180f04ffd522b713b4261087a7e60c68"/><file name="Response.php" hash="86993580c2a11b14bab4af6328caa6de"/><file name="Transport.php" hash="4aa96d5086e105d79b0f97593fbe5d9b"/><file name="TransportInterface.php" hash="3d6aab36479741136c9dee1bbcf3914e"/></dir><file name="Order.php" hash="568242a47b838ae9abf8438a4bc7301e"/><file name="ResourceInterface.php" hash="55fc925edc0f69a89f2d79e348152a2c"/><file name="UserAgent.php" hash="ee6a35f67e56391f5bdfa387616e5618"/></dir><file name="Checkout.php" hash="6e16bb237ecfc54f086a0d533a8e69e3"/><file name="CheckoutServiceRequest.php" hash="1167bf796772a24c5cf56586c255715b"/><file name="CheckoutServiceResponse.php" hash="021edd2464930618a0de024ea9bfc9f7"/><file name="Country.php" hash="449272bb9d3c4cf023137ab85266546c"/><file name="CurlHandle.php" hash="d7418f2db8bf726cb2913e10ce9a63ce"/><file name="CurlTransport.php" hash="03599602490c2089d7609c3006fe392c"/><file name="Currency.php" hash="b11ecbc754029f8b1d99d361b7daa2d3"/><file name="Encoding.php" hash="1893ca72010090f41ab5fab9a9a0029b"/><file name="Exceptions.php" hash="a94eb2811f2004c7e87ba5a82bd61d40"/><file name="Flags.php" hash="dcb034831717186be38530f52a39b24e"/><file name="Klarna.php" hash="849fa477cb91df3a0156e6c5f62c4aea"/><file name="Language.php" hash="a89d7e2d756db8ae94b5b2177507c319"/><dir name="checkoutkpm"><file name="checkouthtml.intf.php" hash="f6cc7512fbb13c0446d8492f747cd436"/><file name="threatmetrix.class.php" hash="ec5ceb6742df44623d96ce321c24fba5"/></dir><dir name="examples"><file name="activate.php" hash="3e2dbb97106ee405253330de0aa826d8"/><file name="cancelReservation.php" hash="948a933b769dea6a9684731adb471b8c"/><file name="checkOrderStatus.php" hash="1229fc0c6c96dbd81eec8d8919c4add5"/><file name="checkoutService.php" hash="fbaf5d7764d93fbc1b220e5f90518a90"/><file name="creditInvoice.php" hash="32669c3a1e52e716147ca63f0063c4a2"/><file name="creditPart.php" hash="594631f8358a32de1083ad98417feafe"/><file name="emailInvoice.php" hash="3c0d6ce69e2e33a85ea3f0e2d5c6fc7e"/><file name="fetchPClasses.php" hash="7bf7620a596da1edb52436e4f188827d"/><file name="getAddresses.php" hash="cf5eed9d9b772983f8e41a39b374c6ab"/><file name="hasAccount.php" hash="29670e02a3178df1afccbfb911474a6a"/><file name="helperFunctions.php" hash="3b25b4f51f83e156c33dadc6dcbb2097"/><file name="reserveAmount.php" hash="aa140d9548e31cade6c42a38e78f64df"/><file name="reserveOCR.php" hash="fcadfe8c99debda5a8f935b7fbc1ba4e"/><file name="returnAmount.php" hash="ef600f9a84d62fcce825f66bb1b570e2"/><file name="sendInvoice.php" hash="2e2a53099c64daeb9f06abd81af2a0f5"/><file name="splitReservation.php" hash="ec2d26bae9dae03679f5272b7782a4e1"/><file name="update.php" hash="6e1fcd9f371cc4b12caca37933a51a55"/></dir><file name="klarnaaddr.php" hash="01075b4e2dd3987ef38efaa6b1ced54b"/><file name="klarnacalc.php" hash="2df31b6126716e91eaeea90f7ab2ca87"/><file name="klarnaconfig.php" hash="369278865db177e690b6d7757ca38c07"/><file name="klarnapclass.php" hash="30c5f867b8c8febc944871e75d240e65"/><dir name="pclasses"><file name="jsonstorage.class.php" hash="04f0d90ada9fd12d5f0de6448466f798"/><file name="mysqlstorage.class.php" hash="ad2d075301d730f97c7a895a2ebb7523"/><file name="sqlstorage.class.php" hash="e00df72512eac3998710a4b2f9ea89c8"/><file name="storage.intf.php" hash="032631d1f075d1eff09ccf926ea56417"/><file name="xmlstorage.class.php" hash="a47820de9cdcfb261de0e95fc92a2a64"/></dir><dir name="transport"><dir name="xmlrpc-3.0.0.beta"><dir name="lib"><file name="xmlrpc.inc" hash="5a74ea2a831648febc9b2c8f809b252c"/><file name="xmlrpc_wrappers.inc" hash="5aa00141ead09fc5498d9a3c9fcab888"/><file name="xmlrpcs.inc" hash="158b97bda79333e9b40793d876b6e98f"/></dir></dir></dir></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="vaimo"><dir name="klarna"><dir name="css"><file name="admin.css" hash="ef4915be839e2039fb037f29c1506d30"/></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><dir name="vaimo"><dir name="klarna"><file name="checkout.css" hash="7d7fe12675f4ba51ad1fd608849f06ce"/><file name="checkout_osc.css" hash="126a8d2869872306ded4aef943db809c"/><file name="global.css" hash="22b6a446e6e874e6a95608f7046eac2a"/><file name="klarnacheckout.css" hash="74cced1472da33802967cb66dafa7a47"/><file name="klarnadefault.css" hash="a7322fe612f4be03d3c5e78dee7a9c9c"/><file name="product.css" hash="d41d8cd98f00b204e9800998ecf8427e"/><dir name="vendor"><file name="bootstrap-grid.css" hash="093d2cb25f2e4d0bc80233ed70cbcb9a"/><file name="bootstrap-grid.min.css" hash="9087d9a8c2457c96b6c216fea959b298"/><file name="fontawesome.css" hash="76ca4ed8592634fb5c421b4e19c35918"/><file name="fontawesome.min.css" hash="7b7b345da453c034563dd2ac7ca9666b"/><dir name="fonts"><file name="FontAwesome.otf" hash="19231917733e2bcdf257c9be99cdbaf1"/><file name="fontawesome-webfont.eot" hash="7149833697a959306ec3012a8588dcfa"/><file name="fontawesome-webfont.svg" hash="65bcbc899f379216109acd0b6c494618"/><file name="fontawesome-webfont.ttf" hash="c4668ed2440df82d3fd2f8be9d31d07d"/><file name="fontawesome-webfont.woff" hash="d95d6f5d5ab7cfefd09651800b69bd54"/></dir></dir></dir></dir></dir><dir name="images"><dir name="vaimo"><dir name="klarna"><file name="balk_afm3.jpg" hash="8855567960bff35b1e3ba486670b5878"/><file name="icons.png" hash="7f0808d4cf63c3d43637d40a703f30fe"/></dir></dir></dir></dir></dir></dir></target><target name="magecommunity"><dir name="Vaimo"><dir name="Klarna"><dir name="Block"><dir name="Adminhtml"><dir name="Pclass"><file name="List.php" hash="7c68e3ec74e5cea1b62bb0218d297089"/><file name="Update.php" hash="fd444645b9f78fc4ea65c91ee3fc0044"/></dir><dir name="Sales"><dir name="Creditmemo"><dir name="Create"><file name="Adjustments.php" hash="12074f6aabbe90f14b8d30b7f65da9dc"/></dir><file name="Totals.php" hash="198afd117e90e17999f24c419a92b24b"/></dir><dir name="Invoice"><file name="Totals.php" hash="bc28f21c484fe2b4ca6d7a06da726fc3"/></dir><dir name="Order"><file name="Totals.php" hash="c80ca5283b0341964c36e70a850faaf6"/></dir></dir></dir><dir name="Catalog"><dir name="Product"><file name="Pricewidget.php" hash="a77d8ca953136f3fe9797166f8a51e93"/></dir></dir><dir name="Checkout"><file name="Fee.php" hash="1ffae1896b12e6d87fbbd2d3843fef75"/><file name="Top.php" hash="a8f9084322c1f924ef6fb4802908019d"/></dir><dir name="Form"><file name="Abstract.php" hash="da5fa0957ab2b1e3b57ca99a9323fadb"/><file name="Account.php" hash="f6bf008c1af0b93ead5b5a2577b59ea5"/><dir name="Address"><file name="Search.php" hash="439e9f9a5d9480a4356043bb73f9c9c7"/></dir><file name="Checkout.php" hash="a7e6876317a29184f07040b646b84ec7"/><file name="Invoice.php" hash="105a41b84e52b45f26f3c5de2d4bdd4a"/><dir name="Paymentplan"><file name="Information.php" hash="7c66acd887a1e3a165e3cd967d0f3331"/></dir><file name="Special.php" hash="8db5a5f33510cd32d724c6ecd6368aa2"/></dir><dir name="Info"><file name="Abstract.php" hash="586393b00cd2c57ed6d53b8b50a8a535"/><file name="Account.php" hash="d302c2fc556e05858464fadd51cd4854"/><file name="Checkout.php" hash="df92291673e6bfe63ac968ad7297cca3"/><file name="Invoice.php" hash="f98adb5521f6c546c462f2e5bde31295"/><file name="Special.php" hash="e07662f39f0ff65505bfd627045c7766"/></dir><dir name="Invoice"><file name="Totals.php" hash="2437d7c7d7499d3ee2fcb7e0426ad64d"/></dir><dir name="Klarnacheckout"><file name="Autofill.php" hash="4fb4d1c806c2224d20a388b62f027e33"/><dir name="Customer"><file name="Balance.php" hash="e35153845d979d91ff79d0558e7b6c0b"/></dir><file name="Discount.php" hash="d56512c70315f0ad2ee1f8b857f30c78"/><file name="Ga.php" hash="e69dc6575162c137669bc6fba3d854cd"/><file name="Klarnacheckout.php" hash="03ebec0f6c1197caaa59eb43a65e1872"/><file name="Newsletter.php" hash="ce97e11c097b0cd9696919936fa59dc6"/><file name="Othermethod.php" hash="09155e9bd989e68ba6bcaa81ae359dd8"/><file name="Reward.php" hash="98d72b6cf65070dcb4cc87a303cd8b54"/><file name="Success.php" hash="88e538e4c165142c55d74a3efecebef6"/></dir><dir name="Order"><file name="Totals.php" hash="2e56335ff1b4a1d6752e7336b107bd13"/></dir><dir name="Page"><dir name="Html"><file name="Logo.php" hash="fda8fc32997328feb9c7ebf15c8a51fa"/></dir></dir><dir name="System"><dir name="Config"><dir name="Form"><dir name="Field"><dir name="Position"><dir name="Attribute"><file name="Set.php" hash="b47d1dff880be4e0d22f8f169f180bc3"/></dir></dir><file name="Position.php" hash="469a02a99354ae219f5b744b248c76b8"/></dir></dir></dir></dir></dir><dir name="controllers"><file name="AddressController.php" hash="e3272d6463e7ea0082c249924c31e34b"/><dir name="Adminhtml"><dir name="Klarna"><file name="MassactionController.php" hash="e182c149c750934ae4463efb96f5091c"/><file name="PclassController.php" hash="3a83e55251281b4414d7099b4481e245"/></dir></dir><dir name="Checkout"><file name="KlarnaController.php" hash="6390738fca94bf31d4ba9c7a0233eebf"/></dir><file name="LoginController.php" hash="3c7e56482f9af9ed0696fb0507cc5444"/><file name="PaymentplanController.php" hash="fea9d33a5dbd5d4858ef174569dae636"/></dir><dir name="etc"><file name="config.xml" hash="93f5d686e3b6402a29db18adae6e603d"/><file name="system.xml" hash="4eb8cb1423fd87a85471e7e9d21b68d1"/></dir><dir name="Helper"><file name="Data.php" hash="d8e90a724272fbd006a57308115c9cf2"/></dir><dir name="Model"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Backend"><dir name="Admin"><file name="Json.php" hash="e6413eca01dc9e4e6715e518ffa59eae"/></dir></dir></dir></dir></dir><dir name="Api"><file name="Abstract.php" hash="83e5d60fee0d104ef283a6abcba6d391"/><file name="Kco.php" hash="566451bf8c3299037cb51c8b5f9710bf"/><file name="Rest.php" hash="16f5712ba13b551821fd48eab8ffda9f"/><file name="Xmlrpc.php" hash="37696a1c20760e3aef620a392ca0bfe8"/></dir><file name="Api.php" hash="aea682b90c3c046515808ab8d444eecc"/><dir name="Creditmemo"><file name="Tax.php" hash="c3d5162de38f5ef2075bca483085e5d0"/><file name="Total.php" hash="8da0e6596826ba5fc03695e7834734f0"/></dir><file name="Cron.php" hash="ce9f0c59c6772af96f0132335dc3a194"/><dir name="Invoice"><dir name="Pdf"><file name="Total.php" hash="06412f97df9ac6a1854978b61f68fb36"/></dir><file name="Tax.php" hash="b2203547b3f05d6179e7307d14b55c6d"/><file name="Total.php" hash="c2f4a2207550915e1aaa9868e6759f94"/></dir><dir name="Klarna"><file name="Abstract.php" hash="bbe5b02445fba6bd26222a638bfd0f75"/></dir><file name="Klarna.php" hash="9638b2c470b2908072b50709556198ee"/><dir name="Klarnacheckout"><file name="Abstract.php" hash="adff3707bf6b3c9bed26282ed67e3afc"/></dir><file name="Klarnacheckout.php" hash="e301e30f62582c6c4a6e6cfc2f6aa015"/><file name="Observer.php" hash="91642cabebb5846e5bfcb1b251de89c9"/><dir name="Payment"><file name="Abstract.php" hash="2e1cc5592202e53fcbe9354da156e450"/><file name="Account.php" hash="95931980dba66fc274f3acfa4df2b91a"/><file name="Checkout.php" hash="d8fb8bbadb12a901f782ed7067d12bc2"/><file name="Invoice.php" hash="eef0e5ea5466469942a14d28e8507333"/><file name="Special.php" hash="53754f59a474e32f168220c795b80c2f"/></dir><dir name="Quote"><file name="Tax.php" hash="b53f4a52d0f09afc7daeb094d6e30881"/><file name="Total.php" hash="a1442ecba3f2c49a42ff43e006057878"/></dir><dir name="Resource"><dir name="Mysql4"><file name="Setup.php" hash="0a40d43403823a6053d74bd2d2f688e7"/></dir></dir><dir name="Source"><file name="Abstract.php" hash="8d0d746d1cd2e5bc7d11350908a01585"/><file name="Allspecificcountries.php" hash="1a98316e25baeaba307b3be62364e1ca"/><file name="Apiversion.php" hash="64c78e105f7934dca2f59da41ef137d4"/><file name="Capture.php" hash="c2d31ebb607202555e9905e439dbe86d"/><file name="Country.php" hash="2444140a6155e42d2e4909ae150037b7"/><file name="Customergroup.php" hash="01c6e41abac6e7105e4d290f53f68733"/><file name="Klarnalayout.php" hash="6c7b9d3a871d8cdb2a11a0cadde83f4a"/><file name="Language.php" hash="530e4780b702f641f993ba0e49382d5d"/><file name="Newsletter.php" hash="f1532e5ff4c7e04384e9410cbb0969fa"/><file name="Servermode.php" hash="7acd8c7bb39f640dccef12df69ed7c57"/><file name="Taxclass.php" hash="de1ebcf0027eaff23f676da569034ed7"/><file name="Yesnodefault.php" hash="a296d6a62f1f1858ac093c0d7974cf6a"/></dir><dir name="Tax"><file name="Config.php" hash="7767f6d07f63df09228ab6c496ed0c05"/></dir><dir name="Transport"><file name="Abstract.php" hash="6473d1e8fe180f55c0b3a461a16c3383"/></dir></dir><dir name="sql"><dir name="klarna_setup"><file name="mysql4-install-0.1.0.php" hash="d36b51433fd28241386594f39def3080"/><file name="mysql4-upgrade-5.1.6-5.1.7.php" hash="014a7b827a8958a94c57a0229127a427"/><file name="mysql4-upgrade-5.2.5-5.2.6.php" hash="1dd874e1a94730ab976b6187a34e6c77"/></dir></dir></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php><package><name></name><channel>connect.magentocommerce.com/core</channel><min></min><max></max></package></required></dependencies>
18
  </package>