Version Notes
- Fixed issue in shipping cost discount
- Added color selections in configuration
- Added configuration for debug log
Download this release
Release Info
Developer | Avenla Oy |
Extension | Avenla_KlarnaCheckout |
Version | 1.1.3 |
Comparing to | |
See all releases |
Code changes from version 1.1.2 to 1.1.3
- app/code/community/Avenla/KlarnaCheckout/Helper/Data.php +16 -0
- app/code/community/Avenla/KlarnaCheckout/Model/Api.php +1 -0
- app/code/community/Avenla/KlarnaCheckout/Model/Config.php +80 -0
- app/code/community/Avenla/KlarnaCheckout/Model/KCO.php +0 -1
- app/code/community/Avenla/KlarnaCheckout/Model/Order.php +27 -8
- app/code/community/Avenla/KlarnaCheckout/controllers/KCOController.php +3 -0
- app/code/community/Avenla/KlarnaCheckout/etc/config.xml +16 -1
- app/code/community/Avenla/KlarnaCheckout/etc/system.xml +78 -0
- app/design/adminhtml/default/default/layout/KCO.xml +28 -0
- app/design/frontend/base/default/layout/KCO.xml +1 -1
- app/locale/fi_FI/Avenla_KlarnaCheckout.csv +8 -0
- lib/KlarnaCheckout/Checkout/UserAgent.php +1 -1
- package.xml +7 -6
app/code/community/Avenla/KlarnaCheckout/Helper/Data.php
CHANGED
@@ -21,6 +21,22 @@
|
|
21 |
class Avenla_KlarnaCheckout_Helper_Data extends Mage_Core_Helper_Data
|
22 |
{
|
23 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
24 |
/**
|
25 |
* Get confirmation url
|
26 |
*
|
21 |
class Avenla_KlarnaCheckout_Helper_Data extends Mage_Core_Helper_Data
|
22 |
{
|
23 |
|
24 |
+
/**
|
25 |
+
* Write in KCO log if debugging is enabled
|
26 |
+
*
|
27 |
+
* @param mixed $message
|
28 |
+
* @param integer $level
|
29 |
+
*/
|
30 |
+
public function log($message, $level = 7)
|
31 |
+
{
|
32 |
+
|
33 |
+
if(!Mage::getSingleton('klarnaCheckout/KCO')->getConfig()->debuglog())
|
34 |
+
return;
|
35 |
+
|
36 |
+
$file = 'KCO.log';
|
37 |
+
Mage::log($message, $level, $file);
|
38 |
+
}
|
39 |
+
|
40 |
/**
|
41 |
* Get confirmation url
|
42 |
*
|
app/code/community/Avenla/KlarnaCheckout/Model/Api.php
CHANGED
@@ -158,6 +158,7 @@ class Avenla_KlarnaCheckout_Model_Api extends Mage_Core_Model_Abstract
|
|
158 |
|
159 |
foreach($qtys as $key => $qty){
|
160 |
$sku = Mage::getModel('sales/order_item')->load($key)->getSku();
|
|
|
161 |
$this->klarna->addArtNo($qty, $sku);
|
162 |
}
|
163 |
|
158 |
|
159 |
foreach($qtys as $key => $qty){
|
160 |
$sku = Mage::getModel('sales/order_item')->load($key)->getSku();
|
161 |
+
$sku = iconv('UTF-8', 'ISO-8859-1', $sku);
|
162 |
$this->klarna->addArtNo($qty, $sku);
|
163 |
}
|
164 |
|
app/code/community/Avenla/KlarnaCheckout/Model/Config.php
CHANGED
@@ -266,4 +266,84 @@ class Avenla_KlarnaCheckout_Model_Config extends Varien_Object
|
|
266 |
{
|
267 |
return $this->getConfigData('show_giftmessage');
|
268 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
269 |
}
|
266 |
{
|
267 |
return $this->getConfigData('show_giftmessage');
|
268 |
}
|
269 |
+
|
270 |
+
/**
|
271 |
+
* Debug logging
|
272 |
+
*
|
273 |
+
* @return bool
|
274 |
+
*/
|
275 |
+
public function debuglog()
|
276 |
+
{
|
277 |
+
return $this->getConfigData('debug_log');
|
278 |
+
}
|
279 |
+
|
280 |
+
/**
|
281 |
+
* Use custom colors in KCO
|
282 |
+
*
|
283 |
+
* @return bool
|
284 |
+
*/
|
285 |
+
public function useCustomColors()
|
286 |
+
{
|
287 |
+
return $this->getConfigData('custom_colors');
|
288 |
+
}
|
289 |
+
|
290 |
+
/**
|
291 |
+
* Get button color
|
292 |
+
*
|
293 |
+
* @return string
|
294 |
+
*/
|
295 |
+
public function getButtonColor()
|
296 |
+
{
|
297 |
+
return $this->getConfigData('color_button');
|
298 |
+
}
|
299 |
+
|
300 |
+
/**
|
301 |
+
* Get button text color
|
302 |
+
*
|
303 |
+
* @return string
|
304 |
+
*/
|
305 |
+
public function getButtonTextColor()
|
306 |
+
{
|
307 |
+
return $this->getConfigData('color_button_text');
|
308 |
+
}
|
309 |
+
|
310 |
+
/**
|
311 |
+
* Get checkbox color
|
312 |
+
*
|
313 |
+
* @return string
|
314 |
+
*/
|
315 |
+
public function getCheckboxColor()
|
316 |
+
{
|
317 |
+
return $this->getConfigData('color_checkbox');
|
318 |
+
}
|
319 |
+
|
320 |
+
/**
|
321 |
+
* Get checkbox checkmark color
|
322 |
+
*
|
323 |
+
* @return string
|
324 |
+
*/
|
325 |
+
public function getCheckboxCheckmarkColor()
|
326 |
+
{
|
327 |
+
return $this->getConfigData('color_checkbox_checkmark');
|
328 |
+
}
|
329 |
+
|
330 |
+
/**
|
331 |
+
* Get header color
|
332 |
+
*
|
333 |
+
* @return string
|
334 |
+
*/
|
335 |
+
public function getHeaderColor()
|
336 |
+
{
|
337 |
+
return $this->getConfigData('color_header');
|
338 |
+
}
|
339 |
+
|
340 |
+
/**
|
341 |
+
* Get link color
|
342 |
+
*
|
343 |
+
* @return string
|
344 |
+
*/
|
345 |
+
public function getLinkColor()
|
346 |
+
{
|
347 |
+
return $this->getConfigData('color_link');
|
348 |
+
}
|
349 |
}
|
app/code/community/Avenla/KlarnaCheckout/Model/KCO.php
CHANGED
@@ -67,7 +67,6 @@ class Avenla_KlarnaCheckout_Model_KCO extends Mage_Payment_Model_Method_Abstract
|
|
67 |
|
68 |
if($result)
|
69 |
$result = Mage::helper('klarnaCheckout')->getConnectionStatus($quote);
|
70 |
-
|
71 |
|
72 |
return $result;
|
73 |
}
|
67 |
|
68 |
if($result)
|
69 |
$result = Mage::helper('klarnaCheckout')->getConnectionStatus($quote);
|
|
|
70 |
|
71 |
return $result;
|
72 |
}
|
app/code/community/Avenla/KlarnaCheckout/Model/Order.php
CHANGED
@@ -61,10 +61,10 @@ class Avenla_KlarnaCheckout_Model_Order extends Klarna_Checkout_Order
|
|
61 |
if(!$quote)
|
62 |
return $this->order;
|
63 |
|
64 |
-
$this->quote = $quote;
|
65 |
$this->addProductsToCart();
|
66 |
-
$this->processDiscount();
|
67 |
$this->getShippingCosts();
|
|
|
68 |
|
69 |
$checkoutId ? $this->updateOrder() : $this->createOrder();
|
70 |
|
@@ -93,7 +93,16 @@ class Avenla_KlarnaCheckout_Model_Order extends Klarna_Checkout_Order
|
|
93 |
$create['merchant_reference']['orderid1'] = $this->quote ? $this->quote->getId() : '12345';
|
94 |
$create['gui']['options'] = array('disable_autofocus');
|
95 |
$create['gui']['layout'] = $this->mobile ? 'mobile' : 'desktop';
|
96 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
97 |
$info = $this->getCustomerInfo();
|
98 |
|
99 |
if(!empty($info))
|
@@ -102,7 +111,7 @@ class Avenla_KlarnaCheckout_Model_Order extends Klarna_Checkout_Order
|
|
102 |
foreach ($this->cart as $item){
|
103 |
$create['cart']['items'][] = $item;
|
104 |
}
|
105 |
-
|
106 |
$this->order->create($create);
|
107 |
if(!$this->dummy)
|
108 |
$this->order->fetch();
|
@@ -239,13 +248,14 @@ class Avenla_KlarnaCheckout_Model_Order extends Klarna_Checkout_Order
|
|
239 |
|
240 |
if(abs($baseDiscount) - $this->discounted > 0.001){
|
241 |
$discount = $totals['discount'];
|
242 |
-
|
|
|
243 |
$this->cart[] = array(
|
244 |
'type' => 'discount',
|
245 |
'reference' => $discount->getcode(),
|
246 |
'name' => $discount->getTitle(),
|
247 |
'quantity' => 1,
|
248 |
-
'unit_price' => round($
|
249 |
'tax_rate' => 0
|
250 |
);
|
251 |
}
|
@@ -266,12 +276,21 @@ class Avenla_KlarnaCheckout_Model_Order extends Klarna_Checkout_Order
|
|
266 |
if(isset($taxClasses["value_".$taxClass]))
|
267 |
$taxRate = $taxClasses["value_".$taxClass];
|
268 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
269 |
$shippingCosts = array(
|
270 |
'type' => 'shipping_fee',
|
271 |
'reference' => 'shipping_fee',
|
272 |
-
'name' => $
|
273 |
'quantity' => 1,
|
274 |
-
'unit_price' => round($
|
|
|
275 |
'tax_rate' => (int)($taxRate * 100)
|
276 |
);
|
277 |
|
61 |
if(!$quote)
|
62 |
return $this->order;
|
63 |
|
64 |
+
$this->quote = $quote;
|
65 |
$this->addProductsToCart();
|
|
|
66 |
$this->getShippingCosts();
|
67 |
+
$this->processDiscount();
|
68 |
|
69 |
$checkoutId ? $this->updateOrder() : $this->createOrder();
|
70 |
|
93 |
$create['merchant_reference']['orderid1'] = $this->quote ? $this->quote->getId() : '12345';
|
94 |
$create['gui']['options'] = array('disable_autofocus');
|
95 |
$create['gui']['layout'] = $this->mobile ? 'mobile' : 'desktop';
|
96 |
+
|
97 |
+
if($this->config->useCustomColors()){
|
98 |
+
$create['options']['color_button'] = '#'.$this->config->getButtonColor();
|
99 |
+
$create['options']['color_button_text'] = '#'.$this->config->getButtonTextColor();
|
100 |
+
$create['options']['color_checkbox'] = '#'.$this->config->getCheckboxColor();
|
101 |
+
$create['options']['color_checkbox_checkmark'] = '#'.$this->config->getCheckboxCheckmarkColor();
|
102 |
+
$create['options']['color_header'] = '#'.$this->config->getHeaderColor();
|
103 |
+
$create['options']['color_link'] = '#'.$this->config->getLinkColor();
|
104 |
+
}
|
105 |
+
|
106 |
$info = $this->getCustomerInfo();
|
107 |
|
108 |
if(!empty($info))
|
111 |
foreach ($this->cart as $item){
|
112 |
$create['cart']['items'][] = $item;
|
113 |
}
|
114 |
+
|
115 |
$this->order->create($create);
|
116 |
if(!$this->dummy)
|
117 |
$this->order->fetch();
|
248 |
|
249 |
if(abs($baseDiscount) - $this->discounted > 0.001){
|
250 |
$discount = $totals['discount'];
|
251 |
+
$diff = abs($baseDiscount) - $this->discounted;
|
252 |
+
|
253 |
$this->cart[] = array(
|
254 |
'type' => 'discount',
|
255 |
'reference' => $discount->getcode(),
|
256 |
'name' => $discount->getTitle(),
|
257 |
'quantity' => 1,
|
258 |
+
'unit_price' => round($diff, 2) * 100,
|
259 |
'tax_rate' => 0
|
260 |
);
|
261 |
}
|
276 |
if(isset($taxClasses["value_".$taxClass]))
|
277 |
$taxRate = $taxClasses["value_".$taxClass];
|
278 |
|
279 |
+
$shippingAddress = $this->quote->getShippingAddress();
|
280 |
+
$discount_rate = 0;
|
281 |
+
|
282 |
+
if($shippingAddress->getBaseShippingDiscountAmount()){
|
283 |
+
$discount_rate = $shippingAddress->getBaseShippingDiscountAmount() / ($shippingAddress->getBaseShippingInclTax() / 100);
|
284 |
+
$this->discounted += $shippingAddress->getBaseShippingDiscountAmount();
|
285 |
+
}
|
286 |
+
|
287 |
$shippingCosts = array(
|
288 |
'type' => 'shipping_fee',
|
289 |
'reference' => 'shipping_fee',
|
290 |
+
'name' => $shippingAddress->getShippingDescription(),
|
291 |
'quantity' => 1,
|
292 |
+
'unit_price' => round($shippingAddress->getBaseShippingInclTax(), 2) * 100,
|
293 |
+
'discount_rate' => round($discount_rate, 2) * 100,
|
294 |
'tax_rate' => (int)($taxRate * 100)
|
295 |
);
|
296 |
|
app/code/community/Avenla/KlarnaCheckout/controllers/KCOController.php
CHANGED
@@ -250,6 +250,9 @@ class Avenla_KlarnaCheckout_KCOController extends Mage_Core_Controller_Front_Act
|
|
250 |
if ($ko['status'] == "checkout_complete" && $quoteID){
|
251 |
$quote = Mage::getModel("sales/quote")->load($quoteID);
|
252 |
|
|
|
|
|
|
|
253 |
if(count($quote->getAllItems()) < 1){
|
254 |
Mage::log("No valid quote found for Klarna order, reservation canceled.");
|
255 |
Mage::getModel('klarnaCheckout/api')->cancelReservation($ko['reservation']);
|
250 |
if ($ko['status'] == "checkout_complete" && $quoteID){
|
251 |
$quote = Mage::getModel("sales/quote")->load($quoteID);
|
252 |
|
253 |
+
Mage::helper('klarnaCheckout')->log('QUOTE ID: ' . $quoteID);
|
254 |
+
Mage::helper('klarnaCheckout')->log($ko['cart']);
|
255 |
+
|
256 |
if(count($quote->getAllItems()) < 1){
|
257 |
Mage::log("No valid quote found for Klarna order, reservation canceled.");
|
258 |
Mage::getModel('klarnaCheckout/api')->cancelReservation($ko['reservation']);
|
app/code/community/Avenla/KlarnaCheckout/etc/config.xml
CHANGED
@@ -23,7 +23,7 @@
|
|
23 |
<config>
|
24 |
<modules>
|
25 |
<Avenla_KlarnaCheckout>
|
26 |
-
<version>1.1.
|
27 |
</Avenla_KlarnaCheckout>
|
28 |
</modules>
|
29 |
<global>
|
@@ -103,6 +103,14 @@
|
|
103 |
<payment_action>authorize</payment_action>
|
104 |
<active>1</active>
|
105 |
<title>Klarna Checkout</title>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
106 |
</klarnaCheckout_payment>
|
107 |
</payment>
|
108 |
</default>
|
@@ -160,6 +168,13 @@
|
|
160 |
</events>
|
161 |
</frontend>
|
162 |
<adminhtml>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
163 |
<translate>
|
164 |
<modules>
|
165 |
<translations>
|
23 |
<config>
|
24 |
<modules>
|
25 |
<Avenla_KlarnaCheckout>
|
26 |
+
<version>1.1.3</version>
|
27 |
</Avenla_KlarnaCheckout>
|
28 |
</modules>
|
29 |
<global>
|
103 |
<payment_action>authorize</payment_action>
|
104 |
<active>1</active>
|
105 |
<title>Klarna Checkout</title>
|
106 |
+
<debug_log>0</debug_log>
|
107 |
+
<custom_colors>0</custom_colors>
|
108 |
+
<color_button>0089CF</color_button>
|
109 |
+
<color_button_text>FFFFFF</color_button_text>
|
110 |
+
<color_checkbox>0089CF</color_checkbox>
|
111 |
+
<color_checkbox_checkmark>FFFFFF</color_checkbox_checkmark>
|
112 |
+
<color_header>434343</color_header>
|
113 |
+
<color_link>0089CF</color_link>
|
114 |
</klarnaCheckout_payment>
|
115 |
</payment>
|
116 |
</default>
|
168 |
</events>
|
169 |
</frontend>
|
170 |
<adminhtml>
|
171 |
+
<layout>
|
172 |
+
<updates>
|
173 |
+
<klarnaCheckout>
|
174 |
+
<file>KCO.xml</file>
|
175 |
+
</klarnaCheckout>
|
176 |
+
</updates>
|
177 |
+
</layout>
|
178 |
<translate>
|
179 |
<modules>
|
180 |
<translations>
|
app/code/community/Avenla/KlarnaCheckout/etc/system.xml
CHANGED
@@ -80,6 +80,15 @@
|
|
80 |
<show_in_website>1</show_in_website>
|
81 |
<show_in_store>1</show_in_store>
|
82 |
</sharedsecret>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
83 |
<activate_partial translate="label">
|
84 |
<label>Activate partial shipments</label>
|
85 |
<comment><![CDATA[When selected, partial shipments will be automatically activated in Klarna]]></comment>
|
@@ -218,6 +227,75 @@
|
|
218 |
<show_in_website>1</show_in_website>
|
219 |
<show_in_store>1</show_in_store>
|
220 |
</update_pclass>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
221 |
</fields>
|
222 |
</klarnaCheckout_payment>
|
223 |
</groups>
|
80 |
<show_in_website>1</show_in_website>
|
81 |
<show_in_store>1</show_in_store>
|
82 |
</sharedsecret>
|
83 |
+
<debug_log translate="label">
|
84 |
+
<label>Debug log</label>
|
85 |
+
<frontend_type>select</frontend_type>
|
86 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
87 |
+
<sort_order>7</sort_order>
|
88 |
+
<show_in_default>1</show_in_default>
|
89 |
+
<show_in_website>1</show_in_website>
|
90 |
+
<show_in_store>1</show_in_store>
|
91 |
+
</debug_log>
|
92 |
<activate_partial translate="label">
|
93 |
<label>Activate partial shipments</label>
|
94 |
<comment><![CDATA[When selected, partial shipments will be automatically activated in Klarna]]></comment>
|
227 |
<show_in_website>1</show_in_website>
|
228 |
<show_in_store>1</show_in_store>
|
229 |
</update_pclass>
|
230 |
+
<custom_colors translate="label">
|
231 |
+
<label>Use custom colors</label>
|
232 |
+
<frontend_type>select</frontend_type>
|
233 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
234 |
+
<sort_order>23</sort_order>
|
235 |
+
<show_in_default>1</show_in_default>
|
236 |
+
<show_in_website>1</show_in_website>
|
237 |
+
<show_in_store>1</show_in_store>
|
238 |
+
</custom_colors>
|
239 |
+
<color_button translate="label">
|
240 |
+
<label>Button color</label>
|
241 |
+
<frontend_type>text</frontend_type>
|
242 |
+
<validate>color</validate>
|
243 |
+
<sort_order>24</sort_order>
|
244 |
+
<show_in_default>1</show_in_default>
|
245 |
+
<show_in_website>1</show_in_website>
|
246 |
+
<show_in_store>1</show_in_store>
|
247 |
+
<depends><custom_colors>1</custom_colors></depends>
|
248 |
+
</color_button>
|
249 |
+
<color_button_text translate="label">
|
250 |
+
<label>Button text color</label>
|
251 |
+
<frontend_type>text</frontend_type>
|
252 |
+
<validate>color</validate>
|
253 |
+
<sort_order>25</sort_order>
|
254 |
+
<show_in_default>1</show_in_default>
|
255 |
+
<show_in_website>1</show_in_website>
|
256 |
+
<show_in_store>1</show_in_store>
|
257 |
+
<depends><custom_colors>1</custom_colors></depends>
|
258 |
+
</color_button_text>
|
259 |
+
<color_checkbox translate="label">
|
260 |
+
<label>Checkbox color</label>
|
261 |
+
<frontend_type>text</frontend_type>
|
262 |
+
<validate>color</validate>
|
263 |
+
<sort_order>26</sort_order>
|
264 |
+
<show_in_default>1</show_in_default>
|
265 |
+
<show_in_website>1</show_in_website>
|
266 |
+
<show_in_store>1</show_in_store>
|
267 |
+
<depends><custom_colors>1</custom_colors></depends>
|
268 |
+
</color_checkbox>
|
269 |
+
<color_checkbox_checkmark translate="label">
|
270 |
+
<label>Checkbox checkmark color</label>
|
271 |
+
<frontend_type>text</frontend_type>
|
272 |
+
<validate>color</validate>
|
273 |
+
<sort_order>27</sort_order>
|
274 |
+
<show_in_default>1</show_in_default>
|
275 |
+
<show_in_website>1</show_in_website>
|
276 |
+
<show_in_store>1</show_in_store>
|
277 |
+
<depends><custom_colors>1</custom_colors></depends>
|
278 |
+
</color_checkbox_checkmark>
|
279 |
+
<color_header translate="label">
|
280 |
+
<label>Header color</label>
|
281 |
+
<frontend_type>text</frontend_type>
|
282 |
+
<validate>color</validate>
|
283 |
+
<sort_order>28</sort_order>
|
284 |
+
<show_in_default>1</show_in_default>
|
285 |
+
<show_in_website>1</show_in_website>
|
286 |
+
<show_in_store>1</show_in_store>
|
287 |
+
<depends><custom_colors>1</custom_colors></depends>
|
288 |
+
</color_header>
|
289 |
+
<color_link translate="label">
|
290 |
+
<label>Link color</label>
|
291 |
+
<frontend_type>text</frontend_type>
|
292 |
+
<validate>color</validate>
|
293 |
+
<sort_order>29</sort_order>
|
294 |
+
<show_in_default>1</show_in_default>
|
295 |
+
<show_in_website>1</show_in_website>
|
296 |
+
<show_in_store>1</show_in_store>
|
297 |
+
<depends><custom_colors>1</custom_colors></depends>
|
298 |
+
</color_link>
|
299 |
</fields>
|
300 |
</klarnaCheckout_payment>
|
301 |
</groups>
|
app/design/adminhtml/default/default/layout/KCO.xml
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<!--
|
3 |
+
This file is released under a custom license by Avenla Oy.
|
4 |
+
All rights reserved
|
5 |
+
|
6 |
+
License and more information can be found at http://productdownloads.avenla.com/magento-modules/klarna-checkout/
|
7 |
+
For questions and support - klarna-support@avenla.com
|
8 |
+
|
9 |
+
@category Avenla
|
10 |
+
@package Avenla_KlarnaCheckout
|
11 |
+
@copyright Copyright (c) Avenla Oy
|
12 |
+
@link http://www.avenla.fi
|
13 |
+
|
14 |
+
|
15 |
+
Avenla KlarnaCheckout
|
16 |
+
|
17 |
+
@category Avenla
|
18 |
+
@package Avenla_KlarnaCheckout
|
19 |
+
-->
|
20 |
+
<layout>
|
21 |
+
<adminhtml_system_config_edit>
|
22 |
+
<reference name="head">
|
23 |
+
<action method="addJs">
|
24 |
+
<script>jscolor/jscolor.js</script>
|
25 |
+
</action>
|
26 |
+
</reference>
|
27 |
+
</adminhtml_system_config_edit>
|
28 |
+
</layout>
|
app/design/frontend/base/default/layout/KCO.xml
CHANGED
@@ -1,6 +1,5 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<!--
|
3 |
-
|
4 |
This file is released under a custom license by Avenla Oy.
|
5 |
All rights reserved
|
6 |
|
@@ -65,6 +64,7 @@
|
|
65 |
<action method="addItemRender" ifconfig="payment/klarnaCheckout_payment/active">
|
66 |
<type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>KCO/cart/item/default.phtml</template>
|
67 |
</action>
|
|
|
68 |
<block type="klarnaCheckout/KCO" name="checkout.cart.klarnacheckout" as="klarnacheckout" template="KCO/KCO.phtml" />
|
69 |
<block type="core/template" name="cart.giftmessage" as="cart.giftmessage" template="KCO/cart/giftmessage.phtml"/>
|
70 |
</reference>
|
1 |
<?xml version="1.0"?>
|
2 |
<!--
|
|
|
3 |
This file is released under a custom license by Avenla Oy.
|
4 |
All rights reserved
|
5 |
|
64 |
<action method="addItemRender" ifconfig="payment/klarnaCheckout_payment/active">
|
65 |
<type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>KCO/cart/item/default.phtml</template>
|
66 |
</action>
|
67 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/checkout_cart_item_renderer</block><template>KCO/cart/item/default.phtml</template></action>
|
68 |
<block type="klarnaCheckout/KCO" name="checkout.cart.klarnacheckout" as="klarnacheckout" template="KCO/KCO.phtml" />
|
69 |
<block type="core/template" name="cart.giftmessage" as="cart.giftmessage" template="KCO/cart/giftmessage.phtml"/>
|
70 |
</reference>
|
app/locale/fi_FI/Avenla_KlarnaCheckout.csv
CHANGED
@@ -81,3 +81,11 @@
|
|
81 |
"Dark", "Tumma"
|
82 |
"Google Analytics account Type", "Google Analytics tilin tyyppi"
|
83 |
"Avenla Klarna Checkout module documentation", "Avenla Klarna Checkout moduulin dokumentaatio"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
81 |
"Dark", "Tumma"
|
82 |
"Google Analytics account Type", "Google Analytics tilin tyyppi"
|
83 |
"Avenla Klarna Checkout module documentation", "Avenla Klarna Checkout moduulin dokumentaatio"
|
84 |
+
"Debug log", "Loki"
|
85 |
+
"Use custom colors", "Käytä mukautettuja värejä"
|
86 |
+
"Button color", "Painikkeiden väri"
|
87 |
+
"Button text color", "Painikkeiden tekstin väri"
|
88 |
+
"Checkbox color", "Valintaruudun väri"
|
89 |
+
"Checkbox checkmark color", "Valintaruudun valinnan väri"
|
90 |
+
"Header color", "Otsikoiden väri"
|
91 |
+
"Link color", "Linkkien väri"
|
lib/KlarnaCheckout/Checkout/UserAgent.php
CHANGED
@@ -66,7 +66,7 @@ class Klarna_Checkout_UserAgent
|
|
66 |
),
|
67 |
'Module' => array(
|
68 |
'name' => 'KlarnaCheckout.MagentoModule',
|
69 |
-
'version' => '1.1.
|
70 |
)
|
71 |
);
|
72 |
}
|
66 |
),
|
67 |
'Module' => array(
|
68 |
'name' => 'KlarnaCheckout.MagentoModule',
|
69 |
+
'version' => '1.1.3'
|
70 |
)
|
71 |
);
|
72 |
}
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Avenla_KlarnaCheckout</name>
|
4 |
-
<version>1.1.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://productdownloads.avenla.com/magento-modules/klarna-checkout/">Custom license by Avenla Oy</license>
|
7 |
<channel>community</channel>
|
@@ -11,12 +11,13 @@
|
|
11 |

