How are expired subscriptions handled?

For general questions and discussions specific to the AbleCommerce GOLD ASP.Net shopping cart software.
Post Reply
mbartens
Lieutenant Commander (LCDR)
Lieutenant Commander (LCDR)
Posts: 107
Joined: Mon Mar 09, 2015 3:34 am

How are expired subscriptions handled?

Post by mbartens » Wed May 06, 2015 3:08 am

I have the site set up so you can purchase a subscription product and that product is actually a membership to the site which will allow you to get certain discounts and special products.
That part is working great.

What happens when a subscription expires? I did a test on the ac_Subscriptions table where I changed the expiration date to yesterday... I believe the row was then deleted. Am I losing it?
Where is the code that does that? Thanks
May

User avatar
Naveed
Rear Admiral (RADM)
Rear Admiral (RADM)
Posts: 611
Joined: Thu Apr 03, 2008 4:48 am

Re: How are expired subscriptions handled?

Post by Naveed » Wed May 06, 2015 3:45 am

The subscription and recurring order management code is in CommerceBuilder.Services.Scheduler.RecurringOrdersService.cs class.

mbartens
Lieutenant Commander (LCDR)
Lieutenant Commander (LCDR)
Posts: 107
Joined: Mon Mar 09, 2015 3:34 am

Re: How are expired subscriptions handled?

Post by mbartens » Wed May 06, 2015 8:05 am

Thank you. So I see that it does delete expired subscriptions. Is there a setting to disable that?
May

User avatar
Katie
AbleCommerce Admin
AbleCommerce Admin
Posts: 2651
Joined: Tue Dec 02, 2003 1:54 am
Contact:

Re: How are expired subscriptions handled?

Post by Katie » Wed May 06, 2015 11:11 am

No, there is no setting to disable this, but it certainly seems like there should be something under the Store > Maintenance page. I'll suggest that this gets added.
Thank you for choosing AbleCommerce!

http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support

mbartens
Lieutenant Commander (LCDR)
Lieutenant Commander (LCDR)
Posts: 107
Joined: Mon Mar 09, 2015 3:34 am

Re: How are expired subscriptions handled?

Post by mbartens » Thu May 07, 2015 2:26 am

So I definitely need to disable the deletion of expired subscriptions. I see this -->ProcessExpiredSubscriptions
but I don't see where it is deleted. Where is that code? Thank you.


ETA - I found it. CommerceBuilder.Services MaintenanceWorker MaintainSubscriptions
May

Post Reply