Skip to Content Skip to Menu

🎃 Happy Halloween! Treat yourself with an awesome discount on memberships! Get 20% off now with code SPOOKY-2024!

[SOLVED] Massive problems with subscriptions

  • timstohr
  • timstohr
  • OFFLINE
  • Posts: 1091
  • Thanks: 56
  • Karma: 9
8 years 3 months ago - 8 years 3 months ago #283696 by timstohr
Hi Kyle,

I am still having massive problems with the subscription. I have created a ton of plans which all work fine apart from one. I want this plan to simply work as add-on to the other plans (with any of my other plans or even without a plan, you can choose the EMPLOYERS plan and add stuff to the employment portal).

After months of trying it out, I end up with this:





Fair enough if there are other plans that are mandatory! but there are none!



What could I possibly have made wrong?
Attachments:
Last edit: 8 years 3 months ago by krileon. Reason: Added [SOLVED] tag to subject

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48459
  • Thanks: 8280
  • Karma: 1443
8 years 3 months ago #283710 by krileon
Replied by krileon on topic Massive problems with subscriptions
You've 2 exclusive plans. This means 1 of those exclusive plans must be selected or actively subscribed in order to subscribe to or select those non-exclusive plans. If you're showing plans via URL you need to ensure you're including the exclusive plan ids as well so they can be selected as needed.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

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

  • timstohr
  • timstohr
  • OFFLINE
  • Posts: 1091
  • Thanks: 56
  • Karma: 9
8 years 3 months ago #283730 by timstohr
Replied by timstohr on topic Massive problems with subscriptions
Perfect that solved it.

Next problem: My users are not getting promoted and my auto action does not work.

If they sign up to the EMPLOYER plan, they are supposed to get promoted to the employer ACL.




That does not happen.

Also... Auto-action does not work as it is supposed to:

Global: On after first Login, OnCPayUserStatusChange

Condition: [cbsubs:if plan="13" status="A"]ACTIVE[/cbsubs:if] Equal to ACTIVE

Action: update #_js_job_userroles
set role = 1
where uid = [user_id]

Any ideas?
Attachments:

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

  • timstohr
  • timstohr
  • OFFLINE
  • Posts: 1091
  • Thanks: 56
  • Karma: 9
8 years 3 months ago #283733 by timstohr
Replied by timstohr on topic Massive problems with subscriptions
Also need to mention that I have the latest joomla (installed yesterday) and the latest CB subs (installed yesterday).



Attachments:

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48459
  • Thanks: 8280
  • Karma: 1443
8 years 3 months ago #283752 by krileon
Replied by krileon on topic Massive problems with subscriptions
Your CB Auto Actiosn usage isn't valid. CBSubs also only manages usergroups for valid subscriptions. This means if it's free lifetime and you have not configured free lifetime plans to create subscriptions within CBSubs > Settings > Global it won't manage the usergroups. For CB Auto Actions usage you need to use the below usage.

Plan Active
Global
Triggers: onCPayUserStateChange
User: Automatic
Access: Everybody
Conditions
1: [var3] Equal To PLAN_ID_HERE
2: [var2] Equal To A

Plan Expired
Global
Triggers: onCPayUserStateChange
User: Automatic
Access: Everybody
Conditions
1: [var3] Equal To PLAN_ID_HERE
2: [var2] Not Equal To A


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

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

  • timstohr
  • timstohr
  • OFFLINE
  • Posts: 1091
  • Thanks: 56
  • Karma: 9
8 years 3 months ago #283873 by timstohr
Replied by timstohr on topic Massive problems with subscriptions
OK that did it.

It is very difficult to understand that CB Subs will not promote the user when he subscribes to a new plan unless he has a lifetime membership.

That thing cost me the last nerve.

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

Moderators: beatnantkrileon
Powered by Kunena Forum