Skip to content
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

DATA_COLLECTOR_KOUNT_ERROR in versions 3.107.0+ #730

Closed
Tankzor opened this issue Oct 30, 2024 · 2 comments
Closed

DATA_COLLECTOR_KOUNT_ERROR in versions 3.107.0+ #730

Tankzor opened this issue Oct 30, 2024 · 2 comments

Comments

@Tankzor
Copy link

Tankzor commented Oct 30, 2024

General information

  • SDK version: 3.111.0
  • Environment: Sandbox, presumably production but we won't test that!
  • Browser and OS: Any (we can repro in many)

Issue description

We are receiving the following error trying to create a datacollector (braintree.dataCollector.create) with kount: true after updating braintree-web past 3.106.0. Currently broken in 3.111.0.

code: "DATA_COLLECTOR_KOUNT_ERROR"
details: undefined
message: "can't convert null to object"
name: "BraintreeError"
stack: ""
type: "MERCHANT"

Rolling back to 3.106.0 seems to fix the issue, or disabling kount in the call to braintree.dataCollector.create. Currently our call looks like this (only passing client):

braintree.dataCollector.create({ client: clientInstance, kount: true }, callback);
@Tankzor
Copy link
Author

Tankzor commented Oct 30, 2024

Update: turns out we only had kount enabled in the sandbox and we were using built-in paypal anti-fraud in production, so we've removed the kount: true in other environments so this doesn't affect us anymore. I'll leave the issue so you can fix whatever the problem might be, or close it.

@braintreeps
Copy link
Contributor

Closing as a duplicate of #724

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants