Showing results for 
Search instead for 
Did you mean: 

Capturing IPs with Hosted Payments

Previously, when using the DIRECT API to process CCs, the IP address of the transaction was saved. Now that we are using the HOSTED solution, this information is not. Why? The IFRAME should retain the customer's browsers IP, and should store it. Without this, we are unable to use much of the advanced fraud protection features.

Please see here: On this page, under "Request Field Description" for the "GetHostedPaymentPageRequest", there are no options to input the Customer IP.


The only option for adding in a Customer IP seems to be under the "createTransactionRequest" (, which is not used for the Hosted Payment Page, but for direct order processing through the server. How and why is there not an option to pass the Customer IP through the Hosted Payment Page Request or any of the Customer Profile requests, either?


The IP address is captured by the hosted page. You can store the IP on your side as well. It is possible to pass it in the API call for later retrieval, just not under IP address. Just pick any field you don’t use in the API call.
All Star

The need is for AUTHORIZE.NET to store this IP address so we can then use the Advance Fraud Filters which allows us to NOT authorize transactions for certain countries.  Currently, the CUSTOMER IP addresses for all such HOSTED SOLUTION transactions are "" (which is the IP for when view the unsettled or settled transaction history.


Previously, when we used the API to authorize cards on our own website, the customer ip address reflected the IP address of the actual customer.  It no longer does.

whoopsie. I think you are right. I have never examined the returned IP addresses but I do believe they are all the same now that you mention it.