Fraud (4.10.3)
Learn all about Fraud using Recurly.js version 4.10.3.
Fraud
Recurly.js provides a fraud protection suite with support for our Fraud Management toolkit, Kount integration, and Braintree gateway integration.
With fraud protection enabled, tokens created with Recurly.js will include device data we use to analyze fraud risk and flag subsequent transactions accordingly. Configuration is simple.
Configuring fraud protection
Once you have enabled fraud protection on your site, modify your Recurly.js configuration call according to your fraud protection setup.
Recurly fraud management and Kount integration
Recurly.js will handle all device data collection when configured as follows.
recurly.configure({
// ...
fraud: {
kount: { dataCollector: true }
}
// ..
});
This will enable device data collection and automatically apply it to your tokens.
Braintree gateway fraud integration
First, you will need to collect device data using the Braintree JavaScript client. This is required by Braintree.
// Collect device data using braintree client
// ...
var deviceData = braintreeInstance.deviceData;
recurly.configure({
// ...
fraud: {
braintree: { deviceData: deviceData }
}
// ..
});
This will apply Braintree fraud data to your tokens generated by Recurly.js. Transactions created with those tokens will pass the fraud data to Braintree for fraud analysis.
Updated 11 days ago