LG-11439 Opt-in IPP: redirect if agreement step not completed#9615
LG-11439 Opt-in IPP: redirect if agreement step not completed#9615svalexander merged 2 commits intomainfrom
Conversation
|
@svalexander I am not getting redirected to |
Do you have this flag set to true: |
| self.enabled? | ||
| self.enabled? && idv_session.idv_consent_given | ||
| end, | ||
| undo_step: ->(idv_session:, user:) {}, # clear any saved data |
There was a problem hiding this comment.
This PR looks good, and you could go ahead and add idv_session.skip_doc_auth = nil for undo_step.
Edit: You also need before_action :confirm_document_capture_not_complete at the top.
Edit again: Gina and I added these two things on her PR.
There was a problem hiding this comment.
@svalexander I will take care of this. In PR # 9598, I am setting the value so I think it makes sense to unset it in the same PR.
* check agreement is completed * changelog: Upcoming Features, How to verify, redirect when prev step incomplete
🎫 Ticket
LG-11439
🛠 Summary of changes
On how to verify page check that agreement step has been completed. If it hasn't the user will now be redirected back to the agreement page.
📜 Testing Plan
Provide a checklist of steps to confirm the changes.
in_person_residential_address_controller_enabledflag to true/agreement/verify/how_to_verify/agreement/how_to_verify