Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions app/controllers/idv/document_capture_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ def analytics_arguments
irs_reproofing: irs_reproofing?,
redo_document_capture: idv_session.redo_document_capture,
skip_hybrid_handoff: idv_session.skip_hybrid_handoff,
liveness_checking_required: decorated_sp_session.selfie_required?,
selfie_check_required: idv_session.selfie_check_required,
}.merge(ab_test_analytics_buckets)
end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ def analytics_arguments
step: 'capture_complete',
analytics_id: 'Doc Auth',
irs_reproofing: irs_reproofing?,
liveness_checking_required: decorated_sp_session.selfie_required?,
}.merge(ab_test_analytics_buckets)
end
end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ def analytics_arguments
step: 'document_capture',
analytics_id: 'Doc Auth',
irs_reproofing: irs_reproofing?,
liveness_checking_required: decorated_sp_session.selfie_required?,
selfie_check_required: decorated_sp_session.selfie_required?,
}.merge(
ab_test_analytics_buckets,
Expand Down
9 changes: 9 additions & 0 deletions app/services/analytics_events.rb
Original file line number Diff line number Diff line change
Expand Up @@ -964,6 +964,7 @@ def idv_doc_auth_ssn_visited(**extra)
# @param [Integer] remaining_submit_attempts (previously called "remaining_attempts")
# @param [String] user_id
# @param [String] flow_path
# @param [String] liveness_checking_required Whether or not the selfie is required
# @param [String] front_image_fingerprint Fingerprint of front image data
# @param [String] back_image_fingerprint Fingerprint of back image data
# The document capture image uploaded was locally validated during the IDV process
Expand All @@ -972,6 +973,7 @@ def idv_doc_auth_submitted_image_upload_form(
errors:,
remaining_submit_attempts:,
flow_path:,
liveness_checking_required:,
submit_attempts: nil,
user_id: nil,
front_image_fingerprint: nil,
Expand All @@ -988,6 +990,7 @@ def idv_doc_auth_submitted_image_upload_form(
flow_path: flow_path,
front_image_fingerprint: front_image_fingerprint,
back_image_fingerprint: back_image_fingerprint,
liveness_checking_required: liveness_checking_required,
**extra,
)
end
Expand All @@ -1010,6 +1013,7 @@ def idv_doc_auth_submitted_image_upload_form(
# @param [Boolean] attention_with_barcode
# @param [Boolean] doc_type_supported
# @param [Boolean] doc_auth_success
# @param [String] liveness_checking_required Whether or not the selfie is required
# @param [String] selfie_status
# @param [String] vendor
# @param [String] conversation_id
Expand Down Expand Up @@ -1051,6 +1055,7 @@ def idv_doc_auth_submitted_image_upload_vendor(
remaining_submit_attempts:,
client_image_metrics:,
flow_path:,
liveness_checking_required:,
billed: nil,
doc_auth_result: nil,
vendor_request_time_in_ms: nil,
Expand Down Expand Up @@ -1111,6 +1116,7 @@ def idv_doc_auth_submitted_image_upload_vendor(
portrait_match_results:,
image_metrics:,
address_line2_present:,
liveness_checking_required:,
**extra,
)
end
Expand All @@ -1121,6 +1127,7 @@ def idv_doc_auth_submitted_image_upload_vendor(
# @param [Integer] remaining_submit_attempts (previously called "remaining_attempts")
# @param [Hash] pii_like_keypaths
# @param [String] flow_path
# @param [String] liveness_checking_required Whether or not the selfie is required
# @param [String] front_image_fingerprint Fingerprint of front image data
# @param [String] back_image_fingerprint Fingerprint of back image data
# @param [Hash] classification_info document image side information, issuing country and type etc
Expand All @@ -1131,6 +1138,7 @@ def idv_doc_auth_submitted_pii_validation(
remaining_submit_attempts:,
pii_like_keypaths:,
flow_path:,
liveness_checking_required:,
user_id: nil,
front_image_fingerprint: nil,
back_image_fingerprint: nil,
Expand All @@ -1148,6 +1156,7 @@ def idv_doc_auth_submitted_pii_validation(
front_image_fingerprint: front_image_fingerprint,
back_image_fingerprint: back_image_fingerprint,
classification_info: classification_info,
liveness_checking_required: liveness_checking_required,
**extra,
)
end
Expand Down
2 changes: 2 additions & 0 deletions spec/controllers/idv/document_capture_controller_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@
skip_hybrid_handoff: nil,
irs_reproofing: false,
step: 'document_capture',
liveness_checking_required: false,
selfie_check_required: sp_selfie_enabled && doc_auth_selfie_capture_enabled,
}.merge(ab_test_args)
end
Expand Down Expand Up @@ -263,6 +264,7 @@
skip_hybrid_handoff: nil,
irs_reproofing: false,
step: 'document_capture',
liveness_checking_required: false,
selfie_check_required: sp_selfie_enabled && doc_auth_selfie_capture_enabled,
}.merge(ab_test_args)
end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
flow_path: 'hybrid',
irs_reproofing: false,
step: 'capture_complete',
liveness_checking_required: false,
}.merge(ab_test_args)
end

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@
flow_path: 'hybrid',
irs_reproofing: false,
step: 'document_capture',
liveness_checking_required: false,
selfie_check_required: boolean,
}.merge(ab_test_args)
end
Expand Down Expand Up @@ -182,6 +183,7 @@
flow_path: 'hybrid',
irs_reproofing: false,
step: 'document_capture',
liveness_checking_required: false,
selfie_check_required: boolean,
}.merge(ab_test_args)
end
Expand Down
Loading