AUTH-WEB - Users can select BCOL without Linking/Adding BCOL Account Info
Describe the bug in current situation When creating a new account a user can select to not link a BCOL account when entering their Account Info (step 4), and then select BCOL as their Payment method. What this does is make it so no BCOL account details are populated when selecting BCOL as Payment, but the user is still able to submit their account creation request.
Link bug to the User Story
Impact of this bug This does not appear to impact a high number of users however we are aware of a production instance of this bug with the Better Business Bureau of Mainland British Columbia account.
Chance of Occurring (high/medium/low/very low) Low, user needs to select BCOL as payment without linking and then submit without adding BCOL account info
Pre Conditions: which Env, any pre-requesites or assumptions to execute steps? Confirmed in TEST but an account is observed to have the same outcome in PROD
Steps to Reproduce Steps to reproduce the behavior:
- Create a new account
- Select to not link a BCOL account
- Continue to the Payment Method selection and pick BCOL
- Submit the account
Actual/ observed behavior/ results The system allows the user to submit, and the account would be set to use BCOL as payment but no BCOL account details are associated or shown in the account info
Expected behavior The system would prevent the user from submitting and inform them that they must add valid BCOL account details to use BCOL as payment
Screenshots/ Visual Reference/ Source
Likely related to #12824
Had a chat with Jenny - figured it out:
Two bugs
- Explained above in the ticket
Different bug:
https://github.com/bcgov/entity/issues/13970
- When logged in with another account that has BCOL, the “current account” details bleed over to the “new account”
~in addition to this ticket, will truncate password to 8 characters as per #11126~
https://www.bconline.gov.bc.ca/pdf/PasswordChangeInstructions.pdf
Looks like it's max 8 characters, so probably need to put the warning text there too.
@AshnaMehta make sure you re-test normal payment method switching as well please.