VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: redlo on October 31, 2017, 00:01:57 AM

Title: User dont activate
Post by: redlo on October 31, 2017, 00:01:57 AM
Soory, change category. You can erase this post.

Hello, in my shop virtuemart, user make a purchase and registred new user with data in virtuemart, and receives the email to activate his account, and does not activate

Link to activate account: https://www.MYDOMAIN.com/index.php?option=com_users&task=registration.activate&token=2ef8ce51107a4c849fcdf00fdd18c6a3

Look capture

(https://www.virtueplanet.com/media/kunena/attachments/3491/active_user.jpg)

Is redirect to home page.
Title: Re: User dont activate
Post by: eddiehamasaki on November 10, 2017, 14:33:44 PM
I have the same problem
When a user registers to my website and clicks the activation link, the link goes to the register page instead of the regular confirmation page

It's happening since the latest update to the recent version of virtuemart

The code that generates the link is:

if (!empty($this->activationLink)) {
               $activationLink = '<a class="default" href="' . JURI::root() . $this->activationLink . '">' . vmText::_('COM_VIRTUEMART_LINK_ACTIVATE_ACCOUNT') . '</a>';

It generates a link: https://www.domain.com/index.php?option=com_users&task=registration.activate&token=eeb81aee50f260915ac905f4a3d427f9

However I can not find a way to fix it
Does anyone know whats going on here?
Title: Re: User dont activate
Post by: StefanSTS on November 12, 2017, 17:34:31 PM
It might not be a proper solution to your problem, but I never experienced it with any of my customers shops, because I do not use the activation mail.

In a shop you don't really want the customer to do a lot of stuff before he can buy a product. He should be able to do that in the least effort.

So for registering, the Joomla option for the authentication in all of my and my customers shops is set to "None".

If the customers email adress is wrong, I still have his physical adress or phone number from the registration.
In my own shop I send virtual products and never had an issue with the email the customer is NOT validating.

Nevertheless would be good to look into that matter.

Regards
Stefan

Title: Re: User dont activate
Post by: Milbo on November 13, 2017, 12:06:35 PM
Hmm, it works for me.

I checked the whole thing. I cant see anything wrong here.