Opencart api issue on admin status change


I am using cloudflare with my website which is a opencart i am facing some issue on admin end. when admin try to change the order status, i am getting an error that i don’t have permission to change. But i am an administrator on opencart with full permission.

when i go though the code, i found that opencart checking the session id with ip address. but request ip address is changing for each request because of cloudflare. so that condition is failing each time.

any one having an solution for this?