|
12 |
For questions and support - klarna-support@avenla.com
|
13 |
</description>
|
14 |
-
<notes>-
|
15 |
-
-
|
|
|
16 |
<authors><author><name>Avenla Oy</name><user>Avenla</user><email>info@avenla.fi</email></author></authors>
|
17 |
-
<date>2015-
|
18 |
-
<time>
|
19 |
-
<contents><target name="magecommunity"><dir name="Avenla"><dir name="KlarnaCheckout"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Field"><file name="Pclass.php" hash="85f4411a44787934e4a4c0a7873cc7a2"/></dir><dir name="Fieldset"><file name="Info.php" hash="5ad648a3c67970d45f18b40df0a42df7"/></dir></dir></dir></dir><dir name="Catalog"><dir name="Product"><file name="Price.php" hash="15be72dbe2723bb2d72c6977abd4d8a7"/></dir></dir><dir name="KCO"><file name="Confirmation.php" hash="57515baadc5229ac55654913b88e6d28"/><file name="Info.php" hash="2af961abb2eb0609b84f8da5281332ad"/><file name="Newsletter.php" hash="8d02745a2c814101ae61b2bf00e8901e"/></dir><file name="KCO.php" hash="1abf22f4408a872572c1f8babed730d6"/><dir name="Widgets"><file name="Logo.php" hash="cddd29b3e350d1639db3808a83ad80e8"/><file name="Methods.php" hash="05cf4a02e055559dc591124bfd95d836"/></dir></dir><dir name="Helper"><file name="Api.php" hash="40f14b72afdcf758b97b564ebe27d0c6"/><file name="Data.php" hash="80e192553737c8c6ecff3b17688c4952"/></dir><dir name="Model"><file name="Api.php" hash="016856fd21d1b0e414b34e20e4f436ff"/><file name="Config.php" hash="d0f7be8c9496409741a9680a0166976b"/><file name="KCO.php" hash="40243da5c3935e80720ad91fb944bb8f"/><file name="Newsletter.php" hash="9696df5adee53302fba4d614656350f2"/><file name="Observer.php" hash="468ce08f1c92895327c7f7236195643c"/><file name="Order.php" hash="5d29bd38cae49f5b0fd7deefbe70d1e1"/><dir name="Source"><file name="AnalyticsType.php" hash="ad52d555ff3cd3cd18e760b2d7ac242a"/><file name="Countries.php" hash="0440b3ecc5528cf42dbb937eb7d9c0cb"/><file name="Kcolayout.php" hash="9ece6e53ebb4e39e3c1d4d534d71cb27"/><file name="Orderlocale.php" hash="a88769cf211991c70a0f51185bc53fb0"/><file name="Pplayout.php" hash="455484dbea2ff0770aa17e42851b81a6"/><file name="Ppwidget.php" hash="4e1de2ee86a2f5bf5100e211bc01b8f2"/><file name="Servermode.php" hash="df4420b3831b1a1e1ec04daa53711a4d"/><file name="Shippingmethods.php" hash="fecb931e29be4ae008c678cc1d760a02"/><file name="Taxclass.php" hash="c770ce5721c820c27895580e4d2de4b1"/></dir><file name="Validator.php" hash="cb8148baee0988c4a59eb6d9c5b1989d"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="KCOController.php" hash="f7c15ba5e99541a2e5d9693ad6325c7b"/></dir><file name="CartController.php" hash="891403418045004e6c047c0173dc7c6a"/><file name="KCOController.php" hash="9d2d4a2ce1af74c8f57eedd89c5cb67e"/></dir><dir name="etc"><file name="config.xml" hash="8cf3989cf090d966d875cf2256eeb034"/><file name="system.xml" hash="25a701bb6c6a956b453b0d7c31e90f2f"/><file name="widget.xml" hash="3dbffcaef836b334f5e7c1c675738275"/></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="KCO"><file name="info.phtml" hash="92048d26b2b4f751e4c83ddddab89448"/><dir name="system"><dir name="config"><dir name="field"><file name="pclass.phtml" hash="8566542d14d0dce48dc6aabaf5181007"/></dir><dir name="fieldset"><file name="info.phtml" hash="a7b2c13acb0f852c358a9852f51fdae6"/></dir></dir></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="KCO"><file name="KCO.phtml" hash="c71d63a2599d086c0937cbd23426d20b"/><dir name="cart"><file name="crosssell.phtml" hash="e7f78cb99e14ab680b794524b8666812"/><file name="giftmessage.phtml" hash="4cb99583d6ce811a3a576a6e20ff0f99"/><dir name="item"><file name="default.phtml" hash="9190b3fad2f2ed57ea2ffbed2e1faa02"/></dir><file name="shipping.phtml" hash="b940c98adec4e3fd455ffc04094a1a4f"/></dir><file name="cart.phtml" hash="4d0d54548f1a20ed359f8e517767d233"/><file name="cart_twocolumns.phtml" hash="6e296c790b5c3a96cdb313ee4829b977"/><dir name="catalog"><dir name="product"><file name="price.phtml" hash="8f32fd038bed9521f6f576d736408ca9"/></dir></dir><file name="info.phtml" hash="a87d8ee70c92a10445fa864a63d042ba"/><file name="link.phtml" hash="d2c3dac8b2cde4b52854019e990b3b11"/><file name="newsletter.phtml" hash="87c3730ed525d3810a5df0a9180bf993"/><dir name="onepage"><file name="link.phtml" hash="a05ab2ebf5f0ed225c2f3967e2bceced"/></dir><dir name="widget"><file name="methods.phtml" hash="7415fafbd8f2acf134c4ac81c30f4bd4"/></dir></dir></dir><dir name="layout"><file name="KCO.xml" hash="63e485d105bbe6c6969fe85e336deea9"/></dir></dir></dir></dir></target><target name="magelib"><dir name="Klarna"><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="c92501977a6fc642715045a49e29b50a"/><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="85a84a8eaeec830949551dfd98fe0236"/><file name="activateInvoice.php" hash="cfac2ed57d0c79679fb35ca723eaffab"/><file name="activatePart.php" hash="b46475c2d9f5b326ff2cd65586a1de6e"/><file name="activateReservation.php" hash="bd9b0e5717eaa32ebf6b5d31ad66e5d4"/><file name="addTransaction.php" hash="6426b7965de733bb17ddc7f74ee3949f"/><file name="calc_monthly_cost.php" hash="30e78c4d40db82643396f9289749a898"/><file name="cancelReservation.php" hash="ae8d00e19c671f6cfe8454a5bb590ab1"/><file name="changeReservation.php" hash="43d9486d29326a8c33a4fda466612149"/><file name="checkOrderStatus.php" hash="bef76f120b3e486790d78b50f4101701"/><file name="creditInvoice.php" hash="8edca171c9f7be2a3c15b23ff166048e"/><file name="creditPart.php" hash="5497b9307da7cccadbf4a6c0dc943876"/><file name="deleteInvoice.php" hash="6d2a6e53c64e7a1aacb79c775a46da5b"/><file name="emailInvoice.php" hash="764fbd5fab4f52dacd767a3f7ac17234"/><file name="fetchPClasses.php" hash="aac08dc4d9cfece6ac9e9a9c4e7b20cc"/><file name="getAddresses.php" hash="ebd79224ea702c92e99a407a53d42da0"/><file name="getPClasses.php" hash="8e444c98a7c63b82512af1f4ce35ac65"/><file name="invoiceAddress.php" hash="97475403b1db4264c0add60930380434"/><file name="invoiceAmount.php" hash="2f5dc326549b179cf99c27518b715e88"/><file name="invoicePartAmount.php" hash="87bf68e855bfdd4f6ba3547091104c97"/><file name="reserveAmount.php" hash="1a97ef5c39f5a2c6d97660504cbbfa10"/><file name="reserveOCR.php" hash="9349b5ea9807060cba4b5f3fcd14369f"/><file name="returnAmount.php" hash="02caca4d76b6d055d504023c770961a4"/><file name="sendInvoice.php" hash="9139eef562746840d09f9d9d5a465c21"/><file name="splitReservation.php" hash="0e09421de645d97c3b74485d51edacfd"/><file name="update.php" hash="3e3561165f4c6727731afe451b0f87d6"/><file name="updateChargeAmount.php" hash="34de26a7f6a089bdb18f67eae1f903c7"/><file name="updateGoodsQty.php" hash="e4f9ee36f56b47924ba35cda500cf13e"/><file name="updateOrderNo.php" hash="cdd594a386072f7bffbf05d2ecdcb9b7"/></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><dir name="KlarnaCheckout"><dir name="Checkout"><file name="BasicConnector.php" hash="e15b4e83aa79afa7c98dbbfb865d7a7a"/><file name="ConnectionErrorException.php" hash="e07a9ccb71869c98036b085b146171fa"/><file name="Connector.php" hash="5378924b60a858f14a41882a8c90c6bc"/><file name="ConnectorException.php" hash="b4304fc99da372305dc4ad40e849a4a9"/><file name="ConnectorInterface.php" hash="f7e0c91db42f54cc4a9858cc1ef47e1a"/><file name="Digest.php" hash="28bde4dc8443bbcc5ad7d04ea9d9c5eb"/><file name="Exception.php" hash="43b4516fe4fe5aa98e1f9b382f504ab7"/><dir name="HTTP"><file name="CURLFactory.php" hash="7fa2aecea60eaf467b1965d2335935d9"/><file name="CURLHandle.php" hash="0b7d459eec95a0f17f420d0493e828bc"/><file name="CURLHandleInterface.php" hash="ddcf0889e242f1f15e6df047386e8403"/><file name="CURLHeaders.php" hash="0807a7b2e579490e08576b4d30f1d1d8"/><file name="CURLTransport.php" hash="a50ed245e0246b6ecc27042bd457bb86"/><file name="Request.php" hash="d7718e7e503a8b4c355aff2b31d0c174"/><file name="Response.php" hash="6be76eb703d424b77e9ea1b37f4825f2"/><file name="Transport.php" hash="c8dd8f3560c310dc78b84bfa057419b5"/><file name="TransportInterface.php" hash="8395efa365907d216633370d79d5380b"/></dir><file name="Order.php" hash="29309d953e7b3b3ae411a6ee913410d9"/><file name="ResourceInterface.php" hash="93a56d28ccf5a29010fb33f15d53ae32"/><file name="UserAgent.php" hash="fefdc65b41b0fe88cd2fcb9accca7cab"/></dir><file name="Checkout.php" hash="e28fbfb7516e27bb792d7b3fba8c8853"/></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="KCO"><file name="dropdown.png" hash="a408e177ff3130bdb4bb491935700df4"/><file name="kco.css" hash="293485490a353852b62c2ede827da28b"/><file name="klarna_simplifying.png" hash="280abffdadbbd0d372a8505c4c83a9e8"/><file name="loader.gif" hash="5e51d58f5d9bd09ab814d9ca9347d3b9"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Avenla_KlarnaCheckout.xml" hash="22b47fd5cc2c12370457a51ffff752d6"/></dir></target><target name="magelocale"><dir name="fi_FI"><file name="Avenla_KlarnaCheckout.csv" hash="9bfeccace0660ddb8bc73c2e3ddf7643"/></dir></target></contents>
|
20 |
<compatible/>
|
21 |
<dependencies><required><php><min>5.2.16</min><max>6.0.0</max></php></required></dependencies>
|
22 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Avenla_KlarnaCheckout</name>
|
4 |
+
<version>1.1.3</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://productdownloads.avenla.com/magento-modules/klarna-checkout/">Custom license by Avenla Oy</license>
|
7 |
<channel>community</channel>
|
11 |

