Skip to content

Log acuant result code, if billable (LG-2495)#4001

Merged
zachmargolis merged 9 commits intomasterfrom
margolis-acuant-result
Aug 3, 2020
Merged

Log acuant result code, if billable (LG-2495)#4001
zachmargolis merged 9 commits intomasterfrom
margolis-acuant-result

Conversation

@zachmargolis
Copy link
Copy Markdown
Contributor

No description provided.

Acuant::Responses::ResponseWithPii.new(
acuant_response: selfie_response,
pii: pii,
billed: results.result_code&.billed?,
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@stevegsa just wanted to check my understanding on this...the only time we call the GetResults API is inside of this API where we post all 3 ---- but that's the newer flow right? Do you know which endpoint in the older flow we want to be be checking for this result code in?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Unfortunately it looks like somebody removed the code to add_cost on the results call.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Actually it looks good. Those results calls are in fetch_doc_auth_results_or_redirect_to_selfie

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

OK so back_image_step needs cost info added?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

added in 558d514

Copy link
Copy Markdown
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!

@zachmargolis zachmargolis merged commit 7a7026e into master Aug 3, 2020
@zachmargolis zachmargolis deleted the margolis-acuant-result branch August 3, 2020 19:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants