Please Log in or Create an account to join the conversation.
Yup, that's working as expected. The token is cached to their session upon clicking the link. This allows them to register with whatever details they need. They may not want to register with the email address it was sent to. This also allows them to accept it with an existing account.I was going through the process of accepting an email invitation to a family plan. I completed the sign up form that the link directs to and proceeded to created a user using the same name, username, and password of an existing user but different email address. (Just to see what would happen)
Its token stored in their session.1) What did the Family Plan plugin look at to make the link to the existing user? (I actually did not want that to happen). It also seemed to have ignored the different email.
Yes, usernames and email addresses must be unique and is enforced by Joomla as well as CB.2) Are usernames exclusive - two users cannot use the same username?
Yes, name is not unique.3) Can users have the same first/last name (hopefully yes)
Not sure I understand. They have 2 subscriptions to the same plan? So they bought a plan during registration AND accepted a shared one? It shouldn't accept a shared subscription for the same plan if that same plan is already active. If it's not active it will accept the shared subscription.4) To prevent users from having two plans, I had set the "exclusive plan setting to: "Exclusive, other plans of the same parent cannot be subscribed same time, but one subscription is mandatory", so I am not sure what happened there.
Please Log in or Create an account to join the conversation.
Oh, so even though I was logged out but still in the same browser session the Family Plan Plug made the connection to the existing user?Yup, that's working as expected. The token is cached to their session upon clicking the link. This allows them to register with whatever details they need. They may not want to register with the email address it was sent to. This also allows them to accept it with an existing account.
I actually had two paid plans. The user already had one (not a family plan, but individual). What ended up happening was that user ended up with both the individual plan + a recipient of the shared plan. Both were set to exclusive so I was surprised to see that happen.4) To prevent users from having two plans, I had set the "exclusive plan setting to: "Exclusive, other plans of the same parent cannot be subscribed same time, but one subscription is mandatory", so I am not sure what happened there.
Not sure I understand. They have 2 subscriptions to the same plan? So they bought a plan during registration AND accepted a shared one? It shouldn't accept a shared subscription for the same plan if that same plan is already active. If it's not active it will accept the shared subscription.
Please Log in or Create an account to join the conversation.
Yes.Oh, so even though I was logged out but still in the same browser session the Family Plan Plug made the connection to the existing user?
Use incognito browser window when performing session related tests so the cookie is discarded on browser close. Your alternative is empty _sessions table or clear your cookies. The session is just doing as is intended.I think my mistake may have been to use the same username and password when the intention was to create a new user that had the same name.
Would this be the problem I ran into and avoid with further testing?
Shared plans ignore plan exclusivity. If it respected all those checks it would be very difficult for plans to be shared.I actually had two paid plans. The user already had one (not a family plan, but individual). What ended up happening was that user ended up with both the individual plan + a recipient of the shared plan. Both were set to exclusive so I was surprised to see that happen.
Please Log in or Create an account to join the conversation.
Shared plans ignore plan exclusivity. If it respected all those checks it would be very difficult for plans to be shared.
Please Log in or Create an account to join the conversation.