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

RiskDataCollector does not send device data to Kount #194

Open
liamdawson opened this issue Nov 8, 2022 · 1 comment
Open

RiskDataCollector does not send device data to Kount #194

liamdawson opened this issue Nov 8, 2022 · 1 comment
Labels

Comments

@liamdawson
Copy link

Describe the bug

When using the RiskDataCollector as documented (in combination with an <Elements> based model), device data is not sent to Kount.

Based on further investigation, recurly.fraud.attachDataCollector() is never called, so a fraud_session_id is never obtained, and therefore recurly.token does not include the appropriate data.

CodeSandbox repro

To Reproduce

  1. Follow the React Recurly "Implementation Guide"
  2. Add a <RiskDataCollector strategy="kount" onError={(error) => console.error(error)} /> element to the payment form
  3. Load the app and submit the form using testing data

(A modified version of this process, including some debugging aids, is available in the CodeSandbox repro)

Expected behavior

Device data is sent to Kount

Actual behaviour

The fraud functionality is not initialized (e.g. no API call is made to /risk/info, no fraud_session_id is obtained/set, no device data is sent to Kount)

Your Environment

@liamdawson liamdawson added the bug? label Nov 8, 2022
@liamdawson
Copy link
Author

I suspect the issue mentioned in this PR is related.

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

No branches or pull requests

1 participant