User has an account access with username / password = user1
User logs in with Hellō and existing account is not linked to the Hellō wallet => account linking is disabled, or user has different email from Hellō than in WP so plugin thinks it is a new user => user2
Later on, user logs in with username / password -> and then links Hellō account
=> we know know that user1 == user2 as we have the Hellō account for user2 and active session for user1, and that user wanted to link accounts
Options:
show user and error message telling that Hellō wallet is already being used
delete user2 and have Hellō now reference user1
more complex user merging logic where we check which account has greater permissions
User has an account access with username / password = user1 User logs in with Hellō and existing account is not linked to the Hellō wallet => account linking is disabled, or user has different email from Hellō than in WP so plugin thinks it is a new user => user2
Later on, user logs in with username / password -> and then links Hellō account => we know know that user1 == user2 as we have the Hellō account for user2 and active session for user1, and that user wanted to link accounts
Options: