Post by sysiz » Sun May 05, 2013 1:37 am

Hi

Having a problem with Klarna fee (order total), does not seems to work as intended. Fee is not coming visible to checkout page, another fees works just fine.

Haven't find any know issue about the matter so far. I'm using OC 1.5.5.1.

Does Klarna fee work for somebody?

Br
Sysiz
Last edited by sysiz on Tue May 07, 2013 2:51 am, edited 1 time in total.

Newbie

Posts

Joined
Tue Oct 09, 2012 1:48 am

Post by butte » Sun May 05, 2013 8:34 am

Is the code, itself, driving that still in English?

If you have a language (or other) extension, try asking its author about it.

Guru Member

Posts

Joined
Wed Mar 20, 2013 6:58 am

Post by Daniel » Mon May 06, 2013 12:14 am

the fee is dependent if it klarna invoice and not fee

} elseif (!isset($this->session->data['payment_method']['code']) || $this->session->data['payment_method']['code'] != 'klarna_invoice') {

OpenCart®
Project Owner & Developer.


User avatar
Administrator

Posts

Joined
Fri Nov 03, 2006 6:57 pm

Post by sysiz » Mon May 06, 2013 11:58 pm

Hi

Found the cause most likely. Originates from checkout extensions I use (simple checkout):

klarna_fee.php:

Code: Select all

if (isset($this->session->data['payment_address_id'])) {
			$this->load->model('account/address');
			
			$address = $this->model_account_address->getAddress($this->session->data['payment_address_id']);
		} elseif (isset($this->session->data['guest']['payment'])) {
			$address = $this->session->data['guest']['payment'];
		}
$address is always null after the code, so the address is not properly set by the checkout extension.

Newbie

Posts

Joined
Tue Oct 09, 2012 1:48 am

Post by kyrre » Fri Aug 02, 2013 12:37 am

Hi guys

I know it's a long time since this post was opened. However I have an issue with Klarna Fee core module now. It's not adding the fee to the order.

Did you find a solution to the error?

I'm running OC 1.5.6.

Kind regards
Kyrre
http://www.ledstrips.no


New member

Posts

Joined
Mon Jul 16, 2012 10:20 pm
Who is online

Users browsing this forum: No registered users and 6 guests