|
12 |
For questions and support - klarna-support@avenla.com
|
13 |
</description>
|
14 |
+
<notes>- Fixed issue in shipping cost discount
|
15 |
+
- Added color selections in configuration
|
16 |
+
- Added configuration for debug log</notes>
|
17 |
<authors><author><name>Avenla Oy</name><user>Avenla</user><email>info@avenla.fi</email></author></authors>
|
18 |
+
<date>2015-03-10</date>
|
19 |
+
<time>12:14:36</time>
|
20 |
+
<contents><target name="magecommunity"><dir name="Avenla"><dir name="KlarnaCheckout"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Field"><file name="Pclass.php" hash="85f4411a44787934e4a4c0a7873cc7a2"/></dir><dir name="Fieldset"><file name="Info.php" hash="5ad648a3c67970d45f18b40df0a42df7"/></dir></dir></dir></dir><dir name="Catalog"><dir name="Product"><file name="Price.php" hash="15be72dbe2723bb2d72c6977abd4d8a7"/></dir></dir><dir name="KCO"><file name="Confirmation.php" hash="57515baadc5229ac55654913b88e6d28"/><file name="Info.php" hash="2af961abb2eb0609b84f8da5281332ad"/><file name="Newsletter.php" hash="8d02745a2c814101ae61b2bf00e8901e"/></dir><file name="KCO.php" hash="1abf22f4408a872572c1f8babed730d6"/><dir name="Widgets"><file name="Logo.php" hash="cddd29b3e350d1639db3808a83ad80e8"/><file name="Methods.php" hash="05cf4a02e055559dc591124bfd95d836"/></dir></dir><dir name="Helper"><file name="Api.php" hash="40f14b72afdcf758b97b564ebe27d0c6"/><file name="Data.php" hash="02b5da278c7859241f060425d3a8ecb7"/></dir><dir name="Model"><file name="Api.php" hash="2b554b389d97d15e890ad845463d8d01"/><file name="Config.php" hash="582de5bd8c3c21f344634197f0f3866e"/><file name="KCO.php" hash="f342cec50252eafdc55b730174e72fb7"/><file name="Newsletter.php" hash="9696df5adee53302fba4d614656350f2"/><file name="Observer.php" hash="468ce08f1c92895327c7f7236195643c"/><file name="Order.php" hash="28bd04f709d0f2b6f24045470900cd52"/><dir name="Source"><file name="AnalyticsType.php" hash="ad52d555ff3cd3cd18e760b2d7ac242a"/><file name="Countries.php" hash="0440b3ecc5528cf42dbb937eb7d9c0cb"/><file name="Kcolayout.php" hash="9ece6e53ebb4e39e3c1d4d534d71cb27"/><file name="Orderlocale.php" hash="a88769cf211991c70a0f51185bc53fb0"/><file name="Pplayout.php" hash="455484dbea2ff0770aa17e42851b81a6"/><file name="Ppwidget.php" hash="4e1de2ee86a2f5bf5100e211bc01b8f2"/><file name="Servermode.php" hash="df4420b3831b1a1e1ec04daa53711a4d"/><file name="Shippingmethods.php" hash="fecb931e29be4ae008c678cc1d760a02"/><file name="Taxclass.php" hash="c770ce5721c820c27895580e4d2de4b1"/></dir><file name="Validator.php" hash="cb8148baee0988c4a59eb6d9c5b1989d"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="KCOController.php" hash="f7c15ba5e99541a2e5d9693ad6325c7b"/></dir><file name="CartController.php" hash="891403418045004e6c047c0173dc7c6a"/><file name="KCOController.php" hash="37236dc0da3e3e67df45f97e43f702d6"/></dir><dir name="etc"><file name="config.xml" hash="6be0e596d4f8b068936054307ee9eb3b"/><file name="system.xml" hash="58be525b560516ddf049e48d157aee78"/><file name="widget.xml" hash="3dbffcaef836b334f5e7c1c675738275"/></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="KCO"><file name="info.phtml" hash="92048d26b2b4f751e4c83ddddab89448"/><dir name="system"><dir name="config"><dir name="field"><file name="pclass.phtml" hash="8566542d14d0dce48dc6aabaf5181007"/></dir><dir name="fieldset"><file name="info.phtml" hash="a7b2c13acb0f852c358a9852f51fdae6"/></dir></dir></dir></dir></dir><dir name="layout"><file name="KCO.xml" hash="4a9068eefb3de4a964cdf1e462832ebe"/></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="KCO"><file name="KCO.phtml" hash="c71d63a2599d086c0937cbd23426d20b"/><dir name="cart"><file name="crosssell.phtml" hash="e7f78cb99e14ab680b794524b8666812"/><file name="giftmessage.phtml" hash="4cb99583d6ce811a3a576a6e20ff0f99"/><dir name="item"><file name="default.phtml" hash="9190b3fad2f2ed57ea2ffbed2e1faa02"/></dir><file name="shipping.phtml" hash="b940c98adec4e3fd455ffc04094a1a4f"/></dir><file name="cart.phtml" hash="4d0d54548f1a20ed359f8e517767d233"/><file name="cart_twocolumns.phtml" hash="6e296c790b5c3a96cdb313ee4829b977"/><dir name="catalog"><dir name="product"><file name="price.phtml" hash="8f32fd038bed9521f6f576d736408ca9"/></dir></dir><file name="info.phtml" hash="a87d8ee70c92a10445fa864a63d042ba"/><file name="link.phtml" hash="d2c3dac8b2cde4b52854019e990b3b11"/><file name="newsletter.phtml" hash="87c3730ed525d3810a5df0a9180bf993"/><dir name="onepage"><file name="link.phtml" hash="a05ab2ebf5f0ed225c2f3967e2bceced"/></dir><dir name="widget"><file name="methods.phtml" hash="7415fafbd8f2acf134c4ac81c30f4bd4"/></dir></dir></dir><dir name="layout"><file name="KCO.xml" hash="519b9bd7c8018423aeb003a04897191f"/></dir></dir></dir></dir></target><target name="magelib"><dir name="Klarna"><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="c92501977a6fc642715045a49e29b50a"/><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="85a84a8eaeec830949551dfd98fe0236"/><file name="activateInvoice.php" hash="cfac2ed57d0c79679fb35ca723eaffab"/><file name="activatePart.php" hash="b46475c2d9f5b326ff2cd65586a1de6e"/><file name="activateReservation.php" hash="bd9b0e5717eaa32ebf6b5d31ad66e5d4"/><file name="addTransaction.php" hash="6426b7965de733bb17ddc7f74ee3949f"/><file name="calc_monthly_cost.php" hash="30e78c4d40db82643396f9289749a898"/><file name="cancelReservation.php" hash="ae8d00e19c671f6cfe8454a5bb590ab1"/><file name="changeReservation.php" hash="43d9486d29326a8c33a4fda466612149"/><file name="checkOrderStatus.php" hash="bef76f120b3e486790d78b50f4101701"/><file name="creditInvoice.php" hash="8edca171c9f7be2a3c15b23ff166048e"/><file name="creditPart.php" hash="5497b9307da7cccadbf4a6c0dc943876"/><file name="deleteInvoice.php" hash="6d2a6e53c64e7a1aacb79c775a46da5b"/><file name="emailInvoice.php" hash="764fbd5fab4f52dacd767a3f7ac17234"/><file name="fetchPClasses.php" hash="aac08dc4d9cfece6ac9e9a9c4e7b20cc"/><file name="getAddresses.php" hash="ebd79224ea702c92e99a407a53d42da0"/><file name="getPClasses.php" hash="8e444c98a7c63b82512af1f4ce35ac65"/><file name="invoiceAddress.php" hash="97475403b1db4264c0add60930380434"/><file name="invoiceAmount.php" hash="2f5dc326549b179cf99c27518b715e88"/><file name="invoicePartAmount.php" hash="87bf68e855bfdd4f6ba3547091104c97"/><file name="reserveAmount.php" hash="1a97ef5c39f5a2c6d97660504cbbfa10"/><file name="reserveOCR.php" hash="9349b5ea9807060cba4b5f3fcd14369f"/><file name="returnAmount.php" hash="02caca4d76b6d055d504023c770961a4"/><file name="sendInvoice.php" hash="9139eef562746840d09f9d9d5a465c21"/><file name="splitReservation.php" hash="0e09421de645d97c3b74485d51edacfd"/><file name="update.php" hash="3e3561165f4c6727731afe451b0f87d6"/><file name="updateChargeAmount.php" hash="34de26a7f6a089bdb18f67eae1f903c7"/><file name="updateGoodsQty.php" hash="e4f9ee36f56b47924ba35cda500cf13e"/><file name="updateOrderNo.php" hash="cdd594a386072f7bffbf05d2ecdcb9b7"/></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><dir name="KlarnaCheckout"><dir name="Checkout"><file name="BasicConnector.php" hash="e15b4e83aa79afa7c98dbbfb865d7a7a"/><file name="ConnectionErrorException.php" hash="e07a9ccb71869c98036b085b146171fa"/><file name="Connector.php" hash="5378924b60a858f14a41882a8c90c6bc"/><file name="ConnectorException.php" hash="b4304fc99da372305dc4ad40e849a4a9"/><file name="ConnectorInterface.php" hash="f7e0c91db42f54cc4a9858cc1ef47e1a"/><file name="Digest.php" hash="28bde4dc8443bbcc5ad7d04ea9d9c5eb"/><file name="Exception.php" hash="43b4516fe4fe5aa98e1f9b382f504ab7"/><dir name="HTTP"><file name="CURLFactory.php" hash="7fa2aecea60eaf467b1965d2335935d9"/><file name="CURLHandle.php" hash="0b7d459eec95a0f17f420d0493e828bc"/><file name="CURLHandleInterface.php" hash="ddcf0889e242f1f15e6df047386e8403"/><file name="CURLHeaders.php" hash="0807a7b2e579490e08576b4d30f1d1d8"/><file name="CURLTransport.php" hash="a50ed245e0246b6ecc27042bd457bb86"/><file name="Request.php" hash="d7718e7e503a8b4c355aff2b31d0c174"/><file name="Response.php" hash="6be76eb703d424b77e9ea1b37f4825f2"/><file name="Transport.php" hash="c8dd8f3560c310dc78b84bfa057419b5"/><file name="TransportInterface.php" hash="8395efa365907d216633370d79d5380b"/></dir><file name="Order.php" hash="29309d953e7b3b3ae411a6ee913410d9"/><file name="ResourceInterface.php" hash="93a56d28ccf5a29010fb33f15d53ae32"/><file name="UserAgent.php" hash="285d4f5c6d80c718cf545ac851467012"/></dir><file name="Checkout.php" hash="e28fbfb7516e27bb792d7b3fba8c8853"/></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="KCO"><file name="dropdown.png" hash="a408e177ff3130bdb4bb491935700df4"/><file name="kco.css" hash="293485490a353852b62c2ede827da28b"/><file name="klarna_simplifying.png" hash="280abffdadbbd0d372a8505c4c83a9e8"/><file name="loader.gif" hash="5e51d58f5d9bd09ab814d9ca9347d3b9"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Avenla_KlarnaCheckout.xml" hash="22b47fd5cc2c12370457a51ffff752d6"/></dir></target><target name="magelocale"><dir name="fi_FI"><file name="Avenla_KlarnaCheckout.csv" hash="686c17ac49097e2db47ac73303e63237"/></dir></target></contents>
|
21 |
<compatible/>
|
22 |
<dependencies><required><php><min>5.2.16</min><max>6.0.0</max></php></required></dependencies>
|
23 |
</package>
|