Fingerprint iOS
1. Add the SDK to your project
Download the iOS SDK
Then, add the SDK to your project.
2. Import the libraries and dependencies
Add the following libraries and dependencies to your project:
RLTMXProfiling-8.0-107
RLTMXProfilingConnections-8.0-107
RLTMXBehavioSec-8.0-107
3. Configure the SDK parameters
Configure the SDK with the following parameters:
self.profile.configure(configData:\[
RLTMXOrgID : "OrgID",
For the "OrgID" value, provide the value corresponding to the environment in Threatmetrix:
- Sandbox: "1snn5n9w";
- Production: "k8vif92e".
RLTMXProfileTimeout : self.profileTimeout,
RLTMXLocationServices : true,
RLTMXProfilingConnectionsInstance : profilingConnections,
])
4. Create the session identification variable
The ProviderMerchantId value must be concatenated with the ProviderIdentifier variable (defined by the e-commerce) to create the session identification (MyVariable).
MyVariable = ProviderMerchantId + ProviderIdentifier
Example:
MyVariable = braspag_XXXX + ProviderIdentifier
self.profile.sessionID = @"MyVariable"
In the fraud analysis request, send only theProviderIdentifiervalue in theCustomer.BrowserFingerprintfield.Example: if the
ProviderIdentifiergenerated by your e-commerce is "202201080949", send the value "202201080949" in theCustomer.BrowserFingerprintfield.
5. Implement Profiling
Add the ProfileRequest() function to your application and specify the following options:
let profileHandle: RLTMXProfileHandle =
self.profile.profileDevice(profileOptions:\[RLTMXCustomAttributes: \[],
RLTMXSessionID: [MyVariable], callbackBlock:{(result: [AnyHashable : Any]?) -> Void in
Updated 19 days ago
Did this page help you?
