-
-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add device data collection #116
Conversation
@@ -7,6 +7,7 @@ SolidusBraintree.HostedForm.prototype.initialize = function() { | |||
this.client = SolidusBraintree.createClient({ | |||
paymentMethodId: this.paymentMethodId, | |||
useThreeDSecure: (typeof(window.threeDSecureOptions) !== 'undefined'), | |||
useDataCollector: true, |
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.
@SyborgStudios I removed the IS_FRONTEND
const since we now have separate hosted_form
JS files for frontend and backend.
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.
Awesome. I was not happy with it anyways.
@SyborgStudios I made the following minor changes to your PR:
Can you review? |
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.
Thanks, @gsmendoza, good job! I left two minor suggestions but feel free to merge.
Closes #115. This commit adds device data collection. See: https://developer.paypal.com/braintree/docs/guides/premium-fraud-management-tools/device-data-collection
d4fc255
to
3817011
Compare
@SyborgStudios I'm merging this now :) |
Closes #115.
Revision of #103.
This commit adds device data collection.
See: https://developer.paypal.com/braintree/docs/guides/premium-fraud-management-tools/device-data-collection
Testing
Confirmed after checking out with Braintree Credit Card payment method:
Checklist
Check out our PR guidelines for more details.
The following are mandatory for all PRs:
The following are not always needed: