Opencart api issue because of different ip

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?

Have you tried ensuring you are restoring the visitor IP on your origin?

Restoring original visitor IPs · Cloudflare Support docs.

1 Like

Hi,

thanks for the reply. I am using CentOS v7.9.2009 with cpanel 110.0.7 version

will i face any issue while installing the modules which are mentioned in the link which you shared?

i am hosting multiple domains on that server. what will be the downtime because of this?

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.