Search code examples
opencart2.x

API issue when editing order in opencart admin


Afternoon all,

I've got an issue when trying to change the status of an order (from pending to complete etc...) in the admin section.

A warning appears saying Warning: You do not have permission to access the API! if i have add my IP to the API IP address section it's working fine the fields are all in red and the continue button doesn't work.

A similar thing happens if I view an order instead and try to add a new status to the order history.

I've seen this problem mentioned a few times in other posts but, afaik, without any satisfactory answer.

I'm using Opencart 2.0.3.1 and I'm logged in as an administrator and the administrator user group has all Access and Modify permissions enabled.

There is the default API user set up in System > Users > API and I also added (and then removed) another one but I was not sure what to do once I had created a new API user with a username and generated password. There are no other problems on the site but, despite trying just about all the suggestions in the other forum posts, I can't edit the existing orders from the admin section.


Solution

  • Check this page out with a list of fixes for this issue: http://www.randemsystems.com/support/opencart/api-problems-what-you-need-to-know/msg6218/#msg6218

    As far as I know, this issue is resolved in OC v2.1x onwards