Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Are you users subscriptions marked expired in CBSubs > Subscriptions? It's directly checking that status. A grace period for example can prevent them from being expired until the grace period ends.1. Renewal does not work when user has an expired subscription. So the question still stands.
Will review removing the hard condition in next release.2. To simplify the question, I did not describe my entire set-up - which also includes a second auto-action to change the [cb_gge_coupon] variable; this means that the next time the user logs in, the 1st AutoAction (subscribe) does NOT fire. So - no - this does not subscribe the user every time they log in. However, if I did want them to be resubscribed each time they logged in (and I can imagine some scenarios), I don't see why this should be a problem or prevented by Autoactions.
Documentation has nothing to do with it. I'm not going to document what every action does with every little IF condition, sorry. CB Auto Actions is a tool. Its documentation will consist on how to use said tool. It's not going to transcribe its PHP to you.3. Better documentation would help a lot here. A subscriber with a current subscription can renew herself, so why would this not work with AutoActions?
Modify the below action or use Code action with PHP method to execute CBSubs API.4. How do I remove the check "Renewal: Current subscription can not be active"? Or, instead, how can I use a different AutoAction (code?) to achieve the same thing?
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
It would be a bug as a result of badly though-out programming. I implemented the hard condition as a safe guard against poor auto action usage, but it's really unnecessary. It should mimic backend user edit subscription tab behaviors as close as possible. So you're absolutely not wrong that it needs work. I apologize for coming off a bit strong.3. I'm trying hard not to read your comment as condescending - but I do not agree with what you say. Really, given that the command "renew" works for an active subscriber in EVERY other context (- for that same user via the front end, and also for an admin - ) I think that if you are going to deliberately impose conditions that make it impossible to renew this SAME user within AutoActions then it is reasonable to expect a note about it. I've been managing Joomla websites for more than a decade, and usually if I have to try to decipher the php to figure out why something that seems obvious in the component is not working, to me that is a bug or badly thought-out programming. While sometimes it is my inadequacy, in this case I don't believe so:
On line 58 is where it begins the switch case for the modes. The cases translate as follows.***If you have a moment I would be *extremely* grateful if you could tell me which line needs editing and how***, as I've been trying to find a workaround for this issue for days and am now way past my deadline and at my wits end.
Please Log in or Create an account to join the conversation.