After payment, can a users group be changed from "Registered" to something else

  • Posts: 220
  • Thank you received: 12
3 years 6 months ago #333262

-- HikaShop version -- : 4.4.2
-- HikaSerial version -- : 3.1.2
-- Joomla version -- : 3.9.26
-- PHP version -- : 5.6.40

Hi,

I have a membership set up using hikaserial and the recurring PayPal plugin.

When a customer is checking out I am forcing registration. This means they become a "Registered" Joomla user. Once they make payment, is it possible to automatically move this user to another user group? This is so I can give the user access to certain pages when signed in.

Thanks

Please Log in or Create an account to join the conversation.

  • Posts: 26165
  • Thank you received: 4029
  • MODERATOR
3 years 6 months ago #333282

Hello,

That's one main goal of the subscription system.
In the "plan" configuration, you have access to the actions. The first available is the "group" which allow to add users to groups depending the status of the subscription.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
The following user(s) said Thank You: joshualdouglas

Please Log in or Create an account to join the conversation.

  • Posts: 220
  • Thank you received: 12
3 years 6 months ago #333543

Hello,

Thank you for getting back to me. I nearly have this working, but I am definitely doing a couple of things wrong.

So In Joomla, I have made a group called "Member" - Please see screenshot A

In HikaSerial Plan actions I have selected my "Member" group - Please see screenshot B

But then in Joomla menu items, I can't give access to my "Member" group. The option is not there. - Please see screenshot C

What am I doing wrong?

Thanks,
Josh.

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 26165
  • Thank you received: 4029
  • MODERATOR
3 years 6 months ago #333564

Hello,

You need to configure Joomla ACL : docs.joomla.org/J3.x:Access_Control_List_Tutorial
It's not something related to HikaSerial subscription.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
The following user(s) said Thank You: joshualdouglas

Please Log in or Create an account to join the conversation.

  • Posts: 220
  • Thank you received: 12
3 years 6 months ago #333579

Hi Jerome,

Ok, thanks. I am looking into this now. Thanks for pointing me in the correct direction.

I still don't understand why the Joomla users who have paid for a membership are in the "Registered" Joomla group and not my custom "Member" group.

Thanks

Last edit: 3 years 6 months ago by joshualdouglas.

Please Log in or Create an account to join the conversation.

  • Posts: 220
  • Thank you received: 12
3 years 6 months ago #333582

Ok, I now have a rough idea on how access levels work. I have added my "Member" group to an custom access level ("Membership access"). I can now select "Membership Access" in the "Access" section of a menu item. But my paying users are "Registered" and not "Member". How do I get paying customers to become an "member"

I'm nearly there!

Thanks

Please Log in or Create an account to join the conversation.

  • Posts: 26165
  • Thank you received: 4029
  • MODERATOR
3 years 6 months ago #333589

Hello,

Can you please check the status of your subscription ?

The order need to be "confirmed" to make the subscription "active".
When the subscription is "active", the plugin "groupsubscriber" will give the group member to the corresponding customer ; when the subscription expires (or closes), the group member is removed.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
The following user(s) said Thank You: joshualdouglas

Please Log in or Create an account to join the conversation.

  • Posts: 220
  • Thank you received: 12
3 years 6 months ago #333595

Hi Jerome,

I just did another test.

And the status of the subscription is closed - please see screenshot A

And the order is only created for some reason - please see screenshot B

I can see the "groupsubscriber" plugin is active. Do I need to put anything in the field? - please see screenshot C

Thanks

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 220
  • Thank you received: 12
3 years 6 months ago #333598

Hi,

I just did another 2 tests. Both orders didn't become "confirmed" after payment which is strange.

Thanks

Please Log in or Create an account to join the conversation.

  • Posts: 220
  • Thank you received: 12
3 years 6 months ago #333609

I've also noticed that there doesn't seem to be any email notifications from the website confirming that a payment has been made, or been changed to "Confirmed".

Please Log in or Create an account to join the conversation.

  • Posts: 26165
  • Thank you received: 4029
  • MODERATOR
3 years 6 months ago #333611

Hello,

Your subscription is closed because the order is not confirmed (not considered as paid by HikaShop).
I recommend you to open a thread in the HikaShop section of the forum for your order payment issue ; explaining what payment method you're using.

Regarding HikaSerial, you can manually edit the order in the HikaShop backend and change the order status to "confirmed" ; it would update the subscription and activate it.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 220
  • Thank you received: 12
3 years 6 months ago #333613

Hi Jerome,

I am aware you can manually edit the order but I need it to be automatic.

I'm using PayPal Recurring. Is there a bug? - Have attached a screenshot of the config

Thanks,
Josh.

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 26165
  • Thank you received: 4029
  • MODERATOR
3 years 6 months ago #333614

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
The following user(s) said Thank You: joshualdouglas

Please Log in or Create an account to join the conversation.

  • Posts: 220
  • Thank you received: 12
3 years 6 months ago #333636

Thanks, I've had a thorough read through it.

Could it simply be that I'm using a personal account and not a business account?

Thanks,
Josh.

Please Log in or Create an account to join the conversation.

  • Posts: 83022
  • Thank you received: 13403
  • MODERATOR
3 years 6 months ago #333641

No, it won't change anything. Note however that in your PayPal merchant account, you can access the history of IPNs:
developer.paypal.com/docs/api-basics/not...0the%20IPN%20message .
There, you might get useful information on why the payment notifications were not sent or what happened to them.

The following user(s) said Thank You: joshualdouglas

Please Log in or Create an account to join the conversation.

  • Posts: 220
  • Thank you received: 12
3 years 6 months ago #333658

Ok, thank you. I will look into this on Monday

Please Log in or Create an account to join the conversation.

  • Posts: 220
  • Thank you received: 12
3 years 5 months ago #333759

Hi,

I changed the PayPal account to a business account and it works fine now. Maybe a personal PayPal account only gets a certain number of transactions a month? No idea! Everything is working fine now!

Thanks for your continued support.

Thanks,
Josh.

The following user(s) said Thank You: Jerome

Please Log in or Create an account to join the conversation.

Moderators: Obsidev
Time to create page: 0.083 seconds
Powered by Kunena Forum