[SOLVED] Unsubscribe from Plan A if upgraded to Plan B

9 years 3 months ago #256609 by krileon
Replied by krileon on topic Unsubscribe from Plan A if upgraded to Plan B
It should be setup to activate when your paid plan becomes active. However, the API may not return the free lifetime plan as being subscribed so I'm not entirely sure even this will work. All the var2 statuses are as follows.

A = Active
R = Registered Unpaid
X = Expired
C = Unsubscribed
U = Upgraded to other
I = Invalid

So you may actually be able to use U (upgraded to other) and have the action target your free lifetime plan id.


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 to join the conversation.

9 years 3 months ago - 9 years 3 months ago #256694 by mctrading
Hello Kyle,

for some reason the auto-action was not working for me. Unsubscribing of the paid plan in the backend started the trigger and unsubscribed the free plan also. But if i let the paid plan normal expire then the debug says that condition 1 failed.

Now i have solved this problem with sql query for the paid plan.

Thank you for your help!!!

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.767 seconds

Facebook Twitter LinkedIn