Antifraud

Antifraud solutions can be activated to be used as optional to help you to better protect your events and event producers.

We highly recommend the applications that are using Ingresse as a payment service for their tickets to integrate with our antifraud solutions. Once activated, it is possible to use it just sending a group of additional information and integrating a widget in your browser and mobile solution.

Integration

1. Integrating With External Information

Within the same payment method POST body, you need to add the attribute antifraudData as in the post body example demonstrate.

With those information, we will be able to proceed with antifraud analysis.

2. Including Browser Widget

It is mandatory to include a browser widget in order to better collect data from user behaviour and help us to better identify the customer identify.

There are 4 to dos in order to get it working:

  1. Add the script at the page header.
  2. Add two hidden input fields with name and id as ingeppm and ingeprefs2.
  3. Create a javascript method to get the device fingerprint (ex.: pay() method).
<script src="https://cdn.ingresse.com/prefs/6.8.0/ingeprefs.js"></script>

<form>
  <input type="hidden" name="ingeppm" id="ingeppm">
  <input type="hidden" name="ingeprefs2" id="ingeprefs2">
</form>

<button onClick="pay()">Pay</button>

In your page you must include the javascript code below:

  1. Add the method ingens.ingeinit(); into the on load page function.
  2. Call ingens.ingepcf('ingeppm'); before sending the data to payment method.
  3. Add both collector and deviceCollector information from hidden inputs added into the html page.
  4. Send collector and device collector into the JSON body for payment method.
// On page load initiate the device collector
window.onload = function () {
  ingens.ingeinit();
};

// Method to getter data and send 
// to the backend in a HTTP request
function pay() {
  // Generate the collector
  ingens.ingepcf('ingeppm');
  
  var collector = document.getElementById('ingeppm').value;
  var deviceCollector = document.getElementById('ingeprefs2').value;

  console.log(collector);
  console.log(deviceCollector);
}

3. Including App Widget

If you have native mobile applications, please, add into your application the native SDK for our antifraud collector.

For details about how to add the Native mobile widget into your mobile application, please, get in contact with our integration support.