Opencart api issue on admin status change

Hi,

I am using cloudflare with my website which is a opencart 3.0.3.8. 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?