We want to ensure that the other SolidusBraintree payment options are tracking the device data so that the feature would be consistent across all SolidusBraintree payment options.
Requirement
Given we have Premium Fraud Tools enabled on our Braintree account
And there is a user checking out an item
When the user checks out the item using PayPal Checkout with Vault
Then SolidusBraintree should collect the user's device data and send it to Braintree
And Braintree should confirm that the device data has been captured, that is, it should include a risk data section in its transaction response, like this:
Goal
We want to ensure that the other SolidusBraintree payment options are tracking the device data so that the feature would be consistent across all SolidusBraintree payment options.
Requirement
Given we have Premium Fraud Tools enabled on our Braintree account And there is a user checking out an item When the user checks out the item using PayPal Checkout with Vault Then SolidusBraintree should collect the user's device data and send it to Braintree And Braintree should confirm that the device data has been captured, that is, it should include a risk data section in its transaction response, like this:
Background
We added device data collection in https://github.com/solidusio/solidus_braintree/pull/116 but it seems we only implemented it for the hosted form.
PayPal documentation