-
-
Notifications
You must be signed in to change notification settings - Fork 76
Make use of data collector in JS configurable #238
Make use of data collector in JS configurable #238
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice. Maybe we could introduce a SolidusPaypalBraintree::PaypalOptions
object for easier testing?
What about we go ahead with this for now and create the configuration object once #236 is merged? |
575a014
to
db900cf
Compare
db900cf
to
f0c5da6
Compare
@seand7565 I think this does the trick - sorry I took a bit longer :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks great, thanks! Just one thing - can you add something to the README about this option? Maybe under the PayPal section, something like:
For fraud prevention, PayPal recommends using a data collector to collect device information, which we've included. You're able to turn off the PayPal data collector on the payment method options if you desire.
@seand7565 Added the documentation! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great, thanks!
@mamhoff can you please rebase now that we have specs running against 3.0 as well? Thanks! |
Some stores do not want or need to do invasive fraud protection. For these, it should be possible to turn data collection off without overwriting partials.
This adds a bit of documentation about the Paypal Data Collector preference.
4a0ad55
to
f29f79c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now that Kount and braintree do not work together anymore this will most likely need to change soon. but for now this is ok.
Some stores do not want or need to do invasive fraud protection. For
these, it should be possible to turn data collection off without
overwriting partials.