klarnapayments - Version 5.1.7

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.1.7
Comparing to
See all releases


Code changes from version 5.1.5 to 5.1.7

app/code/community/Vaimo/Klarna/Model/Klarna/Api.php CHANGED
@@ -94,7 +94,7 @@ class Vaimo_Klarna_Model_Klarna_Api extends Vaimo_Klarna_Model_Klarna_Tools_Api
94
  $magentoVersion = Mage::getVersion();
95
  $module = (string)Mage::getConfig()->getNode()->modules->Vaimo_Klarna->name;
96
  $version = (string)Mage::getConfig()->getNode()->modules->Vaimo_Klarna->version;
97
- $this->_klarnaApi->setVersion('PHP:' . 'Magento ' . $magentoEdition . ':' . $magentoVersion . ':' . $module . ':' . $version);
98
  }
99
 
100
  public function reserve($amount)
94
  $magentoVersion = Mage::getVersion();
95
  $module = (string)Mage::getConfig()->getNode()->modules->Vaimo_Klarna->name;
96
  $version = (string)Mage::getConfig()->getNode()->modules->Vaimo_Klarna->version;
97
+ $this->_klarnaApi->setVersion('PHP_' . 'Magento ' . $magentoEdition . '_' . $magentoVersion . '_' . $module . '_' . $version);
98
  }
99
 
100
  public function reserve($amount)
app/code/community/Vaimo/Klarna/Model/Klarna/Tools/Abstract.php CHANGED
@@ -109,6 +109,18 @@ class Vaimo_Klarna_Model_Klarna_Tools_Abstract extends Varien_Object
109
  'sv', // Swedish
110
  );
111
 
 
 
 
 
 
 
 
 
 
 
 
 
112
 
113
 
114
  /**
@@ -245,6 +257,40 @@ class Vaimo_Klarna_Model_Klarna_Tools_Abstract extends Varien_Object
245
  return null;
246
  }
247
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
248
  /*
249
  * Once we have a record in one of the record variables, we update the addresses and then we set the country to
250
  * that of the shipping address or billing address, if shipping is empty
@@ -258,6 +304,14 @@ class Vaimo_Klarna_Model_Klarna_Tools_Abstract extends Varien_Object
258
  } elseif ($this->_billingAddress && $this->_billingAddress->getCountry()) {
259
  $this->_countryCode = strtoupper($this->_billingAddress->getCountry());
260
  }
 
 
 
 
 
 
 
 
261
  }
262
 
263
  /**
@@ -663,6 +717,28 @@ class Vaimo_Klarna_Model_Klarna_Tools_Abstract extends Varien_Object
663
  public function isCountryAllowed()
664
  {
665
  if ($this->_getCountryCode() != $this->_getDefaultCountry()) {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
666
  return false;
667
  }
668
  return true;
@@ -680,7 +756,7 @@ class Vaimo_Klarna_Model_Klarna_Tools_Abstract extends Varien_Object
680
  if ($this->getMethod() && $this->_getStoreId()!==NULL) {
681
  $res = Mage::getStoreConfig('payment/' . $this->getMethod() . '/' . $field, $this->_getStoreId());
682
  } else {
683
- $res = NULL;
684
  }
685
  return $res;
686
  }
109
  'sv', // Swedish
110
  );
111
 
112
+ /*
113
+ * Countries supported by Klarna (array not used)
114
+ */
115
+ protected $_supportedCountries = array(
116
+ 'AT', // Austria
117
+ 'DK', // Danmark
118
+ 'DE', // Germany
119
+ 'FI', // Finland
120
+ 'NL', // Netherlands
121
+ 'NO', // Norway
122
+ 'SE', // Sweden
123
+ );
124
 
125
 
126
  /**
257
  return null;
258
  }
259
 
260
+ /*
261
+ * This function is only called if multiple countries are allowed
262
+ * And one chooses one of the countries that aren't the default one
263
+ * It then changes the language, to match with the country.
264
+ *
265
+ * @return void
266
+ */
267
+ protected function _updateNonDefaultCountryLanguage()
268
+ {
269
+ switch ($this->_countryCode) {
270
+ case 'AT':
271
+ $this->_languageCode = 'de';
272
+ break;
273
+ case 'DK':
274
+ $this->_languageCode = 'da';
275
+ break;
276
+ case 'DE':
277
+ $this->_languageCode = 'de';
278
+ break;
279
+ case 'FI':
280
+ $this->_languageCode = 'fi';
281
+ break;
282
+ case 'NL':
283
+ $this->_languageCode = 'nl';
284
+ break;
285
+ case 'NO':
286
+ $this->_languageCode = 'nb';
287
+ break;
288
+ case 'SE':
289
+ $this->_languageCode = 'sv';
290
+ break;
291
+ }
292
+ }
293
+
294
  /*
295
  * Once we have a record in one of the record variables, we update the addresses and then we set the country to
296
  * that of the shipping address or billing address, if shipping is empty
304
  } elseif ($this->_billingAddress && $this->_billingAddress->getCountry()) {
305
  $this->_countryCode = strtoupper($this->_billingAddress->getCountry());
306
  }
307
+ if ($this->_countryCode!=$this->_getDefaultCountry()) {
308
+ $this->_updateNonDefaultCountryLanguage();
309
+ } else {
310
+ // It's only necessary to call this if updateNonDefaultCountryLanguage
311
+ // has been called. A minor speed improvement possible here, as
312
+ // _updateCountry() is called quite a number of times.
313
+ $this->_setDefaultLanguageCode();
314
+ }
315
  }
316
 
317
  /**
717
  public function isCountryAllowed()
718
  {
719
  if ($this->_getCountryCode() != $this->_getDefaultCountry()) {
720
+ if ($this->_getConfigData('allowspecific')) {
721
+ $allowedCountries = $this->_getConfigData('specificcountry');
722
+ if ($allowedCountries) {
723
+ if (in_array($this->_getCountryCode(), explode(",", $allowedCountries))) {
724
+ return true;
725
+ }
726
+ }
727
+ }
728
+ return false;
729
+ }
730
+ return true;
731
+ }
732
+
733
+ /**
734
+ * Check if method should be disabled if company field is filled in
735
+ * See isCompanyAllowed, perhaps we should merge functions...
736
+ *
737
+ * @return boolean
738
+ */
739
+ public function showMethodForCompanyPurchases()
740
+ {
741
+ if ($this->_getConfigData('disable_company_purchase')) {
742
  return false;
743
  }
744
  return true;
756
  if ($this->getMethod() && $this->_getStoreId()!==NULL) {
757
  $res = Mage::getStoreConfig('payment/' . $this->getMethod() . '/' . $field, $this->_getStoreId());
758
  } else {
759
+ $res = NULL;
760
  }
761
  return $res;
762
  }
app/code/community/Vaimo/Klarna/Model/Klarna/Tools/Api.php CHANGED
@@ -388,8 +388,6 @@ class Vaimo_Klarna_Model_Klarna_Tools_Api extends Vaimo_Klarna_Model_Klarna_Tool
388
 
389
  $this->_addShippingFee();
390
 
391
- $this->_addDiscount($taxRate);
392
-
393
  $this->_addGiftCard();
394
 
395
  $this->_addCustomerBalance();
@@ -402,6 +400,8 @@ class Vaimo_Klarna_Model_Klarna_Tools_Api extends Vaimo_Klarna_Model_Klarna_Tool
402
 
403
  $this->_addGwPrintedCardPrice();
404
 
 
 
405
  }
406
 
