OC v3.0.2.0 API login for adding / editing orders.
Posted: Thu Sep 28, 2017 9:57 pm
Opencart v3.0.2.0 odd issue encountered from catalog/controller/api/login.php file.
Replace:
with:
to resolve the API sessions when adding or editing the orders and also to avoid possible JSON error messages.
Replace:
Code: Select all
$session = new Session($config->get('session_engine'), $registry);
Code: Select all
$session = new Session($this->config->get('session_engine'), $this->registry);