Skip to content
This repository has been archived by the owner on Apr 14, 2023. It is now read-only.

Make use of data collector in JS configurable #238

Merged
merged 3 commits into from
Sep 21, 2021

Conversation

mamhoff
Copy link
Contributor

@mamhoff mamhoff commented Sep 25, 2019

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.

Copy link
Member

@tvdeyen tvdeyen left a 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?

@mamhoff
Copy link
Contributor Author

mamhoff commented Sep 27, 2019

What about we go ahead with this for now and create the configuration object once #236 is merged?

@mamhoff mamhoff force-pushed the make-data-collection-configurable branch from 575a014 to db900cf Compare September 28, 2019 10:47
@tvdeyen
Copy link
Member

tvdeyen commented Oct 9, 2019

@mamhoff agree. #236 has now been merged.

@kennyadsl
Copy link
Member

Hey @mamhoff, I think this needs to be revisited after #236, right?

@seand7565
Copy link
Contributor

Hey @mamhoff - would you have time to update this PR? I know it's a year too late, but I'd like to have this merged in (minus the style stuff which was handled in #236) If not just let me know and I'll update this and create a new PR. Thanks!

@mamhoff
Copy link
Contributor Author

mamhoff commented Nov 11, 2020

@seand7565 I think this does the trick - sorry I took a bit longer :)

Copy link
Contributor

@seand7565 seand7565 left a 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.

@mamhoff
Copy link
Contributor Author

mamhoff commented Nov 12, 2020

@seand7565 Added the documentation!

Copy link
Contributor

@seand7565 seand7565 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, thanks!

@kennyadsl
Copy link
Member

@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.
@mamhoff mamhoff force-pushed the make-data-collection-configurable branch from 4a0ad55 to f29f79c Compare September 20, 2021 10:03
Copy link
Member

@tvdeyen tvdeyen left a 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.

@kennyadsl kennyadsl merged commit 819bd34 into solidusio:master Sep 21, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants