There seems to be some issues with Klarna Invoice in VM 2.6.
First of all it's not possible to place a order, get this error message, even if the details surely are correct in config:
QuotevmError: Config field 'eid, secret' is not valid! #50003
Further, having debug active there is several notices listed:
QuoteNotice: Undefined index: title in ../plugins/vmpayment/klarna/klarna/helpers/klarnahandler.php on line 1414
Notice: Undefined index: virtuemart_country_id in ../plugins/vmpayment/klarna/klarna/helpers/klarnahandler.php on line 1426
Notice: Undefined index: virtuemart_country_id in ../plugins/vmpayment/klarna/klarna.php on line 1626
Notice: Undefined property: TablePaymentmethods::$klarna_merchantid_ in ../plugins/vmpayment/klarna/klarna/helpers/klarnahandler.php on line 1100
Notice: Undefined property: TablePaymentmethods::$klarna_merchantid_ in ../plugins/vmpayment/klarna/klarna/helpers/klarnahandler.php on line 1100
Notice: Undefined property: TablePaymentmethods::$klarna_merchantid_ in ../plugins/vmpayment/klarna/klarna/helpers/klarnahandler.php on line 1100
And then there is the missing Klarna logo in cart.
Any ideas?
Hello
QuoteFirst of all it's not possible to place a order, get this error message, even if the details surely are correct in config:
Quote
vmError: Config field 'eid, secret' is not valid! #50003
This is the most important. Are you sure you have set the correct eid and secret?
Because if this is not correct, then it cannot work.
Quote from: rued on April 30, 2014, 18:19:00 PM
First of all it's not possible to place a order, get this error message, even if the details surely are correct in config:
...
Yes :)
But what does #50003 mean? I don't find any ref for it.
Hello
Quote#50003
It is the error code returned by klarna. BUt i could not find what it means exactly http://developers.klarna.com/en/troubleshooting/xmlrpc-errors
Seems like it's from the modules api, in Exeptions.php
public function __construct($field)
{
parent::__construct("Config field '{$field}' is not valid!", 50003);
}
When using BETA server and my test account on a test site, at a different server I got error #9120
Wondering if it can be related to that country_id notice then?
Hello
i think so, since that error is invalid_country http://developers.klarna.com/en/troubleshooting/xmlrpc-errors
What are your settings in the Klarna configuration, and in your shop configuration?
Norway.
Do you have a working installation of 2.6 with Klarna Invoice and Checkout, and have tested it with other than Swedish accounts?
Hello
Yes we (me and the Klarna team) have tested all the possible configurations.
To check your issue, please tell me what is your shop country, and which countries are enabled in the payment config.
I will try your configuration on my test website.