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
How are expired subscriptions handled?
Re: How are expired subscriptions handled?
The subscription and recurring order management code is in CommerceBuilder.Services.Scheduler.RecurringOrdersService.cs class.
Thanks for your support
Naveed Ashraf
.com
AbleCommerce Help Center
AbleCommerce Developer WIKI
Follow us on Twitter
Naveed Ashraf

AbleCommerce Help Center
AbleCommerce Developer WIKI
Follow us on Twitter
Re: How are expired subscriptions handled?
Thank you. So I see that it does delete expired subscriptions. Is there a setting to disable that?
May
Re: How are expired subscriptions handled?
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
http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support
Re: How are expired subscriptions handled?
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
but I don't see where it is deleted. Where is that code? Thank you.
ETA - I found it. CommerceBuilder.Services MaintenanceWorker MaintainSubscriptions
May