Showing results for 
Search instead for 
Did you mean: 

Sending X-Forwarded-For header from Magento?

We are using Magento, latest patches.  We're using the payment method. Our Magento servers are behind a load balancer.  All customers hitting our servers appear to be coming from the same IP address, the IP address of the load balancer.  We can pull the real customer IP address from the X-Forwarded-For header.  We use this to pull the customer IP address and add it to our invoices.  


When we've run some test orders we can see the real IP address coming in from the Internet useing the X-Forwarded-For header, but the IP address reports is the IP address of our load balancer.  


We plan on using the AFDS to help prevent fraud but we need to pass the customer's real IP address to Authorize. Anyone know what we need to do to pass the X-Forwarded-For header as the customer's IP address to


There a customerIP fields for customer ip address