Quantcast
Channel: Codemiles.com Programming Forums - All Topics
Viewing all articles
Browse latest Browse all 36

Credit Card Fraud Prevention Using .NET Framework in C#

$
0
0
One of the steps for merchant in order to prevent fraud is to check if the customer's IP address is same as what his or her billing address. In short, to check if the transaction is being requested by the real cardholder.

If you are looking for the C# sample code for IP address - billing country checking, see below.

Code:  Using IP2Location;
private void Query(string strIPAddress, string billingCountry)
{
  IPResult oIPResult = new IP2Location.IPResult();
  try
  {
    if (strIPAddress != "")

...

Statistics : Posted by hexahow • on Tue Apr 12, 2016 7:22 pm • Replies 0 • Views 4

Viewing all articles
Browse latest Browse all 36

Trending Articles