We have integrated Chargify in one of our web application for recurring subscription payments. Recently we observed that few of our test users, that are more than 6 months old, are unable to login in our staging site, which is connected to Chargify TEST Mode.

We noticed that auto cancellations are happening (once a day) for these users in their Chargify subscription records. This was a strange behaviour. We thought either this is happening due to our Dunning settings in Chargify or due to unpaid state changes for credit card expiry. After debugging and verifying everything in our Chargify settings, we came to conclusion that this must be happening due to a background job which is marking these subscriptions as canceled. We also stumbled upon one of the other subscription in Chargify that was marked canceled with message as

Reason/Message: Test site subscription lifetime exceeded on 02/06/2015

Then we thought to search about this message Test site subscription lifetime exceeded to find out if other folks are facing similar issues. And the very first result in Google search brought us to this message posted by Chargify team themselves :)

CANCELING OLD TEST SUBSCRIPTIONS

We're going to start automatically canceling older TEST site subscriptions on a nightly basis. This will only affect subscriptions belonging to TEST sites, and only those that are more than 6 months old. Subscriptions belonging to a live site and/or those that are less than 6 months old will not be affected.  Canceled subscriptions will have a cancellation message reading, "Test site subscription lifetime exceeded on xx/xx/xxxx."

Reference: https://chargify.zendesk.com/hc/en-us/articles/202803114--2011-12-12-Nightly-test-subscription-cancellation