Closed gsmendoza closed 1 year ago
We want to add device data collection because PayPal recommends that all customer-initiated transactions include device data. Device data increases the accuracy of their available Premium Fraud Management Tools in determining when a transaction is fraudulent. See https://developer.paypal.com/braintree/docs/guides/premium-fraud-management-tools/device-data-collection.
@SyborgStudios contributed the initial PR. See https://github.com/solidusio/solidus_braintree/pull/103.
IS_FRONTEND
hosted_form.js
<script src="https://js.braintreegateway.com/web/3.91.0/js/client.min.js"></script>
<script src="https://js.braintreegateway.com/web/3.91.0/js/data-collector.min.js"></script>
Goal
We want to add device data collection because PayPal recommends that all customer-initiated transactions include device data. Device data increases the accuracy of their available Premium Fraud Management Tools in determining when a transaction is fraudulent. See https://developer.paypal.com/braintree/docs/guides/premium-fraud-management-tools/device-data-collection.
Background
@SyborgStudios contributed the initial PR. See https://github.com/solidusio/solidus_braintree/pull/103.
Tasks
IS_FRONTEND
since we now have separatehosted_form.js
files for frontend and backend.<script src="https://js.braintreegateway.com/web/3.91.0/js/client.min.js"></script>
<script src="https://js.braintreegateway.com/web/3.91.0/js/data-collector.min.js"></script>