cancel
Showing results for 
Search instead for 
Did you mean: 

Customer IP

How to can i check my customers IP address? In transaction detail, under Authorization Information, in Customer IP field. It only shows my websites IP address where the transaction occurs. 

 

malphas0013
Member
11 REPLIES 11
@malphas0013

What language is your app written in? You can get the IP from your server. You can pass to auth.net and retrieve it later. You can also just capture it and store it in a db. What is your use case for this? If for security, I would capture it and log it at the time the pay button was clicked.

I am almost certain, back to your original question, that every server side programming language has a method to capture the IP address. In php it is $_SERVER[‘REMOTE_ADDR’]. That global variable is the users IP address.
Renaissance
All Star

Is there a PHP method using the API? Non referenced in the documentation. 

 

JSON is "customerIP": "192.168.1.1",

Could PHP be  $customerData->setCustomerIP("192.1.1.1"); ?