407
  /**
@@ -609,30 +609,54 @@ class Vaimo_Klarna_Model_Klarna_Tools_Api extends Vaimo_Klarna_Model_Klarna_Tool
609
  if ($this->getOrder()->getDiscountAmount() >= 0) {
610
  return;
611
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
612
 
 
613
  $amount = $this->getOrder()->getDiscountAmount();
614
- $applyAfter = Mage::helper('tax')->applyTaxAfterDiscount(
615
- $this->getOrder()->getStoreId()
616
- );
617
  if ($applyAfter == true) {
618
  //With this setting active the discount will not have the correct
619
  //value. We need to take each respective products rate and calculate
620
  //a new value.
621
- $amount = 0;
622
- foreach ($this->getOrder()->getAllVisibleItems() as $product) {
623
- $rate = $product->getTaxPercent();
624
- $newAmount = $product->getDiscountAmount() * (($rate / 100 ) + 1);
625
- $amount -= $newAmount;
626
- }
627
- //If the discount also extends to shipping
628
- $shippingDiscount = $this->getOrder()->getShippingDiscountAmount();
629
- if ($shippingDiscount) {
630
- $taxClass = Mage::getStoreConfig('tax/classes/shipping_tax_class');
631
- $rate = $this->_getTaxRate($taxClass);
632
- $newAmount = $shippingDiscount * (($rate / 100 ) + 1);
633
- $amount -= $newAmount;
 
 
 
 
 
634
  }
635
  }
 
636
 
637
  $sku = $this->getOrder()->getDiscountDescription();
638
 
388
 
389
  $this->_addShippingFee();
390
 
 
 
391
  $this->_addGiftCard();
392
 
393
  $this->_addCustomerBalance();
400
 
401
  $this->_addGwPrintedCardPrice();
402
 
403
+ $this->_addDiscount($taxRate);
404
+
405
  }
406
 
407
  /**
609
  if ($this->getOrder()->getDiscountAmount() >= 0) {
610
  return;
611
  }
612
+ // Instead of calculating discount from order etc, we now simply use the amounts we are adding to goods list
613
+
614
+ //calculate grandtotal and subtotal with all possible fees and extra costs
615
+ $subtotal = $this->getOrder()->getSubtotalInclTax();
616
+ $grandtotal = $this->getOrder()->getGrandTotal();
617
+
618
+ //if fee is added, add to subtotal
619
+ //if discount is added, like cards and such, add to grand total
620
+ foreach ($this->_extras as $extra) {
621
+ if ($extra['price'] > 0) {
622
+ $subtotal+= $extra['price'];
623
+ } else if ($extra['price'] < 0) {
624
+ $grandtotal+= $extra['price'];
625
+ }
626
+ }
627
+
628
+ //now check what the actual discount incl vat is
629
+ $amount = $grandtotal - $subtotal; //grand total is always incl tax
630
 
631
+ /*
632
  $amount = $this->getOrder()->getDiscountAmount();
633
+ $applyAfter = Mage::helper('tax')->applyTaxAfterDiscount( $this->getOrder()->getStoreId() );
634
+ $prodInclVat = Mage::helper('tax')->priceIncludesTax( $this->getOrder()->getStoreId() );
 
635
  if ($applyAfter == true) {
636
  //With this setting active the discount will not have the correct
637
  //value. We need to take each respective products rate and calculate
638
  //a new value.
639
+
640
+ // The interesting part is that Magento changes how discounts are
641
+ // added depending on if product prices are including VAT or not...
642
+ if ($prodInclVat == false) {
643
+ $amount = 0;
644
+ foreach ($this->getOrder()->getAllVisibleItems() as $product) {
645
+ $rate = $product->getTaxPercent();
646
+ $newAmount = $product->getDiscountAmount() * (($rate / 100 ) + 1);
647
+ $amount -= $newAmount;
648
+ }
649
+ //If the discount also extends to shipping
650
+ $shippingDiscount = $this->getOrder()->getShippingDiscountAmount() - 0;
651
+ if ($shippingDiscount) {
652
+ $taxClass = Mage::getStoreConfig('tax/classes/shipping_tax_class');
653
+ $rate = $this->_getTaxRate($taxClass);
654
+ $newAmount = $shippingDiscount * (($rate / 100 ) + 1);
655
+ $amount -= $newAmount;
656
+ }
657
  }
658
  }
659
+ */
660
 
661
  $sku = $this->getOrder()->getDiscountDescription();
662
 
app/code/community/Vaimo/Klarna/Model/Payment/Abstract.php CHANGED
@@ -125,6 +125,12 @@ class Vaimo_Klarna_Model_Payment_Abstract extends Mage_Payment_Model_Method_Abst
125
  if ($klarnaAvailable->isCountryAllowed()==false) {
126
  return false;
127
  }
 
 
 
 
 
 
128
  } catch (Mage_Core_Exception $e) {
129
  if ($klarnaAvailable) $klarnaAvailable->logKlarnaException($e);
130
  return false;
125
  if ($klarnaAvailable->isCountryAllowed()==false) {
126
  return false;
127
  }
128
+ $billingAddress = $quote->getBillingAddress();
129
+ if ($billingAddress->getCompany() != null) {
130
+ if ($klarnaAvailable->showMethodForCompanyPurchases()==false) {
131
+ return false;
132
+ }
133
+ }
134
  } catch (Mage_Core_Exception $e) {
135
  if ($klarnaAvailable) $klarnaAvailable->logKlarnaException($e);
136
  return false;
app/code/community/Vaimo/Klarna/Model/Source/Allspecificcountries.php ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) 2009-2014 Vaimo AB
4
+ *
5
+ * Vaimo reserves all rights in the Program as delivered. The Program
6
+ * or any portion thereof may not be reproduced in any form whatsoever without
7
+ * the written consent of Vaimo, except as provided by licence. A licence
8
+ * under Vaimo's rights in the Program may be available directly from
9
+ * Vaimo.
10
+ *
11
+ * Disclaimer:
12
+ * THIS NOTICE MAY NOT BE REMOVED FROM THE PROGRAM BY ANY USER THEREOF.
13
+ * THE PROGRAM IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
14
+ * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
16
+ * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18
+ * OUT OF OR IN CONNECTION WITH THE PROGRAM OR THE USE OR OTHER DEALINGS
19
+ * IN THE PROGRAM.
20
+ *
21
+ * @category Vaimo
22
+ * @package Vaimo_Klarna
23
+ * @copyright Copyright (c) 2009-2014 Vaimo AB
24
+ */
25
+
26
+
27
+ class Vaimo_Klarna_Model_Source_Allspecificcountries
28
+ {
29
+ public function toOptionArray()
30
+ {
31
+ return array(
32
+ array('value'=>0, 'label'=>Mage::helper('klarna')->__('Default Country Only')),
33
+ array('value'=>1, 'label'=>Mage::helper('klarna')->__('Multiple Countries Allowed')),
34
+ );
35
+ }
36
+ }
app/code/community/Vaimo/Klarna/Model/Source/Country.php CHANGED
@@ -29,14 +29,13 @@ class Vaimo_Klarna_Model_Source_Country
29
  public function toOptionArray()
30
  {
31
  return array(
32
- array('value' => '', 'label' => Mage::helper('core')->__('Default')),
33
- array('value' => 'NO', 'label' => Mage::helper('core')->__('Norway')),
34
- array('value' => 'SE', 'label' => Mage::helper('core')->__('Sweden')),
35
- array('value' => 'FI', 'label' => Mage::helper('core')->__('Finland')),
36
  array('value' => 'DK', 'label' => Mage::helper('core')->__('Denmark')),
37
- array('value' => 'NL', 'label' => Mage::helper('core')->__('Netherlands')),
38
  array('value' => 'DE', 'label' => Mage::helper('core')->__('Germany')),
39
- array('value' => 'AT', 'label' => Mage::helper('core')->__('Austria')),
 
 
40
  );
41
  }
