FraudNet configuration parameters

DocsLast updated: June 20th 2023, @ 1:10:39 pm


Configuration parameters

Add the following parameters as need to your parameter block:

IdentifierNameDescriptionConstraintsRequired?
fFraudNet Session IdentifierThe integration developer provides the identifier. It must be unique and random to the current transaction (or session) that FraudNet is monitoring. It must be unique and random each time the webpage is loaded. During the transaction, the session identifier must be passed to the PayPal Server via the REST API header PAYPAL-CLIENT-METADATA-ID.Maximum length: 32 charactersYes
sSource Website IdentifierThis string identifies the source website of the FraudNet request. Work with your PayPal representative to obtain the source website identifier for your web page. Each web page you integrate with FraudNet must have a different source identifier. Recommended format is <MERCHANT_NAME_FLOW_NAME> or <MERCHANT_NAME_PAGE_NAME>. Examples: PAYPAL_LOGIN_USERNAME, PAYPAL_LOGIN_PASSWORD, and so on.Maximum length: 32 charactersYes
cb1Callback functionThe callback function called on completion of FraudNet p1 (POST 1) execution.String (a function name defined on the page)No
cb2Callback functionA callback function called on completion of FraudNet p2 (POST 2) execution.String (a function name defined on the page)No
fpFirst Party CookieThe first-party cookie from the merchant that is passed to FraudNet.Maximum length: 32 charactersNo
mmEnable mouse movementEnables mouse movement collection.Boolean, Default: trueNo
tsEnable & Config Typing SpeedEnables and configures typing speed collection, specifying the flow and fields (one or multiple) that the client wants monitored. The fields are the IDs of the html elements. See the Typing Speed Configuration section below.ObjectNo
bBeacon URLA custom URL for the Beacon endpoint.Do not set this value unless you have a specific use case for it.String
cdCache FraudNet DataCaches the FraudNet payload for a certain amount of time to prevent re-submission of same payloads. Do not set this value unless you have a specific use case for it.Boolean, Default: falseNo
sandboxSandboxEnables or disables sandbox environment.Boolean, Default: falseNo

Typing speed parameters

Configure FraudNet to capture typing speed data in order to detect bot data entry.

ParameterDetailsRequired?
TypeStringRequired
FieldsArray of stringsRequired
MinNumber. The length of characters for the last field. Defaults to 8Optional
DelegateBoolean. If set to true, then the Typing Speed event listeners will be delegated. If set to false, then the Typing Speed event listeners will be attached to each field. Defaults to false. If you aren't sure what value this should be set to, please reach out to us.Optional

Typing speed example:

{
  "type": "UL",
  "fields": ["email", "password"]

  // OPTIONAL CONFIG
  "min": 8
  "delegate": false
}