Skip to content

PROD - Error on Submit and Pay #25856

Closed
Closed

Description

@ser-popov

https://sbc-registries.atlassian.net/jira/servicedesk/projects/ITOPS/queues/custom/27/ITOPS-162892

Unknown Error is shown when trying to [Submit and Pay]. Application ID = 01757291034351

image.png

Activity

  1. added
    bug
    on Feb 6, 2025
  2. removed their assignment
    on Feb 11, 2025
  3. self-assigned this
    on Feb 14, 2025
  4. kris-daxiom commented on Feb 14, 2025

    @kris-daxiom

    @ser-popov This application does not have primary contact , document uploaded etc. I am not sure how they were able to click the submit button. Not sure if the UI validation is working properly.

    Cc: @mbertucci @Michaela-R-Anderson

  5. jdyck-fw commented on Feb 19, 2025

    @jdyck-fw
    Contributor

    Unable to reproduce and concerning that they could submit it with such little amount of information.

  6. jdyck-fw commented on Feb 19, 2025

    @jdyck-fw
    Contributor

    This may be tied the BCEID issue that Maximus is helping people with the work around on.

  7. jdyck-fw commented on Feb 19, 2025

    @jdyck-fw
    Contributor

    @kris-daxiom - Will check the account type and compare to the additional info being provided by email for Stefanie.

  8. jdyck-fw commented on Feb 19, 2025

    @jdyck-fw
    Contributor

    @dimak1 - check the UI code around this to see if there might be something we can do at submit time.

  9. fionazhou-jsb commented on Feb 19, 2025

    @fionazhou-jsb

    @kris-daxiom Maximus reported similar issues and provided a bit more information. Note it's a high critical issue. If you need additional information (application ID, I can ask them to provide one although the workaround is asking users to delete draft application where the issue happened and created a new application)

    Maximus reported issues related to payment errors once the client reaches the end of their filing. Most of their calls have to do with Hosts going to STRR from the Housing website and creating a simplified account, where address info is not required. However, when they try to register, they get an unknown error. Turns out its because it's missing the address info and we must get them to log into their BCRDS account and add their address, then they go back to the Housing website to register in STRR. If a client registers a BCRDS account first, this error will not happen. The workaround is attached, that was created by one of my staff, it shows the error message.

    What I have tested so far:

    1. In Prod, went to HOUS website, started STRR form from there, logged in with BCSC app, created an simplified account and had no issue submitting the application (clicked submit and pay and be redirected to payment page). Note my mailing address is blank but still able to submit application.
    2. In Test, started Test STRR form, logged in with BCeID and created account (5 or 7 steps to upload affidavit and got account approved) and had no issue submitting the application. I don't think we have a simplified account creation process for BCeID.

    STRR Common Payment Error.docx

    cc @Michaela-R-Anderson

  10. dimak1 commented on Feb 20, 2025

    @dimak1
    Collaborator

    I looked at the UI code, and we can add another validation right before submission to check for the required information and show an error before we even go to Payment option.

  11. dimak1 commented on Feb 21, 2025

    @dimak1
    Collaborator

    With the Province fix in place (in another ticket), is the address field the only item we need to check before submission? I would like to get a bit more specific on what to check for (ie. not empty)?

    • Address
    • Primary Contact
    • Documents
    • What else?
  12. dimak1 commented on Feb 25, 2025

    @dimak1
    Collaborator

    @andyyanggov @Michaela-R-Anderson just looking for some direction here. So if Host is trying to submit the application and one of the fields missing (eg. address) what should we do on the UI?
    ps: for Drafts, i assume we don't need to check for the missing fields.

  13. andyyanggov commented on Feb 25, 2025

    @andyyanggov

    @dimak1 If a required field is missing when the user hits 'Submit and Pay', it should trigger the stepper validations (for the first time) and auto-scroll to the top of the page—like our standard behaviour in other apps (e.g., Business Registry, Asset Registries). Our app is sort of already doing this, except our stepper validations trigger as soon as you move to a different step, which is incorrect but has been a low priority to fix.

    Screenshot 2025-02-25 at 11.09.33 AM.png

  14. dimak1 commented on Feb 25, 2025

    @dimak1
    Collaborator

    @andyyanggov yes, we have stepper validation, but in some cases users without complete profile (eg missing address) can bypass it and submit the application, getting an error on submit. This is my understanding of this bug ticket. So the fix proposed is to do another check of the fields. My question is - what to do if field is missing (and submission is interrupted)? Show modal with error message? Or what we would like to do?

  15. dimak1 commented on Feb 25, 2025

    @dimak1
    Collaborator

    Moving to Sprint Backlog to get clarification for Andy.

    Proposed fix - a more meaningful modal when address or some others fields are missing:
    Screenshot 2025-02-25 at 13.49.14.png

  16. dimak1 commented on Feb 26, 2025

    @dimak1
    Collaborator

    @andyyanggov did you get a chance to discuss this? Please let me know what the outcome is, how to handle the missing fields. Thanks!

  17. andyyanggov commented on Feb 26, 2025

    @andyyanggov

    This application does not have primary contact , document uploaded etc. I am not sure how they were able to click the submit button. Not sure if the UI validation is working properly.

    Based on Lekshmi's comment above, it sounds like there's a bug in our validation. From an UX perspective, I'd recommend taking the time to test and fix the validation properly instead of rushing out a hot fix.

    when they try to register, they get an unknown error. Turns out its because it's missing the address info and we must get them to log into their BCRDS account and add their address

    Fiona's comment seems to indicate a different cause to the issue (i.e., incomplete profile). Are these actually 2 separate issues? I'm a bit lost, to be honest.

  18. removed their assignment
    on Feb 28, 2025
  19. Michaela-R-Anderson commented on Mar 5, 2025

    @Michaela-R-Anderson

    Ticket closed as resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    STRbughostsprod defect

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions