PayPalDataCollector
Enables you to collect data about a customer's device and correlate it with a session identifier on your server.
Functions
Use to collects device data at the time of payment. Once a user initiates a payment from their device, PayPal uses the Client Metadata ID to verify that the payment is originating from a valid, user-consented device and application. This helps reduce fraud and decrease declines. This method MUST be called prior to initiating a pre-consented payment (a "future payment") from a mobile device. Pass the result to your server, to include in the payment request sent to PayPal. Do not otherwise cache or store this value.
Collects device data at the time of payment activity. Once a user initiates a payment from their device, PayPal uses the Client Metadata ID to verify that the payment is originating from a valid, user-consented device and application. This helps reduce fraud and decrease declines. This method MUST be called prior to initiating a pre-consented payment (a "future payment") from a mobile device. Pass the result to your server, to include in the payment request sent to PayPal. Do not otherwise cache or store this value.