braintree-web/data-collector

Members

(static) VERSION :string

The current version of the SDK, i.e. 3.33.0.

Source:

Methods

(static) create(options, callbackopt) → {Promise|void}

Creates a DataCollector instance. Requires advanced fraud protection to be enabled in the Braintree gateway. Contact our support team to configure your Kount ID.

Parameters:
Name Type Attributes Description
options object

Creation options:

Properties
Name Type Attributes Description
client Client

A Client instance.

kount boolean <optional>

If true, Kount fraud data collection is enabled.

Note: the data sent to Kount is asynchronous and may not have completed by the time the data collector create call is complete. In most cases, this will not matter, but if you create the data collector instance and immediately navigate away from the page, the device information may fail to be sent to Kount.

paypal boolean <optional>

If true, PayPal fraud data collection is enabled.

callback callback <optional>

The second argument, data, is the DataCollector instance.

Source: