DataCollector

DataCollector

This class is used for advanced fraud integration with PayPal and Kount. Instances of this class have deviceData which is used to correlate user sessions with server transactions. Before using DataCollector, make sure you have enabled advanced fraud protection in the Braintree gateway. To use your own Kount ID, contact our support team (support@braintreepayments.com or 877.434.2894).

Constructor

new DataCollector()

Do not use this constructor directly. Use braintree-web.data-collector.create instead.

Source:

Members

deviceData :string

JSON string to pass with server transactions.

Source:

Methods

teardown(callbackopt) → {void}

Cleanly remove all event handlers and DOM nodes that were added.

Parameters:
Name Type Attributes Description
callback callback <optional>

Called once teardown is complete. No data is returned if teardown completes successfully.

Source: