Page 1 of 1

OC v3.0.2.0 API login for adding / editing orders.

Posted: Thu Sep 28, 2017 9:57 pm
by straightlight
Opencart v3.0.2.0 odd issue encountered from catalog/controller/api/login.php file.


Code: Select all

$session = new Session($config->get('session_engine'), $registry);

Code: Select all

$session = new Session($this->config->get('session_engine'), $this->registry);
to resolve the API sessions when adding or editing the orders and also to avoid possible JSON error messages.