VirtueMart Forum

VirtueMart 2 + 3 + 4 => Plugins: Payment, Shipment and others => Topic started by: kriss-ns on June 23, 2014, 09:04:53 AM

Title: Klarna faktura - choose type Private person / Company not working
Post by: kriss-ns on June 23, 2014, 09:04:53 AM
Hi,

I have a problem with Klarna plugin, when company (radio box) is selected the "Personal number, First and Last Name" should be replaced with Organization number and company name. But this is not the case. And as shown on the screenshot, the person checkbox stays checked.

I got complaints from customer that that this is not the way the plugin should work.

Joomla 2.5
Virtuemart 2.6.0a and 2.6.6

I commented out the template override directory "cart", no changes.

Is this the intended behaviour?

[attachment cleanup by admin]
Title: Re: Klarna faktura - choose type Private person / Company not working
Post by: Rune Rasmussen on October 22, 2014, 13:53:40 PM
We can confirm this issue, and add that it's also tested in latest versions with default template and settings.

Not impressed to see that none from the team has followed up on this yet.
Title: Re: Klarna faktura - choose type Private person / Company not working
Post by: alatak on October 22, 2014, 17:53:30 PM
Hello
i have fixed this issue.
There will be a release tomorrow.
Title: Re: Klarna faktura - choose type Private person / Company not working
Post by: Rune Rasmussen on October 22, 2014, 18:05:36 PM
OK, great - thanks. :)
Title: Re: Klarna faktura - choose type Private person / Company not working
Post by: Folk on February 09, 2015, 14:28:44 PM
Hi,

We are using joomla 2.5.28 and Virtuemart 2.6.14.

In the step choosing private person or company when I fill in the form and save the debug shows the data in an array including the company name.
In the next step when pressing comfirm order it loops back to choosing private person or company name and so on.

Then Klarna support tells us that they don't get the company name.

Any help would be appreciated. :)
Title: Re: Klarna faktura - choose type Private person / Company not working
Post by: Folk on March 08, 2015, 20:51:57 PM
We got some help from Klarna to the first issue above, and it is solved.

But there is still a problem concerning the form.

In the Swedish language when clicking radio button for Company  "Företag" it shows the filed title for personal security number instead of the corporate registration number.

Is this something that the Virtuemart Team are able to change or is it to Klarna to do it? Will this be changed / overwritten when we update thru the VM All-In-One

Title: Re: Klarna faktura - choose type Private person / Company not working
Post by: alatak on March 10, 2015, 19:46:09 PM
Hello
QuoteWe got some help from Klarna to the first issue above, and it is solved.
how it has been solved ?

QuoteIn the Swedish language when clicking radio button for Company  "Företag" it shows the filed title for personal security number instead of the corporate registration number.
ok, i will check that

QuoteIs this something that the Virtuemart Team are able to change or is it to Klarna to do it?
it is the VM team. i will have a look
Title: Re: Klarna faktura - choose type Private person / Company not working
Post by: Folk on March 11, 2015, 09:06:21 AM
1/ Klarna did changes in the file klarnahandler.php. They changed how the module handles when there is a purchase from a company.  I will send you the file that Klarna have changed.

2/ I found in the payment_form.php that the same "social number" is used for both personal and corporate - and it works in the Klarna Merchant back-end so I do not have to change that. Now it works for my purpose = only for Companies.

I will only use the possibility to Companies and Organisations to buy on my site, so I took out the Private part in lines 189-92 in my file - payment_form.php - and set the Company button to not be hidden end to be active.

3/ Where to change the titel of the first form field "Företag namn" - Company name? It should be "Företagsnamn"

4/ I understand when talking to Klarna that the Klarna payment soon will be incorporated in Klarna checkout, maybe in the beginning of the summer (Q2).

Title: Re: Klarna faktura - choose type Private person / Company not working
Post by: alatak on March 11, 2015, 19:21:45 PM
hello
ok, i will have a look.