Page 1 of 1

Cannot activate/enable payment modules with API

Posted: Mon Nov 06, 2017 5:45 pm
by fadichmn
Hello,

I am trying to enable Payment module "Klarna Checkout", it uses API for sure. I checked the logs when I tried to activate it and it says:

Code: Select all

2017-11-06 9:31:39 - PHP Notice:  Trying to get property of non-object in /home/admin/domains/gameffect.se/public_html/butik/catalog/controller/startup/session.php on line 10
2017-11-06 9:31:39 - PHP Notice:  Undefined index: username in /home/admin/domains/gameffect.se/public_html/butik/catalog/controller/api/login.php on line 11
I tried with other Payment modules that uses API and I still get the same issue. Is there any fix or trick for this?

Re: Cannot activate/enable payment modules with API

Posted: Tue Nov 14, 2017 4:19 am
by straightlight
The username field is missing from your oc_api database table. You probably migrated from a prior version of Opencart but did not upgraded the database tables and fields for the current version of Opencart you didn't provided on your last post.