42
 
29
  public function toOptionArray()
30
  {
31
  return array(
32
+ array('value' => 'AT', 'label' => Mage::helper('core')->__('Austria')),
 
 
 
33
  array('value' => 'DK', 'label' => Mage::helper('core')->__('Denmark')),
34
+ array('value' => 'FI', 'label' => Mage::helper('core')->__('Finland')),
35
  array('value' => 'DE', 'label' => Mage::helper('core')->__('Germany')),
36
+ array('value' => 'NL', 'label' => Mage::helper('core')->__('Netherlands')),
37
+ array('value' => 'NO', 'label' => Mage::helper('core')->__('Norway')),
38
+ array('value' => 'SE', 'label' => Mage::helper('core')->__('Sweden')),
39
  );
40
  }
41
 
app/code/community/Vaimo/Klarna/etc/config.xml CHANGED
@@ -25,7 +25,7 @@
25
  --><config>
26
  <modules>
27
  <Vaimo_Klarna>
28
- <version>5.1.5</version>
29
  <name>Vaimo Klarna Module</name>
30
  <depends>
31
  <Mage_Payment/>
25
  --><config>
26
  <modules>
27
  <Vaimo_Klarna>
28
+ <version>5.1.6</version>
29
  <name>Vaimo Klarna Module</name>
30
  <depends>
31
  <Mage_Payment/>
app/code/community/Vaimo/Klarna/etc/system.xml CHANGED
@@ -143,6 +143,16 @@
143
  <show_in_website>1</show_in_website>
144
  <comment>Allow shipping address to be different from billing address. You might need acceptance from Klarna if activated</comment>
145
  </allow_separate_address>
 
 
 
 
 
 
 
 
 
 
146
  <terms_url translate="label">
147
  <label>URL to terms and conditions</label>
148
  <frontend_type>text</frontend_type>
@@ -165,7 +175,7 @@
165
  <label>Allowed countries</label>
166
  <frontend_type>allowspecific</frontend_type>
167
  <sort_order>900</sort_order>
168
- <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
169
  <show_in_default>1</show_in_default>
170
  <show_in_website>1</show_in_website>
171
  <show_in_store>1</show_in_store>
@@ -290,11 +300,21 @@
290
  <show_in_website>1</show_in_website>
291
  <comment>Allow shipping address to be different from billing address. You might need acceptance from Klarna if activated</comment>
292
  </allow_separate_address>
 
 
 
 
 
 
 
 
 
 
293
  <disable_product_widget translate="label">
294
  <label>Disable payment widget on product page</label>
295
  <frontend_type>select</frontend_type>
296
  <source_model>adminhtml/system_config_source_yesno</source_model>
297
- <sort_order>220</sort_order>
298
  <show_in_default>1</show_in_default>
299
  <show_in_store>1</show_in_store>
300
  <show_in_website>1</show_in_website>
@@ -322,7 +342,7 @@
322
  <label>Allowed countries</label>
323
  <frontend_type>allowspecific</frontend_type>
324
  <sort_order>900</sort_order>
325
- <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
326
  <show_in_default>1</show_in_default>
327
  <show_in_website>1</show_in_website>
328
  <show_in_store>1</show_in_store>
@@ -437,6 +457,16 @@
437
  <show_in_website>1</show_in_website>
438
  <comment>Allow shipping address to be different from billing address. You might need acceptance from Klarna if activated</comment>
439
  </allow_separate_address>
 
 
 
 
 
 
 
 
 
 
440
  <terms_url translate="label">
441
  <label>URL to terms and conditions</label>
442
  <frontend_type>text</frontend_type>
@@ -478,7 +508,7 @@
478
  <label>Allowed countries</label>
479
  <frontend_type>allowspecific</frontend_type>
480
  <sort_order>900</sort_order>
481
- <source_model>adminhtml/system_config_source_payment_allspecificcountries</source_model>
482
  <show_in_default>1</show_in_default>
483
  <show_in_website>1</show_in_website>
484
  <show_in_store>1</show_in_store>
143
  <show_in_website>1</show_in_website>
144
  <comment>Allow shipping address to be different from billing address. You might need acceptance from Klarna if activated</comment>
145
  </allow_separate_address>
146
+ <disable_company_purchase translate="label">
147
+ <label>Disable method for company purchase</label>
148
+ <frontend_type>select</frontend_type>
149
+ <source_model>adminhtml/system_config_source_yesno</source_model>
150
+ <sort_order>220</sort_order>
151
+ <show_in_default>1</show_in_default>
152
+ <show_in_store>1</show_in_store>
153
+ <show_in_website>1</show_in_website>
154
+ <comment>Disable this method when company field is filled in during checkout</comment>
155
+ </disable_company_purchase>
156
  <terms_url translate="label">
157
  <label>URL to terms and conditions</label>
158
  <frontend_type>text</frontend_type>
175
  <label>Allowed countries</label>
176
  <frontend_type>allowspecific</frontend_type>
177
  <sort_order>900</sort_order>
178
+ <source_model>klarna/source_allspecificcountries</source_model>
179
  <show_in_default>1</show_in_default>
180
  <show_in_website>1</show_in_website>
181
  <show_in_store>1</show_in_store>
300
  <show_in_website>1</show_in_website>
301
  <comment>Allow shipping address to be different from billing address. You might need acceptance from Klarna if activated</comment>
302
  </allow_separate_address>
303
+ <disable_company_purchase translate="label">
304
+ <label>Disable method for company purchase</label>
305
+ <frontend_type>select</frontend_type>
306
+ <source_model>adminhtml/system_config_source_yesno</source_model>
307
+ <sort_order>220</sort_order>
308
+ <show_in_default>1</show_in_default>
309
+ <show_in_store>1</show_in_store>
310
+ <show_in_website>1</show_in_website>
311
+ <comment>Disable this method when company field is filled in during checkout</comment>
312
+ </disable_company_purchase>
313
  <disable_product_widget translate="label">
314
  <label>Disable payment widget on product page</label>
315
  <frontend_type>select</frontend_type>
316
  <source_model>adminhtml/system_config_source_yesno</source_model>
317
+ <sort_order>250</sort_order>
318
  <show_in_default>1</show_in_default>
319
  <show_in_store>1</show_in_store>
320
  <show_in_website>1</show_in_website>
342
  <label>Allowed countries</label>
343
  <frontend_type>allowspecific</frontend_type>
344
  <sort_order>900</sort_order>
345
+ <source_model>klarna/source_allspecificcountries</source_model>
346
  <show_in_default>1</show_in_default>
347
  <show_in_website>1</show_in_website>
348
  <show_in_store>1</show_in_store>
457
  <show_in_website>1</show_in_website>
458
  <comment>Allow shipping address to be different from billing address. You might need acceptance from Klarna if activated</comment>
459
  </allow_separate_address>
460
+ <disable_company_purchase translate="label">
461
+ <label>Disable method for company purchase</label>
462
+ <frontend_type>select</frontend_type>
463
+ <source_model>adminhtml/system_config_source_yesno</source_model>
464
+ <sort_order>220</sort_order>
465
+ <show_in_default>1</show_in_default>
466
+ <show_in_store>1</show_in_store>
467
+ <show_in_website>1</show_in_website>
468
+ <comment>Disable this method when company field is filled in during checkout</comment>
469
+ </disable_company_purchase>
470
  <terms_url translate="label">
