Skip to content

Use non-hashed SSN param, removed hashed version#6854

Merged
jskinne3 merged 3 commits intomainfrom
jskinne3-unhashed-params
Aug 26, 2022
Merged

Use non-hashed SSN param, removed hashed version#6854
jskinne3 merged 3 commits intomainfrom
jskinne3-unhashed-params

Conversation

@jskinne3
Copy link
Contributor

@jskinne3 jskinne3 commented Aug 26, 2022

Why: Per LexisNexis email on 19 August 2022 we should use the national_id_number param instead of the ssn_hash param.

How: I have replaced params in the VerificationRequest and fixture file, and added national_id_type per the documentation.

changelog: Internal, ThreatMetrix API, Use non-hashed param
LG-7384

Copy link
Contributor

@zachmargolis zachmargolis left a comment

Choose a reason for hiding this comment

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

LGTM

"service_type": "all",
"session_id": "UNIQUE_SESSION_ID",
"ssn_hash": "15e2b0d3c33891ebb0f1ef609ec419420c20e320ce94c65fbc8c3312448eb225",
"national_id_number": "123456789",
Copy link
Contributor

Choose a reason for hiding this comment

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

(not a blocker) do you think this would be easier to keep in sync if we removed it as a fixture file and inlined it in the spec?

Copy link
Contributor Author

@jskinne3 jskinne3 Aug 26, 2022

Choose a reason for hiding this comment

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

I guess a little, because it's moderately easier to determine what specs to run if the data is right in the relevant spec. But I don't think I want to change it now.

@@ -17,7 +17,8 @@
"policy": "test-policy",
Copy link
Contributor

Choose a reason for hiding this comment

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

looks good. not a blocker but we might want to update the sample response here which has ssn_hash_result : spec/fixtures/proofing/lexis_nexis/ddp/successful_response.json

Copy link
Contributor Author

Choose a reason for hiding this comment

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

made some updates to it!

Copy link
Contributor

@stevegsa stevegsa left a comment

Choose a reason for hiding this comment

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

Looks good!

@jskinne3 jskinne3 merged commit 903fa43 into main Aug 26, 2022
@jskinne3 jskinne3 deleted the jskinne3-unhashed-params branch August 26, 2022 22:02
@aduth aduth mentioned this pull request Aug 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants