[Skip to main content](#vessel-content)

#   Users do not get assigned to the group

##

- **[gidgie](/forum/user/6893-gidgie "View gidgie's Profile")**
- [![gidgie's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6893.jpg)](/forum/user/6893-gidgie "View gidgie's Profile") Topic Author
- [ Offline](/forum/user/6893-gidgie)

Less More

- Posts: 70
- Thank you received: 4
-
-

14 years 2 weeks ago [\#72220](#72220) by [gidgie](/forum/user/6893-gidgie "View gidgie's Profile")  *[Users do not get assigned to the group](/forum/2-general-talk-about-hikashop/72220-users-do-not-get-assigned-to-the-group#72220 "HI,  i am having an issue with users not being assigned to the dedicated group. I have it set at the product page ( 1 product in the entire shop only). Akeeba Subscriptions plugin is installed as well, and users get the subscription level with the purchase.  No idea why that is not working, but it means that i have to keep checking manually all the time if there are new users that need to be assigned to that particular group. The site is live and is being intensely advertised, so it is quite urgent to have that fixed.  URL   www.clarevalleyweddings.com.au  Back end details can be provided if required.  Thanks in advance.  Gidge")* was created by *[gidgie](/forum/user/6893-gidgie "View gidgie's Profile")*

HI,

i am having an issue with users not being assigned to the dedicated group.
I have it set at the product page ( 1 product in the entire shop only).
Akeeba Subscriptions plugin is installed as well, and users get the subscription level with the purchase.

No idea why that is not working, but it means that i have to keep checking manually all the time if there are new users that need to be assigned to that particular group. The site is live and is being intensely advertised, so it is quite urgent to have that fixed.

URL [ www.clarevalleyweddings.com.au](http://www.clarevalleyweddings.com.au)

Back end details can be provided if required.

Thanks in advance.

Gidge

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzcyMjIwLXVzZXJzLWRvLW5vdC1nZXQtYXNzaWduZWQtdG8tdGhlLWdyb3VwP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86541
- Thank you received: 14304
-
-

14 years 2 weeks ago [\#72466](#72466) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Users do not get assigned to the group](/forum/2-general-talk-about-hikashop/72220-users-do-not-get-assigned-to-the-group#72466 "HI,  i am having an issue with users not being assigned to the dedicated group. I have it set at the product page ( 1 product in the entire shop only). Akeeba Subscriptions plugin is installed as well, and users get the subscription level with the purchase.  No idea why that is not working, but it means that i have to keep checking manually all the time if there are new users that need to be assigned to that particular group. The site is live and is being intensely advertised, so it is quite urgent to have that fixed.  URL   www.clarevalleyweddings.com.au  Back end details can be provided if required.  Thanks in advance.  Gidge")*

Hi,

If you're using Akeeba Subscriptions, I suppose that it is to add/remove the users from a group based on the subscription period.
In that case, you should not use the option "user group after purchase", which is not linked with akeeba subscriptions, but rather use the user group integration of akeeba subscriptions:
[ www.akeebabackup.com/documentation/akeeb...egration-joomla.html](https://www.akeebabackup.com/documentation/akeeba-subscriptions/integration-joomla.html)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzcyMjIwLXVzZXJzLWRvLW5vdC1nZXQtYXNzaWduZWQtdG8tdGhlLWdyb3VwP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[gidgie](/forum/user/6893-gidgie "View gidgie's Profile")**
- [![gidgie's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6893.jpg)](/forum/user/6893-gidgie "View gidgie's Profile") Topic Author
- [ Offline](/forum/user/6893-gidgie)

Less More

- Posts: 70
- Thank you received: 4
-
-

14 years 2 weeks ago -  14 years 2 weeks ago [\#72680](#72680) by [gidgie](/forum/user/6893-gidgie "View gidgie's Profile")  Replied by *[gidgie](/forum/user/6893-gidgie "View gidgie's Profile")* on topic *[Re: Users do not get assigned to the group](/forum/2-general-talk-about-hikashop/72220-users-do-not-get-assigned-to-the-group#72680 "HI,  i am having an issue with users not being assigned to the dedicated group. I have it set at the product page ( 1 product in the entire shop only). Akeeba Subscriptions plugin is installed as well, and users get the subscription level with the purchase.  No idea why that is not working, but it means that i have to keep checking manually all the time if there are new users that need to be assigned to that particular group. The site is live and is being intensely advertised, so it is quite urgent to have that fixed.  URL   www.clarevalleyweddings.com.au  Back end details can be provided if required.  Thanks in advance.  Gidge")*

Hi Nicolas,

Not sure what I am doing wrong, but i just cannot figure out what the problem is. I have configured all the bits and pieces i had to, but it is still not working. For the time being i will use "assign to the group" on the product page while i can, because the product is free for another week. But i really have to resolve this issue.

I will send through PM login details for the site, alongside with what I am trying to achieve, just in case you are able to have a quick look and see what I am doing wrong. Sorry it is a bold move, but i am running out of time to have this sorted and have a major advertising campaign coming out on Wednesday to promote this site so really need it working by then.

Thanks a million!

Just did a little bit of extra testing, and it seems like users also don't get some privileges if they just use activation link they get through registration at the checkout. Some privileges work ans some don't. Once they log out and log back in, it all works fine.
Ahhh.... all becoming quite confusing.

Last edit: 14 years 2 weeks ago by [gidgie](/forum/user/6893-gidgie "View gidgie's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzcyMjIwLXVzZXJzLWRvLW5vdC1nZXQtYXNzaWduZWQtdG8tdGhlLWdyb3VwP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86541
- Thank you received: 14304
-
-

14 years 2 weeks ago [\#73055](#73055) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Users do not get assigned to the group](/forum/2-general-talk-about-hikashop/72220-users-do-not-get-assigned-to-the-group#73055 "HI,  i am having an issue with users not being assigned to the dedicated group. I have it set at the product page ( 1 product in the entire shop only). Akeeba Subscriptions plugin is installed as well, and users get the subscription level with the purchase.  No idea why that is not working, but it means that i have to keep checking manually all the time if there are new users that need to be assigned to that particular group. The site is live and is being intensely advertised, so it is quite urgent to have that fixed.  URL   www.clarevalleyweddings.com.au  Back end details can be provided if required.  Thanks in advance.  Gidge")*

Hi,

The problem is probably that the user privileges are stored in the user session. And when the user group is added to a user, the user session is not updated, thus they don't get the privileges until they logout/login and that their user session is reset with the data from the database.

The issue is that usually the order is confirmed via a payment notification sent by a payment gateway. At that point the user group is added to the user. But it's added by an anonymous user (the payment gateway). So it can't reset the session of another user.

One solution would be to add such code:
$user = JFactory::getUser();
$session = JFactory::getSession();
$session-&gt;set('user', new JUser($user-&gt;id));

just before the line:
// Instantiate the application.
$app = JFactory::getApplication('site');

in the index.php file of your website. That will force the reload of the user data on each page and avoid that caching issue.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzcyMjIwLXVzZXJzLWRvLW5vdC1nZXQtYXNzaWduZWQtdG8tdGhlLWdyb3VwP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.069 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
