Time Machine is an imitation feature that gives a birds-eye view on how billing configurations in Chargebee work. This feature allows you to test and understand how the configured features in your test site work in real-time.
Assume you want to test how a subscription gets reactivated without corresponding successful payment. To do this,
Log in to your test-account and then go into Chargebee's time machine.
Make sure you take a back-up of the customer data and the related subscriptions as all the data gets erased when you enter the time machine.
Once you enter the time machine, create a subscription with a valid card, and set the dunning settings according to your preference.
Once the subscription is created, the Invoice will be generated and will be marked as paid.
Update the card to an invalid card and slide ahead in time by 4 months so that payment fails and the dunning attempts are exhausted.
Since the dunning attempts are exhausted, the subscription will be canceled and the invoice will be marked as not paid. You can also see in the customer's section that the "Total amount due" will be updated.
Add a valid card to the customer and slide ahead in time by a month or two, you can see that subsequent invoices are marked paid, whereas the "total amount due" stays as it is. Hence this amount needs to be collected manually.
Related Articles and Documentation