471
  <label>URL to terms and conditions</label>
472
  <frontend_type>text</frontend_type>
508
  <label>Allowed countries</label>
509
  <frontend_type>allowspecific</frontend_type>
510
  <sort_order>900</sort_order>
511
+ <source_model>klarna/source_allspecificcountries</source_model>
512
  <show_in_default>1</show_in_default>
513
  <show_in_website>1</show_in_website>
514
  <show_in_store>1</show_in_store>
app/locale/da_DK/Vaimo_Klarna.csv CHANGED
@@ -99,3 +99,8 @@
99
 
100
  "Disable payment widget on product page","Disable payment widget on product page"
101
  "If set to yes, the payment information from Klarna will not appear on the product page","If set to yes, the payment information from Klarna will not appear on the product page"
 
 
 
 
 
99
 
100
  "Disable payment widget on product page","Disable payment widget on product page"
101
  "If set to yes, the payment information from Klarna will not appear on the product page","If set to yes, the payment information from Klarna will not appear on the product page"
102
+
103
+ "Disable method for company purchase","Disable method for company purchase"
104
+ "Disable this method when company field is filled in during checkout","Disable this method when company field is filled in during checkout"
105
+ "Default Country Only","Default Country Only"
106
+ "Multiple Countries Allowed","Multiple Countries Allowed"
app/locale/de_AT/Vaimo_Klarna.csv CHANGED
@@ -97,5 +97,10 @@
97
  "Day","Tag"
98
  "07xxxxxxxx",""
99
 
100
- "Disable payment widget on product page","Disable payment widget on product page"
101
- "If set to yes, the payment information from Klarna will not appear on the product page","If set to yes, the payment information from Klarna will not appear on the product page"
 
 
 
 
 
97
  "Day","Tag"
98
  "07xxxxxxxx",""
99
 
100
+ "Disable payment widget on product page","Deaktivieren von Zahlungs-Widget auf der Produktseite"
101
+ "If set to yes, the payment information from Klarna will not appear on the product page","Wenn auf JA gesetzt, wird die Zahlungsinformation von Klarna nicht auf der Produktseite angezeigt"
102
+
103
+ "Disable method for company purchase","Deaktivieren des Verfahrens zum Unternehmenseinkäufe"
104
+ "Disable this method when company field is filled in during checkout","Deaktivieren der Funktion, wenn Firmen-Feld beim Checkout ausgefüllt ist"
105
+ "Default Country Only","Land das Standard eingestellt ist"
106
+ "Multiple Countries Allowed","Mehrere Länder zugelassen"
app/locale/de_DE/Vaimo_Klarna.csv CHANGED
@@ -97,5 +97,10 @@
97
  "Day","Tag"
98
  "07xxxxxxxx",""
99
 
100
- "Disable payment widget on product page","Disable payment widget on product page"
101
- "If set to yes, the payment information from Klarna will not appear on the product page","If set to yes, the payment information from Klarna will not appear on the product page"
 
 
 
 
 
97
  "Day","Tag"
98
  "07xxxxxxxx",""
99
 
100
+ "Disable payment widget on product page","Deaktivieren von Zahlungs-Widget auf der Produktseite"
101
+ "If set to yes, the payment information from Klarna will not appear on the product page","Wenn auf JA gesetzt, wird die Zahlungsinformation von Klarna nicht auf der Produktseite angezeigt"
102
+
103
+ "Disable method for company purchase","Deaktivieren des Verfahrens zum Unternehmenseinkäufe"
104
+ "Disable this method when company field is filled in during checkout","Deaktivieren der Funktion, wenn Firmen-Feld beim Checkout ausgefüllt ist"
105
+ "Default Country Only","Land das Standard eingestellt ist"
106
+ "Multiple Countries Allowed","Mehrere Länder zugelassen"
app/locale/fi_FI/Vaimo_Klarna.csv CHANGED
@@ -99,3 +99,8 @@
99
 
100
  "Disable payment widget on product page","Disable payment widget on product page"
101
  "If set to yes, the payment information from Klarna will not appear on the product page","If set to yes, the payment information from Klarna will not appear on the product page"
 
 
 
 
 
99
 
100
  "Disable payment widget on product page","Disable payment widget on product page"
101
  "If set to yes, the payment information from Klarna will not appear on the product page","If set to yes, the payment information from Klarna will not appear on the product page"
102
+
103
+ "Disable method for company purchase","Disable method for company purchase"
104
+ "Disable this method when company field is filled in during checkout","Disable this method when company field is filled in during checkout"
105
+ "Default Country Only","Default Country Only"
106
+ "Multiple Countries Allowed","Multiple Countries Allowed"
app/locale/nb_NO/Vaimo_Klarna.csv CHANGED
@@ -99,3 +99,8 @@
99
 
100
  "Disable payment widget on product page","Disable payment widget on product page"
101
  "If set to yes, the payment information from Klarna will not appear on the product page","If set to yes, the payment information from Klarna will not appear on the product page"
 
 
 
 
 
99
 
100
  "Disable payment widget on product page","Disable payment widget on product page"
101
  "If set to yes, the payment information from Klarna will not appear on the product page","If set to yes, the payment information from Klarna will not appear on the product page"
102
+
103
+ "Disable method for company purchase","Disable method for company purchase"
104
+ "Disable this method when company field is filled in during checkout","Disable this method when company field is filled in during checkout"
105
+ "Default Country Only","Default Country Only"
106
+ "Multiple Countries Allowed","Multiple Countries Allowed"
app/locale/nl_NL/Vaimo_Klarna.csv CHANGED
@@ -97,5 +97,10 @@
97
  "Day","Dag"
98
  "07xxxxxxxx",""
99
 
100
- "Disable payment widget on product page","Disable payment widget on product page"
101
- "If set to yes, the payment information from Klarna will not appear on the product page","If set to yes, the payment information from Klarna will not appear on the product page"
 
 
 
 
 
97
  "Day","Dag"
98
  "07xxxxxxxx",""
99
 
100
+ "Disable payment widget on product page","Schakel de betalingswidget op de productpagina uit"
101
+ "If set to yes, the payment information from Klarna will not appear on the product page","Als de functie ingeschakeld is, zal de betalingsinformatie van Klarna niet zichtbaar zijn op de productpagina"
102
+
103
+ "Disable method for company purchase","Schakel de functie voor bedrijfsaankopen uit"
104
+ "Disable this method when company field is filled in during checkout","Schakel deze functie uit wanneer het veld voor bedrijfsgegevens ingevuld wordt in de checkout"
105
+ "Default Country Only","Land dat standaard ingesteld is"
106
+ "Multiple Countries Allowed","Meerdere landen toegestaan"
app/locale/nn_NO/Vaimo_Klarna.csv CHANGED
@@ -99,3 +99,8 @@
99
 
100
  "Disable payment widget on product page","Disable payment widget on product page"
101
  "If set to yes, the payment information from Klarna will not appear on the product page","If set to yes, the payment information from Klarna will not appear on the product page"
 
 
 
 
 
99
 
100
  "Disable payment widget on product page","Disable payment widget on product page"
101
  "If set to yes, the payment information from Klarna will not appear on the product page","If set to yes, the payment information from Klarna will not appear on the product page"
102
+
103
+ "Disable method for company purchase","Disable method for company purchase"
104
+ "Disable this method when company field is filled in during checkout","Disable this method when company field is filled in during checkout"
105
+ "Default Country Only","Default Country Only"
106
+ "Multiple Countries Allowed","Multiple Countries Allowed"
app/locale/sv_SE/Vaimo_Klarna.csv CHANGED
@@ -99,3 +99,8 @@
99
 
