Skip to Content Skip to Menu

Auto renew - will this work ?

  • rbuelund
  • rbuelund
  • ONLINE
  • Posts: 636
  • Thanks: 43
  • Karma: 4
  • Add-ons
1 day 59 minutes ago #343489 by rbuelund
Auto renew - will this work ? was created by rbuelund
I have a plan in CBSubs with yearly subscription. The subscription can be renewed manually by paying, but should also renew automatically if it has run out, and the user then buys a product on the site.
In an auto action i use the trigger joomla_onAfterPaymentSuccess - this triggers a renewal if [var1_total_amount] != 0 (free products do not give renewal) and if the subscription status is Expired or Unsubscriped.
I do not know if the last condition allready is changeed when the trigger for the auto action fires ? Then it is worthless.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 50234
  • Thanks: 8598
  • Karma: 1470
2 hours 4 minutes ago #343491 by krileon
Replied by krileon on topic Auto renew - will this work ?

but should also renew automatically if it has run out, and the user then buys a product on the site.

I'm sorry I'm not understanding what you mean by this. So they manually subscribe to Plan A, but if they buy Plan B (a product) then that also renews Plan A? Is that what you're trying to accomplish?

joomla_onAfterPaymentSuccess would be a Joomla event. So I've no clue what that extension that event even is for. I couldn't tell you what happens during that event.

I do not know if the last condition allready is changeed when the trigger for the auto action fires ? Then it is worthless.

The subscription conditions in CB Auto Actions are live checks. So it will check in the very moment that condition is ran the subscription status.


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.

  • rbuelund
  • rbuelund
  • ONLINE
  • Posts: 636
  • Thanks: 43
  • Karma: 4
  • Add-ons
2 hours 1 minute ago #343492 by rbuelund
Replied by rbuelund on topic Auto renew - will this work ?
Sorry - I got confused myself. I think it works as it should. When a subscription has expired, then if a user buys a product through Events Calendar (thus the joomla trigger) - then the subscription is renewed.
The following user(s) said Thank You: krileon

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

Moderators: beatnantkrileon
Powered by Kunena Forum