Expired subscriptions do not auto-remove from assigned group

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

Expired subscriptions do not auto-remove from assigned group

Post by AbleMods » Wed Mar 24, 2010 7:50 am

A client of mine tested subscriptions this week for us. He created a 1-day subscription and then bought the product. The user was confirmed as being auto-added to the group after the purchase. 36 hours later, he checked the security group again.....

The good news: When you create a subscription, you can designate a group assignment for the user when the product is purchased. This works great.

The bad news: The user is never removed from that group once the subscription expires.

Ideally, there should be two groups assignable on the subscription. One for when the subscription is active, the other for when the subscription is expired. Otherwise, having both active and expired subscribers in the same group offers very little in the way of usefulness. From a data perspective, I'll always have to check the subscription itself as I cannot depend on group membership alone to determine status.

We can't use the group for email marketing - it's got both active and expired subscriptions. We can't use it control access to subscription-based pages in the store. Same reason.

The back-end processes need a routine to purge expired subscriptions from the subscription groups.

If we had two groups, we could leverage both extensively for both access control and marketing purposes.
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: Expired subscriptions do not auto-remove from assigned group

Post by mazhar » Wed Mar 24, 2010 9:57 am

This is been logged , you can track progress on this here
http://bugs.ablecommerce.com/show_bug.cgi?id=8831

User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

Re: Expired subscriptions do not auto-remove from assigned group

Post by AbleMods » Wed Mar 24, 2010 10:06 am

Thx
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com

User avatar
Logan Rhodehamel
Developer
Developer
Posts: 4116
Joined: Wed Dec 10, 2003 5:26 pm

Re: Expired subscriptions do not auto-remove from assigned group

Post by Logan Rhodehamel » Wed Mar 24, 2010 10:24 am

Can you confirm the version of AbleCommerce being used by the client?
Cheers,
Logan
Image.com

If I do not respond to an unsolicited private message, it's not because I'm ignoring you. It's because the answer to your question is valuable to others. Try the new topic button.

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

Re: Expired subscriptions do not auto-remove from assigned group

Post by Katie » Wed Mar 24, 2010 10:36 am

Can we get the build of AbleCommerce you are using? I'm almost certain this is a feature that works.

Thanks
Thank you for choosing AbleCommerce!

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

User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

Re: Expired subscriptions do not auto-remove from assigned group

Post by AbleMods » Wed Mar 24, 2010 11:08 am

AbleCommerce for ASP.NET
VERSION: 7.0.4.13424
MSSQL v2005
AC SCHEMA v2005
ASP.NET TRUST: Medium
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com

User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

Re: Expired subscriptions do not auto-remove from assigned group

Post by AbleMods » Fri Mar 26, 2010 8:01 am

Any luck testing this out?
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com

User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

Re: Expired subscriptions do not auto-remove from assigned group

Post by AbleMods » Sat Mar 27, 2010 9:20 am

Ok, some new information:

1. The group assignment is removed. Eventually. We don't know exactly when. What's the trigger to fire that maintenance routine and what's the maintenance routine criteria? We happened to check the group a few days after it should have already been removed and it was now gone.

2. A 1-day subscription is definitely NOT 1 day. It appears to be solely date-based without consideration for time. So if a customer buys a 1-day subscription at 12:00pm Monday, it appears their subscription will be valid for 36 hours instead of 24 hours. Can anyone at Able confirm this?
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com

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

Re: Expired subscriptions do not auto-remove from assigned group

Post by Katie » Tue Mar 30, 2010 9:24 am

I remember now that the daily subscriptions were a bit tricky. It has to do with the maintenance routine and that it runs once a day.
So what we found during testing, was that you could purchase a subscription, say 12 hours before maintenance is run, and that it expired the sub/group before the user had been given a full 24 hours. We made some adjustments to make sure this didn't happen.

Details are in a couple of the 7.0.4 bug reports -

ID 8314 - Subscriptions should expire at the end of the day
ID 8566 - Subscriptions should be active through the day of expiration

Unless something new has been reported, I do believe this is working as designed.
Thank you for choosing AbleCommerce!

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

User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

Re: Expired subscriptions do not auto-remove from assigned group

Post by AbleMods » Thu Apr 01, 2010 2:31 pm

Ok thanks Katie - sounds like the same issue and sounds like you guys already know about.
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com

Post Reply