OTP consent mechanism

XMLWordPrintable

    • Type: Story
    • Resolution: Done
    • Priority: Highest
    • 2.5
    • Affects Version/s: None
    • FLW Sprint 3, FLW Sprint 5, FLW Sprint 6, FLW Sprint 7, FLW Sprint 14
    • FLW Mobile App
    • AMRIT Demo

      Handling Data Privacy concepts and Beneficiary consent management thru OTP (SMS Gateway Integration)

      Acceptance Criteria:

      1.Contact Number of/Mobile Number of Head of Family

      • After entering the "Mobile number of the Head of the Family," enable the "Send OTP" button.

      h/for Family number,After date of reg we will be free textbox mobile num for taking consent text box ,showing the text , enable , scen , if they dont want to give consent with that number then he can give neighbours number , if no optp x mark 

      Send OTP (Button):

      • This button should be green and positioned in the right corner below the Contact Number.
      • It initiates a request to generate and send an OTP via SMS to the registered mobile number.
      • In case of a failed attempt, clicking the “Refresh” button regenerates and sends the OTP again.

      Refresh (Button):

      • Regenerates and resends the OTP to the registered mobile number.

      OTP Verification (Textbox):

      A) Online Mode

      1. New Household Registration:
        • After entering the "Mobile number of the Head of the Family," enable the "Send OTP" button in green on the right corner.

            2.Family Member Registration:

        • Under "Members," after entering the Contact Number, enable the "Send OTP" button in green.

            3.All Beneficiaries:

        • If OTP verification is pending, display a navigation button to "Verify OTP."

            4.OTP Verification Details:

        • Allowed OTP: Numerical codes only, 4 digits long.
        • Verification Process:
          • Verify OTP against the generated code.
          • Set a 15-minute time limit for OTP entry.
          • Valid OTP within the timeframe: Display “OTP Verified successfully.”
          • Invalid OTP or timeout:
            • Display “Session Expired.”
            • ASHA needs to request a new OTP in subsequent visits.
          • If not validated from the server: Keep the record in draft mode.

           5.Enable Mode (During Internet Availability):

        • Display a green "Send OTP" button.
        • If no OTP is received, allow editing of the mobile number and resending the OTP.

      C) Offline Mode

      1. New Registration:
        • After entering the mobile number, disable the "Send OTP" button.
        • Allow form submission and save as draft.
        • On the card, display a "Verify OTP" navigation button beside the contact number in orange.
        • This beneficiary should not sync to the server.
        • Clicking the button opens the consent form in edit mode with no data loss.

             2.Household Submission:

        • Do not sync or generate an ID until the Head of Family’s consent management is completed and verified.

      D) OTP Verification Status Indicators

      1. Verification Pending: Orange icon with text beside the contact number.
      2. Verification Not Done: Red icon with text in the right corner of the card.
      3. Verification Done: Green icon with text.

      Additional Features:

      • Auto-Submit: Automatically submit once all OTP digits are entered.
      • Auto-Close: Close the card after an OTP verification attempt (successful or unsuccessful).

              Assignee:
              Deep Shikha
              Reporter:
              Shreshtha Bhandari [X] (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: