go to system -> users -> API and make sure the default is enabled and save it.
go to system -> settings -> options and scroll down to Checkout and make sure that the API User is set to Default from the dropdown list and save it.
when you get the warning click on add IP.
that's it enjoy...
Has anyone actually got this to work?
I have obtained a token ok using an API call but when i try and get Orders i get the permission problem (You do not have permission to access the API!).
I am using a third party website to connect to a fresh Opencart 2.3.0.2 installation.
It is something to do with the session, tbh i am fed up with having to debug code from an established script, SSL doesnt work correctly, API doesnt work, i have spent hours on this..
I have obtained a token ok using an API call but when i try and get Orders i get the permission problem (You do not have permission to access the API!).
I am using a third party website to connect to a fresh Opencart 2.3.0.2 installation.
It is something to do with the session, tbh i am fed up with having to debug code from an established script, SSL doesnt work correctly, API doesnt work, i have spent hours on this..
Disable API checks or redefine api_I'd session variable in api/login.php file. In OC 2.3 API sessions are broken, it's a well known issue.
Professional OpenCart extensions, support and custom work.
Contact me via email or Skype by support@thekrotek.com
Who is online
Users browsing this forum: No registered users and 190 guests