100
  "Disable payment widget on product page","Deaktivera betal-widget på produkt sidan"
101
  "If set to yes, the payment information from Klarna will not appear on the product page","Om ja, så kommer inte betalinformation från Klarna att presenteras på produkt sidan"
 
 
 
 
 
99
 
100
  "Disable payment widget on product page","Deaktivera betal-widget på produkt sidan"
101
  "If set to yes, the payment information from Klarna will not appear on the product page","Om ja, så kommer inte betalinformation från Klarna att presenteras på produkt sidan"
102
+
103
+ "Disable method for company purchase","Deaktivera betalsätt för företagsköp"
104
+ "Disable this method when company field is filled in during checkout","Deaktivera betalsättet när företagsfältet är ifyllt"
105
+ "Default Country Only","Endast förvalt land"
106
+ "Multiple Countries Allowed","Flera länder accepteras"
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>klarnapayments</name>
4
- <version>5.1.5</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 invoice and part payments. This module works with both invoice and part payments in Sweden, Finland, Denmark, Norway, Germany, Austria and Netherlands. 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>2014-07-11</date>
14
- <time>08:38:17</time>
15
- <contents><target name="magecommunity"><dir name="Vaimo"><dir name="Klarna"><dir name="Block"><dir name="Adminhtml"><dir name="Pclass"><file name="List.php" hash="50db355e3da129c8870fb1385c7e346f"/><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="f3235ed383b06cc8a5b1f587aab3e581"/></dir></dir><dir name="Checkout"><file name="Fee.php" hash="1ffae1896b12e6d87fbbd2d3843fef75"/><file name="Top.php" hash="c28060443f710ab345ec2a742b4477b8"/></dir><dir name="Form"><file name="Abstract.php" hash="733aafd4a3ded20eba9c04a76213882c"/><file name="Account.php" hash="f6bf008c1af0b93ead5b5a2577b59ea5"/><dir name="Address"><file name="Search.php" hash="600b472559cbcec011f03244eed499b5"/></dir><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="caf208862b2336027ca2d498008603fe"/><file name="Account.php" hash="d302c2fc556e05858464fadd51cd4854"/><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="Order"><file name="Totals.php" hash="2e56335ff1b4a1d6752e7336b107bd13"/></dir><dir name="Page"><dir name="Html"><file name="Logo.php" hash="2a04f0f8e3be0df5bb5be7bbaa8ebb0b"/></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="092dbb1b42a02311add8e6e9e76901f2"/></dir><dir name="Model"><dir name="Creditmemo"><file name="Tax.php" hash="3a6bc7530bff27bf459661e0d1e9fd0a"/><file name="Total.php" hash="f328960e057bbb5d548521af44059a13"/></dir><dir name="Invoice"><dir name="Pdf"><file name="Total.php" hash="4a436823d6d97eefc32e37425a290e6e"/></dir><file name="Tax.php" hash="3baf99ade36b04f384d1c15cb4d7ed67"/><file name="Total.php" hash="2f6a6cd43221fd19b35b15cd2e7c3640"/></dir><dir name="Klarna"><file name="Addresssearch.php" hash="e3387ff4a122a664482bd5fee40c1813"/><file name="Api.php" hash="2864e0575779ab19dcc056f8e3134165"/><file name="Assign.php" hash="aa4689397bed9888a1a238ab6d971c4d"/><file name="Authorize.php" hash="bc17198adec7bcfd2f05709f326b82df"/><file name="Available.php" hash="0aec5ebf162c459e645d84e02b255e11"/><file name="Cancel.php" hash="4632675d11ca981c5052db1f0cca184b"/><file name="Capture.php" hash="2beb7bced6bb2055c13c5b92883ca33a"/><file name="Form.php" hash="ac6255922a3af1f4d176cde1798e47be"/><file name="Info.php" hash="4957a14af1c087b35dbd594535f8b126"/><file name="Pclass.php" hash="46cf1bc8f4a3c659283856567b61d6e8"/><file name="Refund.php" hash="5cb1d208f8fbd63a775209d46120f434"/><dir name="Tools"><file name="Abstract.php" hash="c3aa98e7144ae88d0f97d959d0b1b354"/><file name="Address.php" hash="a0158b7d2cc0eafb44a8c4f5467044d1"/><file name="Api.php" hash="f6fb0ff57b2508ac6e8f716ab67d86b2"/></dir><file name="Validate.php" hash="94ee56e3431c5b1aad762729988aa646"/><file name="Widget.php" hash="5ba02191e1d74244626e74ca5393906a"/></dir><file name="Observer.php" hash="0e5a24a6cb75f8d9e7ffd2e1cf490d35"/><dir name="Payment"><file name="Abstract.php" hash="1f1c1639928b0f0bdb624b72e2d07871"/><file name="Account.php" hash="6c905fbd93ae0c198b1c1d7d4865b8a0"/><file name="Invoice.php" hash="e77f59b136528a64c7e9a1f5ce28b850"/><file name="Special.php" hash="fa6767acffd19a5411c3a547c644b85b"/></dir><dir name="Quote"><file name="Tax.php" hash="7a4eab3cd02115cfedb1ba7af3358b73"/><file name="Total.php" hash="6bac56d746083634d31decb568e8362e"/></dir><dir name="Resource"><dir name="Mysql4"><file name="Setup.php" hash="0a40d43403823a6053d74bd2d2f688e7"/></dir></dir><dir name="Source"><file name="Capture.php" hash="f491dd88120e191d65d7d2ff53860236"/><file name="Country.php" hash="7be59711122331a8c79b588ec2eb8afb"/><file name="Language.php" hash="8e425aad2a21c0d2ffa450a376735451"/><file name="Servermode.php" hash="702a23f9fbac1c5618e3d7f234bff7c8"/><file name="Taxclass.php" hash="836424e4e3569d41e4321a846c59c98b"/></dir><dir name="Tax"><file name="Config.php" hash="7ac7e62c358331e99e3439a12cb9f852"/></dir></dir><dir name="Tests"><dir name="Model"><dir name="Klarna"><file name="ApiTest.php" hash="1a8617c031cda61a4b10e67d448e1e99"/><file name="ValidateTest.php" hash="b252d4600110b09c9d11dfa9642c0a8c"/></dir></dir><file name="TestCase.php" hash="2eb43dd276ab9489a7adc49665fdba7e"/><file name="bootstrap.php" hash="15c72bd1a5e73d91f9272166684e35c6"/></dir><dir name="controllers"><file name="AddressController.php" hash="0d6ceb7ca9ee6dce08d316cecd84c990"/><dir name="Adminhtml"><dir name="Klarna"><file name="PclassController.php" hash="1b2e714da75b47e6eddb18b004b0c8ec"/></dir></dir><file name="PaymentplanController.php" hash="89128f42495bbfb81028b5e37d1465ea"/></dir><dir name="etc"><file name="config.xml" hash="cb15c5f8a5e23ae213a5c1fdaf41c377"/><file name="system.xml" hash="78cb4b46a4abd20df1520ac1ff8a2b7d"/></dir><dir name="sql"><dir name="klarna_setup"><file name="mysql4-install-0.1.0.php" hash="d36b51433fd28241386594f39def3080"/></dir></dir></dir></dir></target><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="14225b9a0b95d52926d5ccee339b445a"/><dir name="children"><file name="invoicefee.phtml" hash="2b721be479706716f6468c8395455fa5"/><file name="invoices.phtml" hash="3d3c653a28bfa95e821abb67c9e06dba"/><file name="paymentplan.phtml" hash="885c020c05afd4516a42a33a6986f32f"/><file name="reservation.phtml" hash="7beb37cc5df2cda75626d6975beb6829"/></dir><file name="invoice.phtml" hash="1f417e5d0380b53d64966b21bebd4419"/><file name="special.phtml" hash="14225b9a0b95d52926d5ccee339b445a"/></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="b4fdb67bdad6d422c1ce86164eb62ece"/></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="25386497892129effff92a64f326ff42"/><dir name="address"><file name="search.phtml" hash="36aa810e587da54995e961f77aa11a72"/></dir><dir name="children"><file name="addressresult.phtml" hash="7ed16bca431a8146139ce51fd7001d11"/><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="a8d723a0ff1b71f07ccdd1aed1dba5fb"/><file name="phonenumber.phtml" hash="6348b12795e073d8881ab0b74d7df175"/></dir><file name="invoice.phtml" hash="43a3a4aaae78b3a835c8de7d9edff8b4"/><dir name="paymentplan"><file name="information.phtml" hash="d19f6766d1bebdacb367aee65edb06fd"/></dir><file name="special.phtml" hash="68561f42f556c496fb46c2c12f35b410"/></dir><dir name="info"><file name="account.phtml" hash="a848c9544a5e400bc27e26d050eafa3c"/><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="page"><dir name="html"><file name="logo.phtml" hash="4b67e622b6b5f0421078c2324efd55a3"/></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="7590945039574b9fdb07e6ae908daeb4"/></dir><dir name="de_AT"><file name="Vaimo_Klarna.csv" hash="9224130faa53ae4c3a3cc309284a060f"/></dir><dir name="de_DE"><file name="Vaimo_Klarna.csv" hash="7add3d01d4983e594430a276a7f3a85e"/></dir><dir name="fi_FI"><file name="Vaimo_Klarna.csv" hash="00279a35385251c35004aee655267550"/></dir><dir name="nb_NO"><file name="Vaimo_Klarna.csv" hash="9c689e7554c482bd8f8c5a3e20fbb01d"/></dir><dir name="nl_NL"><file name="Vaimo_Klarna.csv" hash="f1982c7a1b84a97eb7809a5d2e221374"/></dir><dir name="nn_NO"><file name="Vaimo_Klarna.csv" hash="0e9e6e7afac9ce173ff594ca4b86db73"/></dir><dir name="sv_SE"><file name="Vaimo_Klarna.csv" hash="22efa082b3917e869c4f7fb37b121aca"/></dir></target><target name="mage"><dir name="js"><dir name="vaimo"><dir name="klarna"><file name="klarna.js" hash="580f2f4f363461734c578b0297a33b2e"/></dir></dir></dir></target><target name="magelib"><dir name="Klarna"><file name="CHANGELOG" hash="7c2deef157ef77304e1d0efc970d6c48"/><file name="Country.php" hash="40360c3964fc6193e7fb922845eb419b"/><file name="Currency.php" hash="a709407428d86521cc0775cbeb281523"/><file name="Encoding.php" hash="f8f8e744303ff7ce7f4b226331e7bdcf"/><file name="Exceptions.php" hash="933b2811e910da817743766cdde8ffeb"/><file name="Flags.php" hash="b407a1373adf5f172bef3e3d01e81cdb"/><file name="Klarna.php" hash="1fbeb52770b21cd6dd1fde92c734d928"/><file name="Language.php" hash="8e40aed0dece8f0a3fbe07e37451af16"/><dir name="checkout"><file name="checkouthtml.intf.php" hash="81e0740254585f2af67895df28093d35"/><file name="threatmetrix.class.php" hash="6ce1bfded90b6b3bb329176ff4c7acac"/></dir><dir name="examples"><file name="activate.php" hash="b49a0bd5c5a57577b9765d657dad7b78"/><file name="activateInvoice.php" hash="31061b3cf79a6fd32f580f3aa6b603ad"/><file name="activatePart.php" hash="72af1ee8d312df08e24cdc7b01cc72ed"/><file name="activateReservation.php" hash="6380e346db2466a655df17cbe4078b3a"/><file name="addTransaction.php" hash="015cdd7663d7bbe0716f8ed8f700e13e"/><file name="calc_monthly_cost.php" hash="9a45009fe051f76bd2d23db854f67cad"/><file name="cancelReservation.php" hash="219504c253caa372f479af8f6bf452eb"/><file name="changeReservation.php" hash="cdf4f971d74570e2ba9191792f69bf79"/><file name="checkOrderStatus.php" hash="b9d12df62f9619cb791bc4db9b2e19c4"/><file name="creditInvoice.php" hash="f174d28d812f5139c4a0397a27f419d9"/><file name="creditPart.php" hash="4c1a6397eb2bc7ee0bac5ed1a76aa7d8"/><file name="deleteInvoice.php" hash="b59be611d1ba7439d0c9ec43f38e8f95"/><file name="emailInvoice.php" hash="31f644dc6b1a97181d3ba474f2d77517"/><file name="fetchPClasses.php" hash="18a60ab1bde9ace0765c58f3343c4165"/><file name="getAddresses.php" hash="bf80e3108d51dcf4c581bff291e4a2fc"/><file name="getPClasses.php" hash="18b7bc054ceb36c8f004d21804fea832"/><file name="invoiceAddress.php" hash="a7a9c89f6ee017d72f9d9d5a959c7416"/><file name="invoiceAmount.php" hash="d404dba99dd5efd2954bec58eab720ca"/><file name="invoicePartAmount.php" hash="37e3726190f1fb403fbba19de2088dd5"/><file name="reserveAmount.php" hash="4c93a455264dafc93a2cd9ce41c8aaaa"/><file name="reserveOCR.php" hash="a67258e40b080027c5e60490a15d3347"/><file name="returnAmount.php" hash="ae01bab7225bdd6529593d499247e8f6"/><file name="sendInvoice.php" hash="46584ac7995d779ff4fa2a4a4b109df9"/><file name="splitReservation.php" hash="35c495a8bfc1e29b109a0de3800d4d44"/><file name="update.php" hash="1275db160660e97a6eb1328cf1f9c6b4"/><file name="updateChargeAmount.php" hash="ae4cf8072078cc8e527b786ea03a8337"/><file name="updateGoodsQty.php" hash="6e10c98895fe94f842ee45673ec790b3"/><file name="updateOrderNo.php" hash="e9d7a59d10b4be660b2cfd700ecc992d"/></dir><file name="klarnaaddr.php" hash="b090d4b0a819fdb7cc58815a8643de18"/><file name="klarnacalc.php" hash="3ab728bf3889240b881f282122fd25fd"/><file name="klarnaconfig.php" hash="a3a4011dccda60fcf3567f56254699ff"/><file name="klarnapclass.php" hash="26a8fd1df0806788f6719cb894787f76"/><dir name="pclasses"><file name="jsonstorage.class.php" hash="e59e526d9dcc17d1ca92ded188750672"/><file name="mysqlstorage.class.php" hash="896a5cd4edf461ef517e0bb2e328707b"/><file name="sqlstorage.class.php" hash="bb7ba4359e7e69424c9f0ecdafc0c9ae"/><file name="storage.intf.php" hash="26db57484b6db3d717c0150ffaa87b19"/><file name="xmlstorage.class.php" hash="4f13939bf8d73f2724f858dd17f219de"/></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="e133a0576c4a69adc210e9103725790b"/><file name="checkout_osc.css" hash="7f621724b0cb096f11d6cc42870bd544"/><file name="global.css" hash="22b6a446e6e874e6a95608f7046eac2a"/><file name="product.css" hash="d41d8cd98f00b204e9800998ecf8427e"/></dir></dir></dir><dir name="images"><dir name="vaimo"><dir name="klarna"><file name="balk_afm3.jpg" hash="8855567960bff35b1e3ba486670b5878"/></dir></dir></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.1.7</version>
5
  <stability>stable</stability>
