Skip to Content Skip to Menu

[SOLVED] Family subscriptions with CBSubs and AutoActions

  • OldLodgeSkins
  • OldLodgeSkins
  • OFFLINE
  • Posts: 119
  • Thanks: 5
  • Karma: 2
  • Add-ons
10 years 10 months ago - 10 years 10 months ago #238791 by OldLodgeSkins
What about onCPayAfterPaymentBasketUpdated?
The history log shows "Updating payment basket status: Completed", could this be used instead?

Edit: forget it... It's being executed too soon.
Last edit: 10 years 10 months ago by OldLodgeSkins.

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

  • OldLodgeSkins
  • OldLodgeSkins
  • OFFLINE
  • Posts: 119
  • Thanks: 5
  • Karma: 2
  • Add-ons
10 years 10 months ago #238792 by OldLodgeSkins
I've tried onCPayUserStateChange with no conditions.
In that case it should trigger on all transactions, right?
I logged out and created a new account... The action wasn't executed.
I'm really wondering why...

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

  • OldLodgeSkins
  • OldLodgeSkins
  • OFFLINE
  • Posts: 119
  • Thanks: 5
  • Karma: 2
  • Add-ons
10 years 10 months ago #238793 by OldLodgeSkins
It seems it did fire when creating an account with another browser... I may just have a cache / cookies issue. Is that possible?
I'll put the conditions back in and see what happens.

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

  • OldLodgeSkins
  • OldLodgeSkins
  • OFFLINE
  • Posts: 119
  • Thanks: 5
  • Karma: 2
  • Add-ons
10 years 10 months ago #238794 by OldLodgeSkins
With or without the conditions, on that particular plan, the action isn't executed.
Could it be the plan itself, or the fact that I am logged in with an active subscription?

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48477
  • Thanks: 8281
  • Karma: 1443
10 years 10 months ago #238798 by krileon
It depends, is the plan a subscription plan or a merchandise plan. I don't really know what to tell you. Most of the integrations are using that trigger. If it's not firing then either plugins are not being loaded in whatever situation your site is in at the time or there's something wrong with the usage. You really should be creating new CB Plugins for PHP usages. CB Auto Actions CAN do PHP usages, but I highly recommend not doing so unless it's an absolute last resort; you should create a new CBSubs plugin (review existing CBSubs plugins) to specifically and correctly do what you need.


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.

  • OldLodgeSkins
  • OldLodgeSkins
  • OFFLINE
  • Posts: 119
  • Thanks: 5
  • Karma: 2
  • Add-ons
10 years 10 months ago #238800 by OldLodgeSkins
It's a merchandise... But now that you make me think about it maybe I should try to make this with a subscription.
If I felt capable of creating a CBSubs plugin properly I'd have already tried... But I've never even made just a Joomla plugin.

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

Moderators: beatnantkrileon
Powered by Kunena Forum