Subscription payment holiday / additional validity

4 years 4 weeks ago #317308 by cliffvt
With Covid-19 and lockdown in place, we want to extend all subscriptions for 3 months free of charge - not keen to it via MySql - have you guys perhaps written a utility for this or is there an easy way to do this please?

thx

Please Log in to join the conversation.

4 years 4 weeks ago #317310 by krileon
Are they auto recurring or manual renewals? You won't be able to do this for auto recurring since those payments will still be pulled by the payment gateway. If they're manual renewals I'd just edit the database and push their expiration dates, manually renew them by editing them in CB > User Management if your plan allows renewals in advance, or edit the subscriptions within CBSubs > Subscriptions by clicking the # under the Id column and modifying their expiration date.


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.

4 years 4 weeks ago #317328 by cliffvt
Kyle, yes they are a mixture of manual and recurring. The problem is that i just cannot process over 1,000 subs manually! SQL is such a risky way too, would be a nice utility to build when you have time - we have had to suspend all gatherings to which these plans give people access so a bit of a bother and we want to do the right thing..

Please Log in to join the conversation.

4 years 4 weeks ago #317337 by krileon
It's possible we'll have a batch tool to modify subscriptions in mass in the future, but there's no plans at this time. For the manual renewing subscriptions you can use the below query to increment their expiration dates to extend their subscriptions. Be sure to make a backup of your database before doing this just to be safe.

UPDATE `jos_cbsubs_subscriptions` SET `expiry_date` = DATE_ADD( `expiry_date`, INTERVAL 3 MONTH ) WHERE `status` = 'A' AND `plan_id` = PLAN_ID_HERE AND `autorecurring_type` = 0

Replace PLAN_ID_HERE with the actual ID of your plan. The autorecurring type check will cause this to only apply to manually renewing subscriptions. It will also only apply to already active subscriptions. This should add 3 months to their expiration date. I've tested this locally to be sure it functions to be safe and have confirmed it works.

There's nothing you can do about auto recurring subscriptions except cancel them. We've no functionality to pause subscriptions and most gateways have no such functionality. You could extend their subscription dates, but that won't stop them from being billed on the next renewal.


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.

Moderators: beatnantkrileon
Time to create page: 0.218 seconds

Facebook Twitter LinkedIn