6
  <license>Open Software License (OSL)</license>
7
  <channel>community</channel>
10
  <description>Klarna payment module for invoice and part payments. This module works with both invoice and part payments in Sweden, Finland, Denmark, Norway, Germany, Austria and Netherlands. 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>2014-08-15</date>
14
+ <time>09:03:57</time>
15
+ <contents><target name="magecommunity"><dir name="Vaimo"><dir name="Klarna"><dir name="Block"><dir name="Adminhtml"><dir name="Pclass"><file name="List.php" hash="50db355e3da129c8870fb1385c7e346f"/><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="f3235ed383b06cc8a5b1f587aab3e581"/></dir></dir><dir name="Checkout"><file name="Fee.php" hash="1ffae1896b12e6d87fbbd2d3843fef75"/><file name="Top.php" hash="c28060443f710ab345ec2a742b4477b8"/></dir><dir name="Form"><file name="Abstract.php" hash="733aafd4a3ded20eba9c04a76213882c"/><file name="Account.php" hash="f6bf008c1af0b93ead5b5a2577b59ea5"/><dir name="Address"><file name="Search.php" hash="600b472559cbcec011f03244eed499b5"/></dir><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="caf208862b2336027ca2d498008603fe"/><file name="Account.php" hash="d302c2fc556e05858464fadd51cd4854"/><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="Order"><file name="Totals.php" hash="2e56335ff1b4a1d6752e7336b107bd13"/></dir><dir name="Page"><dir name="Html"><file name="Logo.php" hash="2a04f0f8e3be0df5bb5be7bbaa8ebb0b"/></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="092dbb1b42a02311add8e6e9e76901f2"/></dir><dir name="Model"><dir name="Creditmemo"><file name="Tax.php" hash="3a6bc7530bff27bf459661e0d1e9fd0a"/><file name="Total.php" hash="f328960e057bbb5d548521af44059a13"/></dir><dir name="Invoice"><dir name="Pdf"><file name="Total.php" hash="4a436823d6d97eefc32e37425a290e6e"/></dir><file name="Tax.php" hash="3baf99ade36b04f384d1c15cb4d7ed67"/><file name="Total.php" hash="2f6a6cd43221fd19b35b15cd2e7c3640"/></dir><dir name="Klarna"><file name="Addresssearch.php" hash="e3387ff4a122a664482bd5fee40c1813"/><file name="Api.php" hash="aa9d287043f6be51cb2f87518abcaee6"/><file name="Assign.php" hash="aa4689397bed9888a1a238ab6d971c4d"/><file name="Authorize.php" hash="bc17198adec7bcfd2f05709f326b82df"/><file name="Available.php" hash="0aec5ebf162c459e645d84e02b255e11"/><file name="Cancel.php" hash="4632675d11ca981c5052db1f0cca184b"/><file name="Capture.php" hash="2beb7bced6bb2055c13c5b92883ca33a"/><file name="Form.php" hash="ac6255922a3af1f4d176cde1798e47be"/><file name="Info.php" hash="4957a14af1c087b35dbd594535f8b126"/><file name="Pclass.php" hash="46cf1bc8f4a3c659283856567b61d6e8"/><file name="Refund.php" hash="5cb1d208f8fbd63a775209d46120f434"/><dir name="Tools"><file name="Abstract.php" hash="4f3ae29de83a93c8629626559c5ce907"/><file name="Address.php" hash="a0158b7d2cc0eafb44a8c4f5467044d1"/><file name="Api.php" hash="2675b8f3da170af8bbda8f5443433e4d"/></dir><file name="Validate.php" hash="94ee56e3431c5b1aad762729988aa646"/><file name="Widget.php" hash="5ba02191e1d74244626e74ca5393906a"/></dir><file name="Observer.php" hash="0e5a24a6cb75f8d9e7ffd2e1cf490d35"/><dir name="Payment"><file name="Abstract.php" hash="7900216a6f2c23c33310574b917a2ae0"/><file name="Account.php" hash="6c905fbd93ae0c198b1c1d7d4865b8a0"/><file name="Invoice.php" hash="e77f59b136528a64c7e9a1f5ce28b850"/><file name="Special.php" hash="fa6767acffd19a5411c3a547c644b85b"/></dir><dir name="Quote"><file name="Tax.php" hash="7a4eab3cd02115cfedb1ba7af3358b73"/><file name="Total.php" hash="6bac56d746083634d31decb568e8362e"/></dir><dir name="Resource"><dir name="Mysql4"><file name="Setup.php" hash="0a40d43403823a6053d74bd2d2f688e7"/></dir></dir><dir name="Source"><file name="Allspecificcountries.php" hash="3ef9f594b15aa3b06f89d961da8e4315"/><file name="Capture.php" hash="f491dd88120e191d65d7d2ff53860236"/><file name="Country.php" hash="591cac4c906f9640ec4e83b67f3a89bb"/><file name="Language.php" hash="8e425aad2a21c0d2ffa450a376735451"/><file name="Servermode.php" hash="702a23f9fbac1c5618e3d7f234bff7c8"/><file name="Taxclass.php" hash="836424e4e3569d41e4321a846c59c98b"/></dir><dir name="Tax"><file name="Config.php" hash="7ac7e62c358331e99e3439a12cb9f852"/></dir></dir><dir name="Tests"><dir name="Model"><dir name="Klarna"><file name="ApiTest.php" hash="1a8617c031cda61a4b10e67d448e1e99"/><file name="ValidateTest.php" hash="b252d4600110b09c9d11dfa9642c0a8c"/></dir></dir><file name="TestCase.php" hash="2eb43dd276ab9489a7adc49665fdba7e"/><file name="bootstrap.php" hash="15c72bd1a5e73d91f9272166684e35c6"/></dir><dir name="controllers"><file name="AddressController.php" hash="0d6ceb7ca9ee6dce08d316cecd84c990"/><dir name="Adminhtml"><dir name="Klarna"><file name="PclassController.php" hash="1b2e714da75b47e6eddb18b004b0c8ec"/></dir></dir><file name="PaymentplanController.php" hash="89128f42495bbfb81028b5e37d1465ea"/></dir><dir name="etc"><file name="config.xml" hash="67ffab47a3924489e0d79d5126c2fe91"/><file name="system.xml" hash="fe1c33cc8c37c732a124a64eca943896"/></dir><dir name="sql"><dir name="klarna_setup"><file name="mysql4-install-0.1.0.php" hash="d36b51433fd28241386594f39def3080"/></dir></dir></dir></dir></target><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="14225b9a0b95d52926d5ccee339b445a"/><dir name="children"><file name="invoicefee.phtml" hash="2b721be479706716f6468c8395455fa5"/><file name="invoices.phtml" hash="3d3c653a28bfa95e821abb67c9e06dba"/><file name="paymentplan.phtml" hash="885c020c05afd4516a42a33a6986f32f"/><file name="reservation.phtml" hash="7beb37cc5df2cda75626d6975beb6829"/></dir><file name="invoice.phtml" hash="1f417e5d0380b53d64966b21bebd4419"/><file name="special.phtml" hash="14225b9a0b95d52926d5ccee339b445a"/></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="b4fdb67bdad6d422c1ce86164eb62ece"/></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="25386497892129effff92a64f326ff42"/><dir name="address"><file name="search.phtml" hash="36aa810e587da54995e961f77aa11a72"/></dir><dir name="children"><file name="addressresult.phtml" hash="7ed16bca431a8146139ce51fd7001d11"/><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="a8d723a0ff1b71f07ccdd1aed1dba5fb"/><file name="phonenumber.phtml" hash="6348b12795e073d8881ab0b74d7df175"/></dir><file name="invoice.phtml" hash="43a3a4aaae78b3a835c8de7d9edff8b4"/><dir name="paymentplan"><file name="information.phtml" hash="d19f6766d1bebdacb367aee65edb06fd"/></dir><file name="special.phtml" hash="68561f42f556c496fb46c2c12f35b410"/></dir><dir name="info"><file name="account.phtml" hash="a848c9544a5e400bc27e26d050eafa3c"/><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="page"><dir name="html"><file name="logo.phtml" hash="4b67e622b6b5f0421078c2324efd55a3"/></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="9175c738f0d5f027d36ce3b383f20fd4"/></dir><dir name="de_AT"><file name="Vaimo_Klarna.csv" hash="f742305a0efc0a3e3ccd3abdc2905d70"/></dir><dir name="de_DE"><file name="Vaimo_Klarna.csv" hash="6bb2b881b1681b3e8aba6fdcbeed1fe6"/></dir><dir name="fi_FI"><file name="Vaimo_Klarna.csv" hash="0501deb83f9e7b96a11508d591d9307c"/></dir><dir name="nb_NO"><file name="Vaimo_Klarna.csv" hash="7b55b60812003c4d14917d689af05780"/></dir><dir name="nl_NL"><file name="Vaimo_Klarna.csv" hash="0146ce5d1dca315654f48baa6f9b8f73"/></dir><dir name="nn_NO"><file name="Vaimo_Klarna.csv" hash="30c305e173968f339faf5c1c41d21b09"/></dir><dir name="sv_SE"><file name="Vaimo_Klarna.csv" hash="22446c8a3709837854385427ae7e2d7f"/></dir></target><target name="mage"><dir name="js"><dir name="vaimo"><dir name="klarna"><file name="klarna.js" hash="580f2f4f363461734c578b0297a33b2e"/></dir></dir></dir></target><target name="magelib"><dir name="Klarna"><file name="CHANGELOG" hash="7c2deef157ef77304e1d0efc970d6c48"/><file name="Country.php" hash="40360c3964fc6193e7fb922845eb419b"/><file name="Currency.php" hash="a709407428d86521cc0775cbeb281523"/><file name="Encoding.php" hash="f8f8e744303ff7ce7f4b226331e7bdcf"/><file name="Exceptions.php" hash="933b2811e910da817743766cdde8ffeb"/><file name="Flags.php" hash="b407a1373adf5f172bef3e3d01e81cdb"/><file name="Klarna.php" hash="1fbeb52770b21cd6dd1fde92c734d928"/><file name="Language.php" hash="8e40aed0dece8f0a3fbe07e37451af16"/><dir name="checkout"><file name="checkouthtml.intf.php" hash="81e0740254585f2af67895df28093d35"/><file name="threatmetrix.class.php" hash="6ce1bfded90b6b3bb329176ff4c7acac"/></dir><dir name="examples"><file name="activate.php" hash="b49a0bd5c5a57577b9765d657dad7b78"/><file name="activateInvoice.php" hash="31061b3cf79a6fd32f580f3aa6b603ad"/><file name="activatePart.php" hash="72af1ee8d312df08e24cdc7b01cc72ed"/><file name="activateReservation.php" hash="6380e346db2466a655df17cbe4078b3a"/><file name="addTransaction.php" hash="015cdd7663d7bbe0716f8ed8f700e13e"/><file name="calc_monthly_cost.php" hash="9a45009fe051f76bd2d23db854f67cad"/><file name="cancelReservation.php" hash="219504c253caa372f479af8f6bf452eb"/><file name="changeReservation.php" hash="cdf4f971d74570e2ba9191792f69bf79"/><file name="checkOrderStatus.php" hash="b9d12df62f9619cb791bc4db9b2e19c4"/><file name="creditInvoice.php" hash="f174d28d812f5139c4a0397a27f419d9"/><file name="creditPart.php" hash="4c1a6397eb2bc7ee0bac5ed1a76aa7d8"/><file name="deleteInvoice.php" hash="b59be611d1ba7439d0c9ec43f38e8f95"/><file name="emailInvoice.php" hash="31f644dc6b1a97181d3ba474f2d77517"/><file name="fetchPClasses.php" hash="18a60ab1bde9ace0765c58f3343c4165"/><file name="getAddresses.php" hash="bf80e3108d51dcf4c581bff291e4a2fc"/><file name="getPClasses.php" hash="18b7bc054ceb36c8f004d21804fea832"/><file name="invoiceAddress.php" hash="a7a9c89f6ee017d72f9d9d5a959c7416"/><file name="invoiceAmount.php" hash="d404dba99dd5efd2954bec58eab720ca"/><file name="invoicePartAmount.php" hash="37e3726190f1fb403fbba19de2088dd5"/><file name="reserveAmount.php" hash="4c93a455264dafc93a2cd9ce41c8aaaa"/><file name="reserveOCR.php" hash="a67258e40b080027c5e60490a15d3347"/><file name="returnAmount.php" hash="ae01bab7225bdd6529593d499247e8f6"/><file name="sendInvoice.php" hash="46584ac7995d779ff4fa2a4a4b109df9"/><file name="splitReservation.php" hash="35c495a8bfc1e29b109a0de3800d4d44"/><file name="update.php" hash="1275db160660e97a6eb1328cf1f9c6b4"/><file name="updateChargeAmount.php" hash="ae4cf8072078cc8e527b786ea03a8337"/><file name="updateGoodsQty.php" hash="6e10c98895fe94f842ee45673ec790b3"/><file name="updateOrderNo.php" hash="e9d7a59d10b4be660b2cfd700ecc992d"/></dir><file name="klarnaaddr.php" hash="b090d4b0a819fdb7cc58815a8643de18"/><file name="klarnacalc.php" hash="3ab728bf3889240b881f282122fd25fd"/><file name="klarnaconfig.php" hash="a3a4011dccda60fcf3567f56254699ff"/><file name="klarnapclass.php" hash="26a8fd1df0806788f6719cb894787f76"/><dir name="pclasses"><file name="jsonstorage.class.php" hash="e59e526d9dcc17d1ca92ded188750672"/><file name="mysqlstorage.class.php" hash="896a5cd4edf461ef517e0bb2e328707b"/><file name="sqlstorage.class.php" hash="bb7ba4359e7e69424c9f0ecdafc0c9ae"/><file name="storage.intf.php" hash="26db57484b6db3d717c0150ffaa87b19"/><file name="xmlstorage.class.php" hash="4f13939bf8d73f2724f858dd17f219de"/></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="e133a0576c4a69adc210e9103725790b"/><file name="checkout_osc.css" hash="7f621724b0cb096f11d6cc42870bd544"/><file name="global.css" hash="22b6a446e6e874e6a95608f7046eac2a"/><file name="product.css" hash="d41d8cd98f00b204e9800998ecf8427e"/></dir></dir></dir><dir name="images"><dir name="vaimo"><dir name="klarna"><file name="balk_afm3.jpg" hash="8855567960bff35b1e3ba486670b5878"/></dir></dir></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>