The real IP address of the customer is not sent to Ingenico. Instead, an internal IP address from the shop server environment is sent (e.g. 127.0.0.1).
This can happen if the shop is located in the AWS, behind a load balancer or a reverse proxy.
It is not an issue in the Ingenico plugin. The reason for this problem is an incorrect configuration of Magento.
To get the customer IP address, Magento 1 can be configured through its "app/etc/local.xml" as follows:
<remote_addr_headers><!-- list headers that contain real client IP if webserver is behind a reverse proxy --> <header1>HTTP_CF_CONNECTING_IP</header1> <header2>HTTP_X_FORWARDED_FOR</header2> </remote_addr_headers>
This is also explained in this tutorial: Magento - Show remote IP in Cloudflare the right way.