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.
12-31-2018 07:41 AM
If it is a web server you can probably get it from CGI variables of the webserver.
12-31-2018 09:44 AM
So how to make it appear as my customers IP address?
12-31-2018 01:02 PM
<transactionRequest><customerIP> if using the API.
12-31-2018 03:49 PM
how to do that? I'm sorry i'm new to this
01-02-2019 01:18 PM
That is hard to say. It depends if you are wrinting your own code using one of Auth.net's sdks or a plugin for some package and if it is using API, AIM or whatever.
If it is a plugin, you need to contact the person who wrote it.
If writing your own, see the API Payment examples and sample code. The first Auth example has it in there.
01-02-2019 02:59 PM
@Michael267iptv wrote:
How to can i check my customers apk IP address?
- Open Windows Start menu.
- Select Run. Type: command and click OK.
- At the blinking cursor, type: ipconfig /all and press Enter.
- Look for these entries near the end of the list: - Dhcp Enabled. ...
- To exit, at the blinking cursor, type: exit and press Enter.
Thanks for the updates on this thread. Helpful
07-23-2019 05:47 AM
You can send your customer's IP address along with the createTransactionRequest request, in the customerIP element of your XML or JSON object.
One way to get the IP address in C# is the following:
public string GetIPAddress() { string IPAddress = ""; System.Net.IPHostEntry Host = default(System.Net.IPHostEntry); string Hostname = null; Hostname = System.Environment.MachineName; Host = System.Net.Dns.GetHostEntry(Hostname); foreach (System.Net.IPAddress IP in Host.AddressList) { if (IP.AddressFamily == System.Net.Sockets.AddressFamily.InterNetwork) { IPAddress = Convert.ToString(IP); } } return IPAddress; }
07-23-2019 02:49 PM
Just contact the owner of the plugin for more details he would surely help you without any concerns.
If you own the code then check the sample codes here & let us know wht you think.
03-04-2020 04:13 AM
I am pretty sure this code here did work for me once.
public string GetIPAddress() { string IPAddress = ""; System.Net.IPHostEntry Host = default(System.Net.IPHostEntry); string Hostname = null; Hostname = System.Environment.MachineName; Host = System.Net.Dns.GetHostEntry(Hostname); foreach (System.Net.IPAddress IP in Host.AddressList) { if (IP.AddressFamily == System.Net.Sockets.AddressFamily.InterNetwork) { IPAddress = Convert.ToString(IP); } } return IPAddress; }
03-10-2020 01:05 PM - edited 03-10-2020 01:14 PM